CDynamicOutputPin::SynchronousBlockOutputPin

 
Microsoft DirectShow 9.0

CDynamicOutputPin::SynchronousBlockOutputPin

The SynchronousBlockOutputPin method blocks the pin; does not return until the pin is blocked.

Syntax

  HRESULT SynchronousBlockOutputPin(void);

Return Value

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

Value Description
S_OK Success.
VFW_E_PIN_ALREADY_BLOCKED Pin is already blocked on another thread.
VFW_E_PIN_ALREADY_BLOCKED_ON_THIS_THREAD Pin is already blocked on the calling thread.

Remarks

Do not call this method from the streaming thread.

Requirements

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

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

See Also