NET_DVR_PTZPOS

PTZ position parameter structure.

Structure Definition

struct{
  WORD     wAction;
  WORD     wPanPos;
  WORD     wTiltPos;
  WORD     wZoomPos;
}NET_DVR_PTZPOS, *LPNET_DVR_PTZPOS;

Members

wAction

Operation type, it is valid only when setting parameters. 1-locate PTZ parameter, 2-locate Pan parameter, 3-locate Tilt parameter, 4-locate Zoom parameter, 5-locate Pan and Tilt parameter.

wPanPos

Pan parameter (horizontal)

wTiltPos

Tilt parameter (vertical)

wZoomPos

Zoom parameter (zoom in or out)

Remarks

The actual PTZ position value is the one-tenth of the received hexadecimal value. If the obtained Pan value is 0x1750, the actual Pan value is 175 degree; if the obtained Tilt value is 0x0789, the actual Tilt value is 78.9 degree; if the obtained Zoom value is 0x1100, the actual Zoom value is 110.