FH_SetDeviceDescriptionAsync

FH_SetDeviceDescriptionAsync

Sets custom description for the device.

int WINAPI FH_SetDeviceDescriptionAsync(
    ID_VAR idComp,
    STR_VAR idDevice,
    STR_VAR description,
    int timeoutMs);

Here:

  • idComp – the computer’s ID or alias for “local”
  • idDevice – the device’s ID
  • description – custom description
  • timeoutMs – timeout. By default equals to –1.

The returned value is the ID of the invoked command or 0 in case the command cannot be executed.