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.

38 lines
776 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1992.
  5. //
  6. // File: debug.hxx
  7. //
  8. // Contents: debug related definitions
  9. //
  10. // History: 15-Jul-92 PeterWi Created
  11. //
  12. //--------------------------------------------------------------------------
  13. #include <debnot.h>
  14. #define FAILURE_FAILURE ~(S_OK)
  15. #define CRED_ERROR DEB_ERROR
  16. #define CRED_WARN DEB_WARN
  17. #define CRED_TRACE DEB_TRACE
  18. #define CRED_API (CRED_TRACE<<1)
  19. #define CRED_FUNC (CRED_API<<1)
  20. #if (!(DBG || defined(ANYSTRICT)))
  21. #define vdprintf(x,y,z)
  22. #endif
  23. #if DBG == 1
  24. DECLARE_DEBUG(CRED);
  25. #define DebugOut(x) CREDInlineDebugOut x
  26. #else
  27. #define DebugOut(x)
  28. #endif