Set the new computer name in the account
int WINAPI FH_SetComputerNameAsync( ID_VAR idComp, STR_VAR name, int timeoutMs);
- idComp – the computer’s ID or alias for “local”
- name – the new name of the computer
- 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.
The result of the command execution is returned by command_result event.
The error codes upon the command completion:
“name_exist” – computer with such name already exists in the user’s account. A different name should be set.