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.

32 lines
681 B

  1. /***************************************************************************\
  2. *
  3. * *******************
  4. * * GDI SAMPLE CODE *
  5. * *******************
  6. *
  7. * Module Name: debug.h
  8. *
  9. * Commonly used debugging macros.
  10. *
  11. * Copyright (c) 1992-1998 Microsoft Corporation
  12. \***************************************************************************/
  13. #if DBG
  14. VOID
  15. DebugPrint(
  16. ULONG DebugPrintLevel,
  17. PCHAR DebugMessage,
  18. ...
  19. );
  20. #define DISPDBG(arg) DebugPrint arg
  21. #define RIP(x) { DebugPrint(0, x); EngDebugBreak();}
  22. #else
  23. #define DISPDBG(arg)
  24. #define RIP(x)
  25. #endif