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.

45 lines
1.2 KiB

  1. /*===================================================================
  2. Microsoft Denali
  3. Microsoft Confidential.
  4. Copyright 1996 Microsoft Corporation. All Rights Reserved.
  5. Component: NT Event logging
  6. File: eventlog.h
  7. Owner: jhittle
  8. This is the header file for eventlog.cpp
  9. ===================================================================*/
  10. #ifndef EVENTLOG_H
  11. #define EVENTLOG_H
  12. #define MAX_MSG_LENGTH 512
  13. #define MSG_ID_MASK 0x0000FFFF
  14. #define MAX_INSERT_STRS 8
  15. STDAPI RegisterEventLog( void );
  16. STDAPI UnRegisterEventLog( void );
  17. STDAPI ReportAnEvent(DWORD dwIdEvent, WORD wEventlog_Type, WORD cStrings, LPCSTR *pszStrings);
  18. extern void MSG_DenaliStarted(void);
  19. extern void MSG_DenaliStoped(void);
  20. extern void MSG_Error( LPCSTR );
  21. extern void MSG_Error( UINT );
  22. extern void MSG_Error( UINT, UINT );
  23. extern void MSG_Error( UINT, UINT UINT );
  24. extern void MSG_Error( UINT, UINT, UINT, UINT );
  25. extern void MSG_Warning( LPCSTR );
  26. extern void MSG_Warning( UINT );
  27. extern void MSG_Warning( UINT, UINT );
  28. extern void MSG_Warning( UINT, UINT, UINT );
  29. extern void MSG_Warning( UINT, UINT, UINT, UINT );
  30. extern void MSG_Warning( UINT, UINT, CHAR **);
  31. // support function
  32. //extern void queryEventLog(void);
  33. #endif //EVENTLOG_H