I want to write to the event log from a driver. I know that i need to use IoAllocateErrorLogEntry and I also added the registry key
HKLM\System\CurrentControlSet\Services\EventLog\driverName
Now I want to set the source of the log to be the "driverName". I tried to follow the "write log" instruction in here but it doesn't seem to work.
How can I write to the event log with a specific source?