Reference

RegSaveKeyW(3w)

NAME

RegSaveKeyW (ADVAPI32.@)

SYNOPSIS

LSTATUS RegSaveKeyW
(
HKEY hkey,
LPCWSTR file,
LPSECURITY_ATTRIBUTES sa
)

DESCRIPTION

Save a key and all of its subkeys and values to a new file in the standard format.

PARAMS

hkey [In] Handle of key where save begins.

lpFile [In] Address of filename to save to.

sa [In] Address of security structure.

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