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

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


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

Return Values

Returns S_OK by default.


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.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.