advapi32: Report administrator ownership by default for registry objects (try 3).

Alexandre Julliard julliard at
Tue Feb 19 11:30:38 CST 2013

"Erich E. Hoover" <ehoover at> writes:

> The attached patch fixes an issue where the Opera installer expects
> registry keys to return ownership information (Bug #32904), concluding
> the cleanup of [Get|Set]NamedSecurityInfo.  This patch addresses the
> issue by ensuring that NULL owner and group information is never
> returned for registry keys and instead returns the Administrators SID
> (S-1-5-32-544) when this information is unavailable, which is
> sufficient to keep the Opera installer from encountering an error.
> The included test shows that this behavior is the case for system keys
> on Windows, which returns the Administrators SID for system registry
> keys (such as HKLM\Software).

Surely this is not specific to GetNamedSecurityInfo.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list