Andreas Mohr <[EMAIL PROTECTED]> writes:

> You know that little part where Windows setup asks for the computer name ?
> That's where it gets stored *once*.
> And as we have SetComputerNameA, we should store it once, too, I think.

Ah OK, I missed the difference between GetComputerName and
GetComputerNameEx. The latter should of course use get/sethostname
when accessing the DNS name, but for GetComputerName I agree we can
probably store it once and for all.

Still no reason to have a -init option, we can simply set the registry
value from gethostname() if it didn't exist already.

-- 
Alexandre Julliard
[EMAIL PROTECTED]

Reply via email to