ICameraControl::get_TiltRelative

 
Microsoft DirectShow 9.0

ICameraControl::get_TiltRelative

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

The get_TiltRelative method returns 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 get_TiltRelative(
  long*  pValue,
  long*  pFlags
);

Parameters

pValue

[out]  Receives 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 Stopped.
Positive value Tilting up.
Negative value Tilting down.

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