Registering as a Source of Error Messages

Drivers register the source of error messages in the registry. Drivers must set two keys under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\EventLog\System\DriverName:

EventMessageFile (REG_EXPAND_SZ)

A list of error message sources separated by semicolons. If the driver uses standard error types, this list must include iologmsg.dll. If the driver uses error messages attached to the driver image, this must include the name of the driver image.

TypesSupported (REG_DWORD)

A bitmask of the possible severity levels that can be logged. Drivers typically set this to 7 to indicate they may log all severity levels.

For a description of how to set these registry keys from the driver's INF file, see Registering for Event Logging.

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft