CEvent::SetEvent

BOOL SetEvent( );

Return Value

Nonzero if the function was successful, otherwise 0.

Remarks

Sets the state of the event to signaled, releasing any waiting threads. If the event is manual, the event will remain signaled until ResetEvent is called. More than one thread can be released in this case. If the event is automatic, the event will remain signaled until a single thread is released. The system will then set the state of the event to nonsignaled. If no threads are waiting, the state remains signaled until one thread is released.

CEvent OverviewClass MembersHierarchy Chart