RegGetKeySecurity (KERNELBASE.@)
LSTATUS RegGetKeySecurity ( HKEY hkey, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, LPDWORD lpcbSecurityDescriptor )
Get a copy of the security descriptor for a given registry key.
hkey | [In] | Open handle of key to set. |
SecurityInformation | [In] | Descriptor contents. |
pSecurityDescriptor | [Out] | Address of descriptor for key. |
lpcbSecurityDescriptor | [In/Out] | Address of size of buffer and description. |
Success: ERROR_SUCCESS
Failure: Error code
Declared in "include/winreg.h". gitlab.winehq.org/wine/wine/blob/master/include/winreg.h
Implemented in "dlls/kernelbase/registry.c". gitlab.winehq.org/wine/wine/blob/master/dlls/kernelbase/registry.c
Debug channel "reg".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.