Reference

RegRestoreKeyW(3w)

NAME

RegRestoreKeyW (ADVAPI32.@)

SYNOPSIS

LSTATUS RegRestoreKeyW
(
HKEY hkey,
LPCWSTR lpFile,
DWORD dwFlags
)

DESCRIPTION

Read the registry information from a file and copy it over a key.

PARAMS

hkey [In] Handle of key where restore begins.

lpFile [In] Address of filename containing saved tree.

dwFlags [In] Optional flags.

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".

History