mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
advapi32: Support registry objects in SetNamedSecurityInfo.
This commit is contained in:
parent
5368301a48
commit
5915954ef1
1 changed files with 7 additions and 0 deletions
|
@ -4049,6 +4049,13 @@ DWORD WINAPI SetNamedSecurityInfoW(LPWSTR pObjectName,
|
|||
CloseServiceHandle( handle );
|
||||
}
|
||||
break;
|
||||
case SE_REGISTRY_KEY:
|
||||
if (!(err = get_security_regkey( pObjectName, access, &handle )))
|
||||
{
|
||||
err = SetSecurityInfo( handle, ObjectType, SecurityInfo, psidOwner, psidGroup, pDacl, pSacl );
|
||||
RegCloseKey( handle );
|
||||
}
|
||||
break;
|
||||
case SE_FILE_OBJECT:
|
||||
if (!(err = get_security_file( pObjectName, access, &handle )))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue