0 if the event was signaled (and has been reset), or -1 if
the event was not signaled or an error occurred.
Check and reset a Windows Event.
Checks if the event is currently signaled (non-blocking). If it is, the event is reset to the nonsignaled state.
handle | The Event handle to check. |
0 if the event was signaled (and has been reset), or -1 if
the event was not signaled or an error occurred.