深圳新瑞彩网络科技有限公司

WindowsSdk: GET_RESULT_PARAM

typedef struct tagGetResultParam
{
    int error;
    char * content;
    unsigned int content_len;
} GET_RESULT_PARAM;
GET_RESULT_PARAM 类型描述当 GET_PROPERTIES_RESULT / GET_PARAMS_RESULT 事件发生时返回的参数。
成员说明
error操作的结果,当 error == ERROR_OK 时,表示操作成功,其它参考错误常量定义。
content
content_len
当 error != ERROR_OK 时,content = NULL,content_len = 0。
当 error == ERROR_OK 时,content 中存储了从 camera 获取到的数据,其中可能包括多个属性或参数,
content_len 表示 content 的长度。用户可通过 parse_params 函数来解析出每个属性或参数的具体名称和取值。
来源地址:http://wiki.reecam.cn/WindowsSdk/StructGETRESULTPARAM
本页面最后修订于:2013-04-12 11:12