Microsoft Windows CE 3.0  

IMediaControl::RenderFile

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.

Adds and connects filters needed to play the specified file.

HRESULT RenderFile(
BSTR
strFilename
);

Parameters

strFilename
Name of the file to render.

Return Values

Returns an HRESULTvalue.

Remarks

This method allows an application to pass the name of a media file that it wants rendered to the filter graph manager. The filter graph manager will build a graph of the filters needed to play back this file. This method is Automation-compatible and is equivalent to IGraphBuilder::RenderFile, which should be used by C and C++ applications.