Logging Errors

Drivers, like most Microsoft Windows system components, can log errors to the system event log. The errors are visible in the Event Viewer.

screen shot of the event viewer main window.

This section includes the following topics:

Writing to the System Event Log

Defining Custom Error Types

Registering as a Source of Error Messages