Compartilhar via


CRendererInputPin::CheckMediaType (Compact 2013)

3/26/2014

Override this member function to determine if the pin can support this specific media type.

Syntax

HRESULT CheckMediaType(
  const CMediaType* pmt 
);

Parameters

  • pmt
    Pointer to a media type object that contains the proposed media type.

Return Value

Returns an HRESULT value.

Remarks

This member function is typically called before calling the CRendererInputPin::SetMediaType member function.

This member function overrides CBasePin::CheckMediaType and calls the pure virtual CBaseRenderer::CheckMediaType member function, which must be overridden.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CRendererInputPin Class