Scroll to navigation

RegSetKeySecurity(3w) Wine API RegSetKeySecurity(3w)

NAME

RegSetKeySecurity (ADVAPI32.@)

SYNOPSIS

LSTATUS RegSetKeySecurity
(
HKEY hkey,
SECURITY_INFORMATION SecurityInfo,
PSECURITY_DESCRIPTOR pSecurityDesc
)
 

DESCRIPTION

Set the security of an open registry key.
 

PARAMS

hkey [In] Open handle of key to set.
SecurityInfo [In] Descriptor contents.
pSecurityDesc [In] Address of descriptor for key.
 

RETURNS

Success: ERROR_SUCCESS
Failure: nonzero error code from Winerror.h
 

IMPLEMENTATION

Declared in "winreg.h".
Implemented in "dlls/advapi32/registry.c".
Debug channel "reg".
Oct 2012 Wine API