IAMVideoControl::GetMode

 
Microsoft DirectShow 9.0

IAMVideoControl::GetMode

The GetMode method retrieves the video control mode of operation.

Syntax

  HRESULT GetMode (
  IPin *pPin,
  long *Mode
);

Parameters

pPin

[in] Pointer to the pin to retrieve the video control mode from.

Mode

[out] Pointer to a value representing a combination of the flags from the VideoControlFlags enumeration, which specify 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.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also