CEvent::SetEvent

This method 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. If the event is automatic, the event will remain signaled until a single thread is released.

At a Glance

Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Header file: Afxmt.h
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL SetEvent( );

Remarks

Windows CE does not support waiting for a process or thread.