Compartilhar via


CTransformInputPin::CheckMediaType (Compact 2013)

3/26/2014

Determines if the pin can use 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::CheckInputType member function, which must be overridden when deriving a class from the CTransformFilter class. The overridden CheckInputType member function is responsible for determining which media types the input pin supports.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CTransformInputPin Class