Microsoft DirectX 8.1 (C++)

CTransInPlaceFilter::CheckTransform

The CheckTransform method checks whether an input media type is compatible with an output media type.

Syntax

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

Parameters

mtIn

Pointer to a CMediaType object that specifies the input type.

mtOut

Pointer to a CMediaType object that specifies the output type.

Return Value

Returns S_OK.

Remarks

This method overrides the CTransformFilter::CheckTransform method. The methods in CTransInPlace call the CTransformFilter::CheckInputType method instead of CheckTransform, with the assumption that the input and output types are the same.

See Also