Share via


CAMEvent::Wait

 
Microsoft DirectShow 9.0

CAMEvent::Wait

The Wait method blocks until the event is signaled, or until a time-out occurs.

Syntax

  BOOL Wait(
    DWORD dwTimeout = INFINITE
);

Parameters

dwTimeout

Optional time-out value, represented in milliseconds.

Return Value

Returns TRUE if the event is signaled. Otherwise, returns FALSE.

Remarks

For auto-reset events, the event is reset to a nonsignaled state when this method returns.

Requirements

**  Header:** Declared in Wxutil.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also