Why is GetComputerName() an init function, or in other words, why is it important that HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ComputerName\ComputerName be set at registry initialization time (in _allocate_default_keys())?
I am asking because GetComputerName() IMO returns the wrong value (FQDN rather than NETBIOS name). A real implementation of GetComputerName() would look for the above value in the Registry and use gethostname() only as a fallback, but currently it's the other way around - why ?
Martin