CheckConnect
Collapse the table of content
Expand the table of content

CTransformOutputPin.CheckConnect method

The CheckConnect method determines whether a pin connection is suitable.

Syntax


HRESULT CheckConnect(
   IPin *pPin
);

Parameters

pPin

Pointer to the output pin's IPin interface.

Return value

Returns an HRESULT value. Possible values include the following.

Return codeDescription
S_OK

Success.

E_UNEXPECTED

The filter's input pin is not connected.

 

Remarks

This method overrides the CBaseOutputPin::CheckConnect method. It calls the filter's CTransformFilter::CheckConnect method, which returns S_OK in the base class. The derived class can override the CTransformFilter::CheckConnect method to perform additional checks.

Requirements

Header

Transfrm.h (include Streams.h)

Library

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

 

 

Show:
© 2016 Microsoft