指定待使用的设备。
APP_ERROR DeviceManager::SetDevice(DeviceContext device);
参数名 |
输入/输出 |
说明 |
---|---|---|
device |
输入 |
待使用的设备。 |
数据结构 |
说明 |
---|---|
APP_ERROR |
程序执行返回的错误码,请参考“MxBase/ErrorCode/ErrorCode.h”文件。 |