GetComputerNameLibrary: Kernel32Min. Required OS: Windows NT 3.1 or later; Windows 95 or laterGroup: Windows InformationDescription: The GetComputerName function retrieves the computer name of the current system. This name is established at system startup, when it is initialized from the registry.Example(s): GetComputerName Enum Resources System ShutdownRelated function(s): GetUserName WNetGetUser