From Shenzhen XRC Tech Co.,Ltd.

WindowsSdk: set_params interface

int _stdcall set_params(int camera, const char * content, unsigned int content_len, DWORD wait_time);
camera:[in],The camera's handle which is from new_camera
content:[in],One or more properties which want to set
content_len:[in],The properties content's length
wait_time:[in],The time waiting for repone, millisecond
Return ERROR_OK if success,else refer to the definition of error number
Sets camera's parameter .

    Before calling this function, should first ensure the connection of camera with 
the specified has been established, or the operation will fail.

    The result of the operation through the SET_PARAMS_RESULT event notification user.
The content parameter is used to specify the name of the parameters to be set. 
The format of the content parameter is composed of one or more strings,

    Each string is to set parameters by name and parameter values: name = value, between each string '\0' separated by.
The content_len parameter value is equal to the length of all the data of content, including each end of the string '\0'.

For example:

Content = "dhcp=0\0ip=\0mask=\0"; (Note: Here "" does not mean that the content of C string, just represent the distribution in memory)

Content_len 43.

As for the specific parameters of the camera, please refer to the relevant CGI application guide.
Retrieved from
Page last modified on April 11, 2013, at 11:16 AM EST