Partager via


CTransInPlaceFilter::CheckTransform (Windows Embedded CE 6.0)

1/6/2010

Verifies that the media is supported by input and output pins.

Syntax

HRESULT CheckTransform(
  const CMediaType* mtIn,
  const CMediaType* mtOut 
);

Parameters

  • mtIn
    Input pin media type.
  • mtOut
    Output pin media type.

Return Value

Returns S_OK by default.

Remarks

This member function overrides the CTransformFilter::CheckTransform member function.

The base class functions that call this member function are overridden in this class to call the CTransformFilter::CheckInputType member function that is overridden in the derived class, with the assumption that the type does not change.

Usually there is no reason for this member function to be called.

In debug builds some calls will be made, and returning S_OK ensures that these calls do not assert.

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

CTransInPlaceFilter Class