次の方法で共有


CTransInPlaceFilter::CheckTransform (Compact 2013)

3/26/2014

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::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.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CTransInPlaceFilter Class