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.
 
 
 
 
 
 

59 lines
901 B

/*++
Copyright (c) 2000 Microsoft Corporation
Module Name:
debug.hxx
Abstract:
This file header contains prototypes for debug routines to
debug extenstion problems.
Author:
JasonHa
--*/
#ifndef _DEBUG_HXX_
#define _DEBUG_HXX_
#include <wdbgexts.h>
#if DBG
extern const char NoIndent[];
void
vPrintNativeFieldInfo(
PFIELD_INFO pFI,
const char *pszIndent = NoIndent);
void
vPrintNativeSymDumpParam(
PSYM_DUMP_PARAM pSDP,
BOOL bDumpFields = TRUE,
const char *pszIndent = NoIndent);
#define RIP(msg) \
do { \
DbgPrint(msg); \
DbgBreakPoint(); \
} while (0)
#else
// Disable DbgPrint from NT RTL
#define DbgPrint
#define RIP(msg)
#define vPrintNativeFieldInfo
#define vPrintNativeSymDumpParam
#endif DBG
#endif _DEBUG_HXX_