NAME

RegSetKeySecurity  (KERNELBASE.@)

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". https://source.winehq.org/source/include/winreg.h

Implemented in "dlls/kernelbase/registry.c". https://source.winehq.org/source/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 Mar 2024.