.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH RegSetKeySecurity 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBRegSetKeySecurity\fR (ADVAPI32.@) .SH SYNOPSIS LSTATUS RegSetKeySecurity ( HKEY \fIhkey\fR, SECURITY_INFORMATION \fISecurityInfo\fR, PSECURITY_DESCRIPTOR \fIpSecurityDesc\fR ) .SH DESCRIPTION .PP Set the security of an open registry key. .SH PARAMS \fIhkey\fR \fB[In]\fR Open handle of key to set. .PP \fISecurityInfo\fR \fB[In]\fR Descriptor contents. .PP \fIpSecurityDesc\fR \fB[In]\fR Address of descriptor for key. .PP .SH RETURNS .PP \fBSuccess:\fR \fBERROR_SUCCESS\fR .PP \fBFailure:\fR nonzero error code from Winerror.h .SH IMPLEMENTATION .PP Declared in \fB"winreg.h"\fR. .PP Implemented in \fB"dlls/advapi32/registry.c"\fR. .PP Debug channel \fB"reg"\fR.