Share via


CTransInPlaceFilter::CheckTransform

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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