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.
41 lines
616 B
41 lines
616 B
/*++
|
|
|
|
Module Name:
|
|
|
|
ntapmdbg.h
|
|
|
|
Abstract:
|
|
|
|
Basic debug print support with granular control
|
|
|
|
Author:
|
|
|
|
Environment:
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
|
|
extern ULONG NtApmDebugFlag;
|
|
|
|
#if DBG
|
|
#define DrDebug(LEVEL,STRING) \
|
|
do { \
|
|
if (NtApmDebugFlag & LEVEL) { \
|
|
DbgPrint STRING; \
|
|
} \
|
|
} while (0)
|
|
#else
|
|
#define DrDebug(x,y)
|
|
#endif
|
|
|
|
#define SYS_INFO 0x0001
|
|
#define SYS_INIT 0x0002
|
|
#define SYS_L2 0x0004
|
|
|
|
#define APM_INFO 0x0010
|
|
#define APM_L2 0x0020
|
|
|
|
#define PNP_INFO 0x0100
|
|
#define PNP_L2 0x0200
|
|
|