次の方法で共有


CTransformFilter::CheckConnect (Windows Embedded CE 6.0)

1/6/2010

Informs the derived class when the connection process is starting.

Syntax

virtual HRESULT CheckConnect(
  PIN_DIRECTION dir,
  IPin* pPin 
);

Parameters

  • dir
    Direction of the pin.
  • pPin
    Pointer to the pin making the connection.

Return Value

Returns NOERROR by default. The overriding member function returns an HRESULT value.

Remarks

This member function is called by both CTransformInputPin::CheckConnect and CTransformOutputPin::CheckConnect.

Override this member function to handle special cases in both input and output pin connections.

Special cases might include querying (obtaining) other interfaces.

Requirements

Windows Embedded CE Windows CE 2.12 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later

See Also

Reference

CTransformFilter Class