9369ef89e25df558452e13c9f701dcad05944337
1 extern void dprintf(char* fmt
,...);
3 #define UNIMPLEMENTED dprintf("%s in %s:%d is unimplemented\n",__FUNCTION__,__FILE__,__LINE__);
6 #define DPRINT(args...)
8 #define DPRINT(args...) do { dprintf("(NTDLL:%s:%d) ",__FILE__,__LINE__); dprintf(args); } while(0);
11 #define ROUNDUP(a,b) ((((a)+(b)-1)/(b))*(b))
12 #define ROUNDDOWN(a,b) (((a)/(b))*(b))
14 #define MAGIC(c1,c2,c3,c4) ((c1) + ((c2)<<8) + ((c3)<<16) + ((c4)<<24))
16 #define MAGIC_HEAP MAGIC( 'H','E','A','P' )