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.

39 lines
783 B

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1996 - 1999
  5. //
  6. // File: elog.cpp
  7. //
  8. // Contents: Event log helper functions
  9. //
  10. // History: 02-Jan-97 terences created
  11. //
  12. //---------------------------------------------------------------------------
  13. HRESULT
  14. LogEvent(
  15. DWORD dwEventType,
  16. DWORD dwIdEvent,
  17. WORD cStrings,
  18. WCHAR const **pszStrings);
  19. HRESULT
  20. LogEventHResult(
  21. DWORD dwEventType,
  22. DWORD dwIdEvent,
  23. HRESULT hr);
  24. HRESULT
  25. LogEventString(
  26. DWORD dwEventType,
  27. DWORD dwIdEvent,
  28. WCHAR const *pwszString);
  29. HRESULT
  30. LogEventStringHResult(
  31. DWORD dwEventType,
  32. DWORD dwIdEvent,
  33. WCHAR const *pwszString,
  34. HRESULT hr);