Share via


ICameraControl::put_TiltRelative

 
Microsoft DirectShow 9.0

ICameraControl::put_TiltRelative

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

The put_TiltRelative method sets the camera's relative tilt. The relative tilt is expressed as a number of steps, where the size of each step depends on the camera model.

Syntax

  HRESULT put_TiltRelative(
  long  Value,
  long  Flags
);

Parameters

Value

[in]  Specifies the relative tilt. The size of the value represents the desired tilt speed; a higher value represents a higher speed. To get the range of possible values, call ICameraControl::getRange_TiltRelative.

Value Description
0 Stop tilting.
Positive value Start tilting up.
Negative value Start tilting down.

Flags

[in]  Zero or more flags. See CameraControlFlags. If the CameraControl_Flags_Auto flag is used, the Value parameter is ignored and the camera sets the default value.

Return Values

Returns an HRESULT value.

Requirements

Header: Include Vidcap.h.

Library: Use Strmiids.lib.

See Also