RegGetKeySecurity3w
Usage
LSTATUS RegGetKeySecurity
(
HKEY hkey,
SECURITY_INFORMATION SecurityInformation,
PSECURITY_DESCRIPTOR pSecurityDescriptor,
LPDWORD lpcbSecurityDescriptor
)
Overview
Get a copy of the security descriptor for a given registry key.
Params
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.
Returns
Success: ERROR_SUCCESS
Failure: Error code
Implementation
Declared in "winreg.h".
Implemented in "dlls/advapi32/registry.c".
Debug channel "reg".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.