Compartilhar via


CDynamicOutputPin::m_dwNumOutstandingOutputPinUsers

 
Microsoft DirectShow 9.0

CDynamicOutputPin::m_dwNumOutstandingOutputPinUsers

Number of streaming threads using this pin.

Syntax

  DWORD m_dwNumOutstandingOutputPinUsers;

Remarks

The CDynamicOutputPin::StartUsingOutputPin method increments this variable, and the CDynamicOutputPin::StopUsingOutputPin method decrements it. When the value is greater than zero, some thread is using this pin to stream data or to change the connection type. The pin cannot be blocked while this is the case.

Before accessing this variable, hold the CDynamicOutputPin::m_BlockStateLock critical section.

Requirements

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

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

See Also