Viewing in Windows Event viewer

Hi,
In my WDF driver, I want to view my PCI device errors in windows event
viewer. I could not find the procedure in any of the WDF sample codes.

Please help me.

sree

AFAIK there is no WDF wrappers for the event log functions so just use
IoAllocateErrorLogEntry and IoWriteErrorLogEntry. There are multiple
samples in the WDK that show these functions being used.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

“Sreejesh S. Warrier” wrote in message
news:xxxxx@ntdev…
Hi,
In my WDF driver, I want to view my PCI device errors in windows event
viewer. I could not find the procedure in any of the WDF sample codes.

Please help me.

sree