Source code of Windows XP (NT5)
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.
|
|
/****************************************************************************
Copyright (c) 1998-1999 Microsoft Corporation Module Name: debug.h Abstract: Debug routines Author: radus - 11/05/98 ****************************************************************************/
#if DBG
#define DBGOUT(arg) LibDbgPrt arg
#define assert(condition) if(condition);else \
{ DebugAssertFailure (_T(__FILE__), __LINE__, _T(#condition)); }
void LibDbgPrt( DWORD dwDbgLevel, PSTR DbgMessage, ... );
void DebugAssertFailure (LPCTSTR file, DWORD line, LPCTSTR condition);
#else // DBG
#define DBGOUT(_x_)
#define assert(condition)
#endif // DBG
#define EXIT_IF_DWERROR() \
if(dwError !=ERROR_SUCCESS) \ { \ goto forced_exit; \ }
|