Share via


IAMVideoControl::SetMode (Compact 2013)

3/26/2014

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

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IAMVideoControl Interface
IPin Interface
VideoControlFlags