共用方式為


ICameraControl::get_PanTiltRelative

 
Microsoft DirectShow 9.0

ICameraControl::get_PanTiltRelative

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

The get_PanTiltRelative method returns the camera's relative pan and tilt. The relative pan and tilt are expressed as a number of steps, where the size of each step depends on the camera model.

Syntax

  HRESULT get_PanTiltRelative(
  long*  pPanValue,
  long*  pTiltValue,
  long*  pFlags
);

Parameters

pPanValue

[out]  Receives the relative pan. See ICameraControl::get_PanRelative.

pTiltValue

[out]  Receives the relative tilt. See ICameraControl::get_TiltRelative.

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