다음을 통해 공유


CAMEvent::Wait (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

BOOL Wait(
  DWORD dwTimeout
);

Parameters

  • dwTimeout
    Optional time-out value, represented in milliseconds.

    The default is INFINITE.

Return Value

Returns TRUE if the event becomes signaled; otherwise, returns FALSE.

Remarks

For events that are not manual-reset events, the action completing the CAMEvent::Wait member function causes the event to enter a nonsignaled state until the CAMEvent::Set member function is called.

Requirements

Windows Embedded CE Windows CE 2.12 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, Version 2.12 requires DXPAK 1.0 or later

See Also

Reference

CAMEvent Class