BOOL ResetEvent(hEvent) | |||||
HANDLE hEvent; | /* identifies the event to reset | */ |
The ResetEvent function sets the specified event to the not-signaled state.
hEvent
Specifies an open handle to an event object. The handle must have EVENT_MODIFY_STATE access to the event.
The return value is TRUE if the function was successful, or FALSE if an error occurred. Use the GetLastError function to obtain extended error information.
Once the event is set to the not-signaled state, any threads that wait on the event block and wait for the event to be set to the signaled state.
CreateEvent, PulseEvent, SetEvent