Share via


CBaseRenderer::CheckMediaType (Compact 2013)

3/26/2014

Determines if the renderer will accept a given media type.

Syntax

virtual HRESULT CheckMediaType(
  const CMediaType* pmt
) PURE;

Parameters

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

Return Value

Returns an HRESULT value.

Remarks

This member function must be overridden and implemented, typically to return the media type of the display.

It is called from the CRendererInputPin::CheckMediaType member function during the connection process.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBaseRenderer Class