Platform SDK: Debugging and Error Handling

Writing to the Event Log

When an application calls the ReportEvent function to write an entry to the log, the system passes the parameters to the event-logging service. The event-logging service uses the information to write an EVENTLOGRECORD structure to the event log. The following diagram illustrates this process.