Share via


CAutoUsingOutputPin::CAutoUsingOutputPin

 
Microsoft DirectShow 9.0

CAutoUsingOutputPin::CAutoUsingOutputPin

Constructor method. The constructor obtains access to the specified pin.

Syntax

  CAutoUsingOutputPin(
    CDynamicOutputPin *pOutputPin, 
    HRESULT *phr 
);

Parameters

pOutputPin

Pointer to a CDynamicOutputPin object.

phr

Pointer to a variable that contains an HRESULT value. The value must be S_OK.

Remarks

When the method returns, the value of *phr indicates the success or failure of the method.

Requirements

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

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

See Also