Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
From this pull type of subscription, we need to add the following actions: 1. Create an EventObject for handling signal events 2. Reset signal when ERROR_NO_MORE_ITEMS from EvtNext This should ensure the windows eventlog collection correctly. Also, we shouldn't specify the INFINITE waiting on WaitForSingleObject because this function is inside of enumerator. So, it causes infinite blocking for this case. ref: https://learn.microsoft.com/en-us/windows/win32/wes/subscribing-to-events#pull-subscriptions Signed-off-by: Hiroshi Hatake <[email protected]>
- Loading branch information