Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
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::CheckTransformmember function.

The base class functions that call this member function are overridden in this class to call the CTransformFilter::CheckInputTypemember 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