GetComputerName() question

Martin Wilck Martin.Wilck at
Wed Oct 30 10:56:55 CST 2002

Why is GetComputerName() an init function, or in other words, why is it
important that 
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 Wilck                Phone: +49 5251 8 15113
Fujitsu Siemens Computers   Fax:   +49 5251 8 20409
Heinz-Nixdorf-Ring 1	    mailto:Martin.Wilck at
D-33106 Paderborn 

More information about the wine-devel mailing list