FH_ForgetConnectionAsync

FH_ForgetConnectionAsync

Deletes the connection from the auto-connection list.

FH_API int WINAPI FH_ForgetConnectionAsync(
        ID_VAR idComp,
        STR_VAR idDevice,
        int timeoutMs);

Here:

  • idComp – the computer’s ID or alias for “local”
  • idDevice – the device’s ID
  • 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.