Microsoft Windows CE 3.0  

CBaseRenderer::CheckMediaType

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Determines if the renderer will accept a given media type.

virtual HRESULT CheckMediaType(
const CMediaType *
pmt
) PURE;

Parameters

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

Return Values

Returns an HRESULTvalue.

Remarks

This member function must be overridden and implemented, typically to return the media type of the display. It is called from the CRendererInputPin::CheckMediaTypemember function during the connection process.