.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH RegGetKeySecurity 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBRegGetKeySecurity\fR (ADVAPI32.@) .SH SYNOPSIS LSTATUS RegGetKeySecurity ( HKEY \fIhkey\fR, SECURITY_INFORMATION \fISecurityInformation\fR, PSECURITY_DESCRIPTOR \fIpSecurityDescriptor\fR, LPDWORD \fIlpcbSecurityDescriptor\fR ) .SH DESCRIPTION .PP Get a copy of the security descriptor for a given registry key. .SH PARAMS \fIhkey\fR \fB[In]\fR Open handle of key to set. .PP \fISecurityInformation\fR \fB[In]\fR Descriptor contents. .PP \fIpSecurityDescriptor\fR \fB[Out]\fR Address of descriptor for key. .PP \fIlpcbSecurityDescriptor\fR \fB[In/Out]\fR Address of size of buffer and description. .PP .SH RETURNS .PP \fBSuccess:\fR \fBERROR_SUCCESS\fR .PP \fBFailure:\fR Error code .SH IMPLEMENTATION .PP Declared in \fB"winreg.h"\fR. .PP Implemented in \fB"dlls/advapi32/registry.c"\fR. .PP Debug channel \fB"reg"\fR.