Share via


CAMEvent Class

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Aa927840.563b03ce-0579-4a50-878d-b393d5f6d477(en-us,MSDN.10).gif

This class is an event object that can be set and waited on to provide interthread synchronization.

This is currently implemented by using the Microsoft Win32® Event APIs.

Events can be created as manual-reset or automatic-reset, and will always be created as not set (nonsignaled state).

They can also be cast to handles so as to be passed to the Win32 WaitForMultipleObjects function.

Protected Data Members

Member Description

m_hEvent

Win32 event handle.

Member Functions

Member function Description

CAMEvent

Constructs a CAMEvent object.

Check

Returns TRUE if the event is currently set, but does not block.

Reset

Forces the event into a nonsignaled state.

Set

Puts the event into a signaled state.

Wait

Blocks the event is signaled, or until an optional time-out occurs.

operator HANDLE

Gets the HANDLE object.

Requirements

Windows Embedded CE Windows CE 2.12 and later
Windows Mobile Windows Mobile Version 5.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment