RegCopyTree function Null safety advapi32

int RegCopyTree(
  1. int hKeySrc,
  2. Pointer<Utf16> lpSubKey,
  3. int hKeyDest
)

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);