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.

41 lines
616 B

  1. /*++
  2. Module Name:
  3. ntapmdbg.h
  4. Abstract:
  5. Basic debug print support with granular control
  6. Author:
  7. Environment:
  8. Revision History:
  9. --*/
  10. extern ULONG NtApmDebugFlag;
  11. #if DBG
  12. #define DrDebug(LEVEL,STRING) \
  13. do { \
  14. if (NtApmDebugFlag & LEVEL) { \
  15. DbgPrint STRING; \
  16. } \
  17. } while (0)
  18. #else
  19. #define DrDebug(x,y)
  20. #endif
  21. #define SYS_INFO 0x0001
  22. #define SYS_INIT 0x0002
  23. #define SYS_L2 0x0004
  24. #define APM_INFO 0x0010
  25. #define APM_L2 0x0020
  26. #define PNP_INFO 0x0100
  27. #define PNP_L2 0x0200