ICameraControl::get_PanTilt

 
Microsoft DirectShow 9.0

ICameraControl::get_PanTilt

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

The get_PanTilt method returns the camera's pan and tilt angles.

Syntax

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

Parameters

pPanValue

[out]  Receives the current panning angle, in arc seconds. An arc second is 1/3600th of a degree. See ICameraControl::get_Pan.

pTiltValue

[out]  Receives the current tilt angle, in arc seconds. See ICameraControl::get_Tilt.

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