The EventLog Install section adds an event message file for the driver to the registry. You can also use an EventLog Install section to remove an event message file.
[install-section-name_EventLogInstallSection]
AddReg=add-registry-section
DelReg=del-registry-section
add-registry-section
The section of the INF file that specifies subkeys to add to the registry to install the event message file.
del-registry-section
The section of the INF file that specifies subkeys to delete from the registry to remove the event message file.
The following is an example of a typical EventLog Install section:
[sermouse_EventLog_Inst]
AddReg=sermouse_EventLog_AddReg
[sermouse_EventLog_AddReg]
HKR,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\sermouse.sys"
HKR,,TypesSupported,0x00010001,7