EvtSubscribe has strange behavior when using query criteria with EventRecordID.
When using EvtSubscribe from winevt.h referencing the example code from here with query string including EventRecord ID(e.g. "Event/System[EventRecordID>10000]", it looked like it is working as expected. However, when getting future events, some event are being skipped, which can be acquired with event viewer or from powershell using "Get-EventLog". While testing it, I could find out using push subscription method does not filter future events that do not match the query criteria. It this a bug in EvtSubscribe or am I using it incorrectly?
For more details and reproducing the issue, you can refer to this github repository I created.