次の方法で共有


CTransformFilter::CheckInputType (Compact 2013)

3/26/2014

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

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CTransformFilter Class