The Event Log component is a dynamic-link library (.dll) that runs as part of Services.exe. Event Log stores and retrieves events that can be viewed through the event viewer. By default, there are three types of logs: Security, System, and Application.
There are no configuration requirements for this component.
The event log service implements the following APIs:
Function | Description |
---|---|
BackupEventLog | Saves the specified event log to a backup file. |
ClearEventLog | Clears the specified event log, and optionally saves the current copy of the logfile to a backup file. |
CloseEventLog | Closes a read handle to the specified event log. |
DeregisterEventSource | Closes a write handle to the specified event log. |
GetEventLogInformation | Retrieves information about the specified event log. |
GetNumberOfEventLogRecords | Retrieves the number of records in the specified event log. |
GetOldestEventLogRecord | Retrieves the absolute record number of the oldest record in the specified event log. |
NotifyChangeEventLog | Enables an application to receive notification when an event is written to the specified event logfile. |
OpenBackupEventLog | Opens a handle to a backup event log. |
OpenEventLog | Opens a handle to an event log. |
ReadEventLog | Reads a whole number of entries from the specified event log. |
RegisterEventSource | Retrieves a registered handle to an event log. |
ReportEvent | Writes an entry at the end of the specified event log. |
For more information on this component, see the chapter on Debugging and Error Handling in the Platform Software Development Kit (SDK) at this Microsoft Web site.