CAutoUsingOutputPin.CAutoUsingOutputPin constructor

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

Amfilter.h (include Streams.h)

Library

Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CAutoUsingOutputPin Class

 

 

Show: