Share via


IAMVideoRendererMode::SetMode

A version of this page is also available for

Windows Embedded CE 6.0 R3

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_MODE enumeration.

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

Reference

IAMVideoRendererMode Interface
DirectShow Video Renderer Filter
AM_VIDEO_RENDERER_MODE
IAMVideoRendererMode::GetMode