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.

31 lines
760 B

  1. //+----------------------------------------------------------------------------
  2. //
  3. // Copyright (C) 1992, Microsoft Corporation
  4. //
  5. // File: log.h
  6. //
  7. // Contents: Module to log messages from the driver to the NT event logging
  8. // system.
  9. //
  10. // Classes:
  11. //
  12. // Functions: LogWriteMessage()
  13. //
  14. // History: 3/30/93 Milans created
  15. // 04/18/93 SudK Changed this function entirely.
  16. //
  17. //-----------------------------------------------------------------------------
  18. #ifndef _LOG_H_
  19. #define _LOG_H_
  20. #define EVENT_SUCCESSFUL_INIT 0
  21. #define EVENT_RANDOM_ERROR 1
  22. VOID LogWriteMessage(
  23. IN ULONG UniqueErrorCode,
  24. IN NTSTATUS NtStatusCode,
  25. IN ULONG nStrings,
  26. IN PUNICODE_STRING pustrArg OPTIONAL);
  27. #endif // _LOG_H_