ICameraControl::get_RollRelative

 
Microsoft DirectShow 9.0

ICameraControl::get_RollRelative

This topic applies only to Windows XP Service Pack 2 and later.

The get_RollRelative method returns the camera's relative roll. The relative roll is expressed as a number of steps, where the size of each step depends on the camera model.

Syntax

  HRESULT get_RollRelative(
  long*  pValue,
  long*  pFlags
);

Parameters

pValue

[out]  Receives the relative roll. The size of the value represents the desired rotation speed; a higher value represents a higher speed. To get the range of possible values, call ICameraControl::getRange_RollRelative.

Value Description
0 Stopped.
Positive value Rotating clockwise around the viewing axis.
Negative value Rotating counterclockwise around the viewing axis.

pFlags

[out]  Receives one or more flags. See CameraControlFlags.

Return Values

Returns an HRESULT value.

Requirements

Header: Include Vidcap.h.

Library: Use Strmiids.lib.

See Also