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.

25 lines
616 B

  1. //***************************************************************************
  2. //
  3. // debug.CPP
  4. //
  5. // Module: CDM Provider
  6. //
  7. // Purpose: Debugging routines
  8. //
  9. // Copyright (c) 2000 Microsoft Corporation
  10. //
  11. //***************************************************************************
  12. #ifdef DBG
  13. void __cdecl DebugOut(char *Format, ...);
  14. #define WmipDebugPrint(_x_) { DebugOut _x_; }
  15. #define WmipAssert(x) if (! (x) ) { \
  16. WmipDebugPrint(("CDMPROV Assertion: "#x" at %s %d\n", __FILE__, __LINE__)); \
  17. DebugBreak(); }
  18. #else
  19. #define WmipDebugPrint(x)
  20. #define WmipAssert(x)
  21. #endif