RegReplaceKeyW3w
Usage
LSTATUS RegReplaceKeyW
(
HKEY hkey,
LPCWSTR lpSubKey,
LPCWSTR lpNewFile,
LPCWSTR lpOldFile
)
Overview
Replace the file backing a registry key and all its subkeys with another file.
Params
hkey [In] Handle of open key.
lpSubKey [In] Address of name of subkey.
lpNewFile [In] Address of filename for file with new data.
lpOldFile [In] Address of filename for backup file.
Returns
Success: ERROR_SUCCESS
Failure: nonzero error code from Winerror.h
Implementation
Declared in "winreg.h".
Implemented in "dlls/advapi32/registry.c".
Debug channel "reg".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.