RegCopyTree function advapi32
Copies the specified registry key, along with its values and subkeys, to the specified destination key.
LSTATUS RegCopyTreeW(
HKEY hKeySrc,
LPCWSTR lpSubKey,
HKEY hKeyDest
);
Implementation
int RegCopyTree(int hKeySrc, Pointer<Utf16> lpSubKey, int hKeyDest) =>
_RegCopyTree(hKeySrc, lpSubKey, hKeyDest);