GET_RESULT_PARAM
- Definition:
typedef struct tagGetResultParam
{
int error;
char * content;
unsigned int content_len;
} GET_RESULT_PARAM;
- Expain:
GET_RESULT_PARAM describe the return parameter when receiving GET_PROPERTIES_RESULT/GET_PARAMS_RESULT event
| Member | Expain |
|---|---|
| error | Result of operation,success if error == ERROR_OK, esle is failed. |
| content content_len | When error != ERROR_OK, content = NULL, content_len = 0. When error == ERROR_OK, content contain the data which may include multiple properties or parameters from camera, content_len is the length of content, user could calls parse_params function to parse the name and value of every property/parameter. |