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.

61 lines
795 B

  1. /*++
  2. Copyright (c) 1998-2000 Microsoft Corporation
  3. Module Name:
  4. debug.c
  5. Abstract:
  6. Debug infrastructure for this component.
  7. (currently inactive)
  8. Author:
  9. Jim Cavalaris (jamesca) 07-Mar-2000
  10. Environment:
  11. User-mode only.
  12. Revision History:
  13. 07-March-2000 jamesca
  14. Creation and initial implementation.
  15. --*/
  16. //
  17. // includes
  18. //
  19. #include "precomp.h"
  20. #include "debug.h"
  21. //
  22. // debug infrastructure
  23. // (currently removed)
  24. //
  25. #if 0 //#if DBG // DBG
  26. VOID
  27. DebugMessage(LPTSTR format, ... )
  28. {
  29. va_list args;
  30. va_start(args, format);
  31. _vtprintf(format, args);
  32. }
  33. // flags currently defined for use by debug.h:
  34. // DBGF_ERRORS, DBGF_WARNINGS, DBGF_REGISTRY, DBGF_INFO
  35. DWORD g_DebugFlag = DBGF_WARNINGS | DBGF_ERRORS | DBGF_INFO;
  36. #endif // DBG
  37.