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.

48 lines
518 B

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. dbg.h
  5. Abstract:
  6. debug macros for usbdlib
  7. Environment:
  8. Kernel & user mode
  9. Revision History:
  10. 10-31-00 : created
  11. --*/
  12. #ifndef __DBG_H__
  13. #define __DBG_H__
  14. #if DBG
  15. ULONG
  16. _cdecl
  17. USB2LIB_KdPrintX(
  18. PCH Format,
  19. ...
  20. );
  21. #define TEST_TRAP() LibData.DbgBreak()
  22. #define DBGPRINT(_x_) USB2LIB_KdPrintX _x_
  23. #else
  24. #define TEST_TRAP()
  25. #define DBGPRINT(_x_)
  26. #endif /* DBG */
  27. #endif /* __DBG_H__ */