.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH RegReplaceKeyW 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBRegReplaceKeyW\fR (ADVAPI32.@) .SH SYNOPSIS LSTATUS RegReplaceKeyW ( HKEY \fIhkey\fR, LPCWSTR \fIlpSubKey\fR, LPCWSTR \fIlpNewFile\fR, LPCWSTR \fIlpOldFile\fR ) .SH DESCRIPTION .PP Replace the file backing a registry key and all its subkeys with another file. .SH PARAMS \fIhkey\fR \fB[In]\fR Handle of open key. .PP \fIlpSubKey\fR \fB[In]\fR Address of name of subkey. .PP \fIlpNewFile\fR \fB[In]\fR Address of filename for file with new data. .PP \fIlpOldFile\fR \fB[In]\fR Address of filename for backup file. .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.