RegDeleteKey function advapi32
Deletes a subkey and its values.
To learn more, see learn.microsoft.com/windows/win32/api/winreg/nf-winreg-regdeletekeyw.
Implementation
@pragma('vm:prefer-inline')
WIN32_ERROR RegDeleteKey(HKEY hKey, PCWSTR lpSubKey) =>
WIN32_ERROR(_RegDeleteKey(hKey, lpSubKey));