GetCurrentDevice
Function Usage
Obtains the recently used device.
Prototype
APP_ERROR DeviceManager::GetCurrentDevice(DeviceContext& device);
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
device |
Output |
Obtains the recent running device. |
Return Parameter Description
Data Structure |
Description |
|---|---|
APP_ERROR |
Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file. |
Parent topic: DeviceManager