Partager via


IAMVideoRendererMode::GetMode

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method retrieves the current rendering mode used by the DirectShow Video Renderer Filter

Syntax

HRESULT GetMode(
  DWORD* pdwMode
);

Parameters

  • pdwMode
    [out] A pointer to a DWORD value that will contain the current rendering mode. This value will 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::SetMode