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.

59 lines
815 B

  1. /*++
  2. Copyright (c) 1998-1999 Microsoft Corporation
  3. All rights reserved.
  4. Module Name:
  5. dbginit.hxx
  6. Abstract:
  7. Debug initlaization header file
  8. Author:
  9. Steve Kiraly (SteveKi) 24-May-1998
  10. Revision History:
  11. --*/
  12. #ifndef _DBGINIT_HXX_
  13. #define _DBGINIT_HXX_
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. VOID
  18. DebugLibraryInitialize(
  19. VOID
  20. );
  21. VOID
  22. DebugLibraryRelease(
  23. VOID
  24. );
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28. /********************************************************************
  29. Debug message macros.
  30. ********************************************************************/
  31. #if DBG
  32. #define DBG_INIT() DebugLibraryInitialize();
  33. #define DBG_RELEASE() DebugLibraryRelease();
  34. #else
  35. #define DBG_INIT() // Empty
  36. #define DBG_RELEASE() // Empty
  37. #endif // DBG
  38. #endif // _DBGINIT_HXX_