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.

43 lines
941 B

  1. #ifndef _DEBUG_H
  2. #define _DEBUG_H
  3. #ifdef DBG
  4. //
  5. // Standard output levels
  6. //
  7. #define SOFTPCI_ERROR DPFLTR_ERROR_LEVEL //0
  8. #define SOFTPCI_WARNING DPFLTR_WARNING_LEVEL //1
  9. #define SOFTPCI_VERBOSE DPFLTR_TRACE_LEVEL //2
  10. #define SOFTPCI_INFO DPFLTR_INFO_LEVEL //3
  11. //
  12. // SoftPci Specific output levels
  13. //
  14. #define SOFTPCI_IRP_PNP 0x00000010
  15. #define SOFTPCI_FDO_PO 0x00000020
  16. #define SOFTPCI_ADD_DEVICE 0x00000040
  17. #define SOFTPCI_FIND_DEVICE 0x00000080
  18. #define SOFTPCI_REMOVE_DEVICE 0x00000100
  19. #define SOFTPCI_QUERY_CAP 0x00000200
  20. #define SOFTPCI_BUS_NUM 0x00000400
  21. #define SOFTPCI_IOCTL_LEVEL 0x00000800
  22. #define SOFTPCI_DEBUG_BUFFER_SIZE 256
  23. VOID
  24. SoftPCIDbgPrint(
  25. IN ULONG DebugPrintLevel,
  26. IN PCCHAR DebugMessage,
  27. ...
  28. );
  29. #else
  30. #define SoftPCIDbgPrint()
  31. #endif //DBG
  32. #endif //_DEBUG_H