advapi32: Implement RegSetKeySecurity on top of NtSetSecurityObject.

Alexandre Julliard julliard at winehq.org
Wed Jul 2 14:00:52 CDT 2014


"Erich E. Hoover" <erich.e.hoover at gmail.com> writes:

> @@ -2469,9 +2469,9 @@ LSTATUS WINAPI RegSetKeySecurity( HKEY hkey, SECURITY_INFORMATION SecurityInfo,
>      if (!pSecurityDesc)
>          return ERROR_INVALID_PARAMETER;
>  
> -    FIXME(":(%p,%d,%p): stub\n",hkey,SecurityInfo,pSecurityDesc);
> +    TRACE("(%p,%d,%p)\n",hkey,SecurityInfo,pSecurityDesc);
>  
> -    return ERROR_SUCCESS;
> +    return RtlNtStatusToDosError( NtSetSecurityObject( hkey, SecurityInfo, pSecurityDesc ) );

You'd need to handle special root keys, or at least have tests for
them.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list