Re: advapi32: add more helper functions
Robert Reif <[EMAIL PROTECTED]> writes: > / > + *ADVAPI_GetComputerNameW > + * > + * Gets the local computer name. > + */ > +LPCWSTR ADVAPI_GetComputerNameW() > +{ > +static WCHAR buf[MAX_COMPUTERNAME_LENGTH + 1]; > +
Re: advapi32: add more helper functions
Robert Reif wrote: > +BOOL ADVAPI_GetComputerSid(PSID sid) > +if ((ret = RegOpenKeyExA(HKEY_LOCAL_MACHINE, > +"SECURITY\\SAM\\Domains\\Account", 0, > +KEY_READ, &key)) == ERROR_SUCCESS) I did not test the patch, but is there a Reason against UNICODE here ? (The other calls