Share via


IAMVideoControl::SetMode

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method sets the video control mode of operation.

Syntax

HRESULT SetMode (
  IPin* pPin,
  long  Mode
);

Parameters

  • pPin
    [in] A point to the IPin Interface to set the video control mode on.
  • Mode
    [in] A long value specifying a combination of the flags from the VideoControlFlags enumeration to set the video control mode.

Return Value

This method returns an HRESULT value that depends on the implementation of the interface.

Remarks

Possible modes of operation include one or more of the following: flipping the picture horizontally, flipping the picture vertically, enabling external triggers, and simulating external triggers.

Requirements

Windows Embedded CE Windows Embedded CE 6.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

IAMVideoControl Interface
IPin Interface
VideoControlFlags