Note:
The Event Logging API was designed for applications that run on the Windows Server 2003, Windows XP, or Windows 2000 operating system. In Windows Vista, the event logging infrastructure was redesigned. Applications that are designed to run on the Windows Vista or later operating systems should now use Windows Event Log.
Applications can use the Event Logging API to report and view events. For details on reporting events, see Reporting Events.
To view events that have been written to log files, see Querying for Event Source Messages and Receiving Event Notification. You can also use the Event Viewer to view events.
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
