CDynamicOutputPin::WaitEvent

 
Microsoft DirectShow 9.0

CDynamicOutputPin::WaitEvent

The WaitEvent method waits until the specified event is signaled.

Syntax

  static HRESULT WaitEvent(
    HANDLE hEvent
);

Parameters

hEvent

Handle to an event.

Return Value

Returns an HRESULT value. Possible values include those shown in the following table.

Value Description
S_OK Success.
E_UNEXPECTED Unexpected error.

Requirements

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

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

See Also