FH_GetDevicesList

FH_GetDevicesList

Gets the list of devices IDs on the specified computer in JSON array format.

int WINAPI FH_GetDevicesList(
ID_VAR idComp,
JSON_VAR *pJsonResult);
  • idComp – the computer’s ID or alias for “local”
  • pJsonResult – a pointer to the variable where the string with JSON array of[id_device1, id_device2, …] is put.

If no devices are available on the computer, array will be empty:[].
The returned value of the function is the number of elements in JsonResult.