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.

87 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. All rights reserved
  4. Module Name:
  5. output.hxx
  6. Abstract:
  7. output
  8. Author:
  9. Larry Zhu (LZhu) Junary 1, 2002 Created
  10. Environment:
  11. User Mode -Win32
  12. Revision History:
  13. --*/
  14. #ifndef OUTPUT_HXX
  15. #define OUTPUT_HXX
  16. #define SSPI_NONE 0x00
  17. #define SSPI_WARN 0x01
  18. #define SSPI_ERROR 0x02
  19. #define SSPI_LOG 0x04
  20. #define SSPI_LOG_MORE 0x08
  21. #define SSPI_MSG 0x10
  22. VOID
  23. DebugPrintHex(
  24. IN ULONG ulLevel,
  25. IN OPTIONAL PCSTR pszBanner,
  26. IN ULONG cbBuffer,
  27. IN const VOID* pvbuffer
  28. );
  29. VOID
  30. DebugPrintf(
  31. IN ULONG ulLevel,
  32. IN PCSTR pszFmt,
  33. IN ...
  34. );
  35. PCSTR
  36. DebugLevel2Str(
  37. IN ULONG ulLevel
  38. );
  39. VOID
  40. VOutputDebugStringPrintf(
  41. IN OPTIONAL PCSTR pszBanner,
  42. IN PCSTR pszFmt,
  43. IN va_list pArgs
  44. );
  45. VOID
  46. OutputDebugStringPrintf(
  47. IN OPTIONAL PCSTR pszBanner,
  48. IN PCSTR pszFmt,
  49. IN ...
  50. );
  51. VOID
  52. DebugLogOpen(
  53. IN PCSTR pszPrompt,
  54. IN ULONG ulMask
  55. );
  56. VOID
  57. DebugLogOpenSerialized(
  58. IN PCSTR pszPrompt,
  59. IN ULONG ulMask,
  60. IN PCRITICAL_SECTION pCriticalSection
  61. );
  62. VOID
  63. DebugLogClose(
  64. VOID
  65. );
  66. #endif // #ifndef OUTPUT_HXX