NAME

RegGetKeySecurity  (KERNELBASE.@)

SYNOPSIS

 LSTATUS RegGetKeySecurity
 (
  HKEY                 hkey,
  SECURITY_INFORMATION SecurityInformation,
  PSECURITY_DESCRIPTOR pSecurityDescriptor,
  LPDWORD              lpcbSecurityDescriptor
 )

DESCRIPTION

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". 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 Apr 2024.