Verifies that the input and output pins support the media type.

virtual HRESULT CheckTransform(
const CMediaType*mtIn,
const CMediaType*mtOut


  • mtIn
    Pointer to the input media type object.
  • mtOut
    Pointer to the output media type object.

Return Values

The overriding member function returns an HRESULT value.


The derived class must implement this member function by overriding it. It should return an error if the filter cannot accept these types as its input and output types.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.