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.

53 lines
697 B

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. debug.c
  5. Abstract:
  6. Various helpful debugging functions
  7. Author:
  8. Based on code by Mike Tsang (MikeTs)
  9. Stephane Plante (Splante)
  10. Environment:
  11. User mode only
  12. Revision History:
  13. --*/
  14. #ifndef _DEBUG_H_
  15. #define _DEBUG_H_
  16. #ifdef DBG
  17. #define ENTER(x) DebugEnterProcedure x
  18. #define EXIT(x) DebugExitProcedure x
  19. #else
  20. #define ENTER(x)
  21. #define EXIT(x)
  22. #endif
  23. VOID
  24. CDECL
  25. DebugEnterProcedure(
  26. ULONG VerbosityLevel,
  27. PCCHAR Format,
  28. ...
  29. );
  30. VOID
  31. CDECL
  32. DebugExitProcedure(
  33. ULONG VerbosityLevel,
  34. PCCHAR Format,
  35. ...
  36. );
  37. #endif