RegRestoreKey function advapi32
Reads the registry information in a specified file and copies it over the specified key. This registry information may be in the form of a key and multiple levels of subkeys.
LSTATUS RegRestoreKeyW(
HKEY hKey,
LPCWSTR lpFile,
DWORD dwFlags);
Implementation
int RegRestoreKey(int hKey, Pointer<Utf16> lpFile, int dwFlags) =>
_RegRestoreKey(hKey, lpFile, dwFlags);