Microsoft DirectX 9.0 |
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.
Value | Description |
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.
See Also