I am trying to use the ETW functions without success to read the file:
C:\Windows\System32\winevt\Logs\Microsoft-Windows-Diagnostics-Performance%4Operational.evtx
In order to capture boot time events.
I have tried various functions -
- OpenTrace gives an error 161
- EvtQuery gives an error 15000
Does anyone have a native code example of reading system trace files?