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.

64 lines
766 B

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. kmfuncs.c
  5. Abstract:
  6. Kernel-mode specific library functions
  7. Environment:
  8. Fax driver, kernel mode
  9. Revision History:
  10. 01/09/96 -davidx-
  11. Created it.
  12. mm/dd/yy -author-
  13. description
  14. --*/
  15. #include "faxlib.h"
  16. #if DBG
  17. //
  18. // Variable to control the amount of debug messages generated
  19. //
  20. INT _debugLevel = 0;
  21. #ifndef USERMODE_DRIVER
  22. //
  23. // Functions for outputting debug messages
  24. //
  25. ULONG __cdecl
  26. DbgPrint(
  27. CHAR * format,
  28. ...
  29. )
  30. {
  31. va_list ap;
  32. va_start(ap, format);
  33. EngDebugPrint("", format, ap);
  34. va_end(ap);
  35. return 0;
  36. }
  37. #endif // !USERMODE_DRIVER
  38. #endif // DBG