Microsoft Windows CE 3.0  

CBaseRenderer::SetMediaType

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.

Informs the derived class of the selected media type.

virtual HRESULT SetMediaType(
const CMediaType *
pmt
);

Parameters

pmt
Media type to be set.

Return Values

Returns NOERROR by default; the overriding member function should return a valid HRESULTvalue.

Remarks

This member function is called by the CRendererInputPin::SetMediaTypemember function and has no implementation in this class. Derived classes can optionally override to add functionality.