IntControl 76

 

Syntax:

IntControl(76, p1, 0, 0, 0)

 

Sets the computer name.

IntControl 76 has been superceded by the function ComputerNameSet.

 

This IntControl sets the NetBIOS name of the local computer, specified by p1. The change does not take effect until the computer is restarted.

The name may not be longer than 15 characters. It may contain letters, numbers, and the following symbols:

! @ # $ % ^ & ' ) ( . - _ { } ~

 

In Windows NT+, if the name contains invalid characters, the function will fail.

Returns @TRUE on success, or @FALSE on failure.