ResetEvent

Resets an event object to the non-signalled state.

int ResetEvent (EVENT e);

Required Header
<process.h>

Return Value

Non zero signifies a successful reset.

Parameters

e

  The EVENT object to reset

Remarks

The ResetEvent function clears the signalled state of an event.

Note:
When a Wait-Multiple function call is made for ALL events in a list, the function waits until the signalled state of all EVENTS is set even if some EVENTs have changed state multiple times while waiting.

Process and Threads

See Also    _beginthread, _endthread, _syncthread, CreateEvent, SetEvent, EventStatus, WaitForSingleEvent, WaitForMultipleEvents, CloseEvent