Sets the state of the event to nonsignaled until explicitly set to signaled by the SetEvent member function.
BOOL ResetEvent( );
Nonzero if the function was successful; otherwise 0.
This causes all threads wishing to access this event to wait.
This member function is not used by automatic events.