Partager via


CTransformFilter::CheckInputType

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Verifies that the input pin supports the media type, and proposes the output pin's media type.

Syntax

virtual HRESULT CheckInputType(
  const CmediaType* mtIn
) PURE;

Parameters

  • mtIn
    Pointer to an input media type object.

Return Value

The overriding member function returns an HRESULT value.

Remarks

You must override this member function to verify the media type.

This member function must return an error if it cannot support the media type as an input. If it can, the overriding member function should propose the output media type supplied by the output pin.

Requirements

Windows Embedded CE Windows CE 2.12 and later
Windows Mobile Windows Mobile Version 5.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later