RegRenameKey function advapi32

int RegRenameKey(
  1. int hKey,
  2. Pointer<Utf16> lpSubKeyName,
  3. Pointer<Utf16> lpNewKeyName
)

Changes the name of the specified registry key.

LSTATUS RegRenameKey(
  HKEY    hKey,
  LPCWSTR lpSubKeyName,
  LPCWSTR lpNewKeyName
);

Implementation

int RegRenameKey(
        int hKey, Pointer<Utf16> lpSubKeyName, Pointer<Utf16> lpNewKeyName) =>
    _RegRenameKey(hKey, lpSubKeyName, lpNewKeyName);