Partager via


CTransformOutputPin::CheckMediaType (Compact 2013)

3/26/2014

Determines if the input pin supports a specified media type.

Syntax

HRESULT CheckMediaType(
  const CmediaType* mtIn 
);

Parameters

  • mtIn
    Pointer to a media type object.

Return Value

None.

Remarks

This member function calls the pure-virtual CTransformFilter::CheckTransform member function, which must be overridden when deriving a class from the CTransformFilter class.

The overridden CTransformFilter::CheckTransform member function determines which media types the output pin supports.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CTransformOutputPin Class