CDynamicOutputPin::BlockOutputPin
Microsoft DirectShow 9.0 |
CDynamicOutputPin::BlockOutputPin
The BlockOutputPin method blocks the pin. While the pin is blocked, the CDynamicOutputPin::StartUsingOutputPin method waits for the pin to become unblocked. The blocked state prevents the output pin from delivering samples, changing its output format, or reconnecting itself.
Syntax
void BlockOutputPin(void);
Remarks
Before calling this method, hold the CDynamicOutputPin::m_BlockStateLock critical section. Do not call this method if a streaming thread is using the pin, either to deliver data or to change the connection. To check whether a streaming thread is using the pin, call the CDynamicOutputPin::StreamingThreadUsingOutputPin method.
Requirements
** Header:** Declared in Amfilter.h; include Streams.h.
** Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).
See Also