WindowsSdk

ptz_control interface

  • Definition:
int _stdcall ptz_control(int camera, PTZ_COMMAND command, unsigned int param, DWORD wait_time);
  • Parameter:
camera:[in],Camera's handle which is from new_camera
command:[in],The PTZ command, see the explain of PTZ_COMMAND structure
param:[in],The Parameter of PTZ command
wait_time:[in],The time waiting for repone, millisecond
  • Return:
Return ERROR_OK if success,else refer to the definition of error number
  • Explain:
Send the PTZ command to the camera.
Makesure the camera has connected now.

IP Camera Windows SDK manual

Copyright:Shenzhen XRC Tech Co.,Ltd.

ICP:粤ICP备09050685号