RegRestoreKey function Null safety advapi32

int RegRestoreKey(
  1. int hKey,
  2. Pointer<Utf16> lpFile,
  3. int dwFlags

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


int RegRestoreKey(int hKey, Pointer<Utf16> lpFile, int dwFlags) =>
    _RegRestoreKey(hKey, lpFile, dwFlags);