Partager via


CTransformFilter::CheckConnect

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 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