Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
516 B

/*
* DEBUG.H
*
* RSM Service : Debug code
*
* Author: ErvinP
*
* (c) 2001 Microsoft Corporation
*
*/
#if DEBUG
#define ASSERT(fact) { if (!(fact)) MessageBox(NULL, (LPSTR)#fact, (LPSTR)"NTMSSVC assertion failed", MB_OK); }
#define DBGERR(args_in_parens) // BUGBUG FINISH
#define DBGWARN(args_in_parens) // BUGBUG FINISH
#else
#define ASSERT(fact)
#define DBGERR(args_in_parens)
#define DBGWARN(args_in_parens)
#endif