CAMEvent::Wait

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

BOOL Wait(
  DWORD dwTimeout
);

Parameters

  • dwTimeout
    Optional time-out value, represented in milliseconds. The default is INFINITE.

Return Values

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

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.