Event Log

The Event Log component is a dynamic-link library (DLL) that runs as part of Services.exe. This component stores and retrieves events that can be viewed in the event viewer. By default, there are three types of logs: Security, System, and Application.


There are no services associated with this component.

Associated Components

No other components interact with this component.


There are no configurable settings for this component.


The following table shows the functions that this component includes.

BackupEventLogSaves the specified event log to a backup file.
ClearEventLogClears the specified event log, and can save the current copy of the log file to a backup file.
CloseEventLogCloses a read handle to the specified event log.
DeregisterEventSourceCloses a write handle to the specified event log.
GetEventLogInformationRetrieves information about the specified event log.
GetNumberOfEventLogRecordsRetrieves the number of records in the specified event log.
GetOldestEventLogRecordRetrieves the absolute record number of the oldest record in the specified event log.
NotifyChangeEventLogEnables an application to receive notification when an event is written to the specified event log file.
OpenBackupEventLogOpens a handle to a backup event log.
OpenEventLogOpens a handle to an event log.
ReadEventLogReads a whole number of entries from the specified event log.
RegisterEventSourceRetrieves a registered handle to an event log.
ReportEventWrites an entry at the end of the specified event log.

© 2006 Microsoft Corporation. All rights reserved.