Compartir a través de


CTransformFilter::CheckTransform (Compact 2013)

3/26/2014

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

Syntax

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

Parameters

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

Return Value

The overriding member function returns an HRESULT value.

Remarks

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.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CTransformFilter Class