RegReplaceKeyW (ADVAPI32.@)
LSTATUS RegReplaceKeyW ( HKEY hkey, LPCWSTR lpSubKey, LPCWSTR lpNewFile, LPCWSTR lpOldFile )
Replace the file backing a registry key and all its subkeys with another file.
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. |
Success: ERROR_SUCCESS
Failure: nonzero error code from Winerror.h
Declared in "include/winreg.h". gitlab.winehq.org/wine/wine/blob/master/include/winreg.h
Implemented in "dlls/advapi32/registry.c". gitlab.winehq.org/wine/wine/blob/master/dlls/advapi32/registry.c
Debug channel "reg".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.