ct3_query_devices_of_collector

Navigation:  C++ > 采集器管理接口 > 设备接口 >

ct3_query_devices_of_collector

Previous pageReturn to chapter overviewNext page

 

函数

查询一个采集器下所有的设备

int32 ct3_query_devices_of_collector(

 hd3_in uint32 nCollectorID,

 hd3_out HD3HANDLE* phResultSet

 );

参数

nCollectorID

      [in] 设备所在采集器的ID。

phResultSet

      [hd3_out] 查询迭代器。

返回值

查询成功,返回RD_SUCCESS。查询失败返回其它错误码,见error_code.h。

举例

示例代码参见设备接口

参见

ct3_add_device

ct3_delete_device

ct3_query_device

ct3_query_device_id_by_name

ct3_query_devices_of_collector

ct3_modify_device

ct3_update_device_status

ct3_query_devices_status

©2015. All Rights Reserved.