LXDeviceAPI

Definition

 

int CloseDevice_LXDeviceAPI(int device_handling_id);

Parameters

Parameter Available Value Description
 int device_handling_id
  • return value of OpenDevice

Return Values

Return  meaning Description
 1  Success.
 -3  Fail. No device matching device_handling_id.
 -10  Fail. Wrong calling order. CloseDevice should be called after OpenApi.

Code Example

void CLXDeviceAPI_Sample1View::OnMenuClosedevice()
{
  CloseDevice_LXDeviceAPI(m_iDeviceHandlingID);
}