GetCurrentDevice

Function Usage

Obtains the recently used device.

Prototype

1
APP_ERROR DeviceManager::GetCurrentDevice(DeviceContext& device);

Parameters

Parameter

Input/Output

Description

device

Output

Obtains the recent running device.

Response Parameters

Data Structure

Description

APP_ERROR

For details about the returned error codes, see APP_ERROR Description.