Microsoft DirectX 9.0

IAMVideoControl::SetMode

The SetMode method sets the video control mode of operation.

Syntax

HRESULT SetMode (
  IPin *pPin,
  long Mode
);

Parameters

pPin

[in] Pointer to the pin to set the video control mode on.

Mode

[in] Value specifying a combination of the flags from the VideoControlFlags enumeration to set the video control mode.

Return Values

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.

See Also