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.
A version of this page is also available for
4/8/2010

This method sets the new rendering mode for the DirectShow Video Renderer Filter.

Syntax

HRESULT SetMode(
  DWORD 
dwMode
);

Prameters

dwMode

[in] A DWORD value that identifies the new rendering mode. This value must be set to an element of the AM_VIDEO_RENDERER_MODEenumeration.

Return Value

If the method succeeds, it returns S_OK. Otherwise it returns an HRESULT error code.

Requirements

Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment

See Also