Microsoft DirectX 9.0

CTransInPlaceFilter::CheckTransform

The CheckTransform method checks whether an input media type is compatible with an output media type. This method overrides the CTransformFilter::CheckTransform method.

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

The CTransInPlace filter never calls CheckTransform. Instead, all pin connection use CTransformFilter::CheckInputType to check the media type, with the assumption that the input and output types always match.

See Also