次の方法で共有


CAMEvent::Wait (Compact 2013)

3/26/2014

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

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CAMEvent Class