EventStatus

Returns the signalled state of the event.

int EventStatus (EVENT e);

Required Header
<process.h>

Return Value

-1 signifies an error, otherwise the signalled state is returned as 0=nonsignalled or 1=signalled.

Parameters

e

  The EVENT object to test

Remarks

The EventStatus function does not affect waiting threads.

Process and Threads

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