.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH RegDeleteKeyA 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBRegDeleteKeyA\fR (ADVAPI32.@) .SH SYNOPSIS LSTATUS RegDeleteKeyA ( HKEY \fIhkey\fR, LPCSTR \fIname\fR ) .SH DESCRIPTION .PP Delete a registry key. .SH PARAMS \fIhkey\fR \fB[In]\fR Handle to parent key containing the key to delete. .PP \fIname\fR \fB[In]\fR Name of the key user \fIhkey\fR to delete. .PP .SH NOTES .PP \fBMSDN\fR is wrong when it says that \fIhkey\fR must be opened with the \fBDELETE\fR access right. In reality, it opens a new handle with \fBDELETE\fR access. .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.