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 those shown in the following table.
Value | Description |
S_OK | Success |
VFW_E_INVALID_DIRECTION | Wrong pin direction |
Remarks
This method overrides the CBasePin::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