共用方式為


ICameraControl::get_Pan

 
Microsoft DirectShow 9.0

ICameraControl::get_Pan

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

The get_Pan method returns the camera's panning angle.

Syntax

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

Parameters

pValue

[out]  Receives the panning angle, in degrees. Positive values are clockwise when viewing the camera from above, and negative values are counter clockwise. Theoretical values range from –180 degrees to +180 degrees, but the actual range depends on the camera. See ICameraControl::getRange_Pan.

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