RegDeleteKeyEx function advapi32
Deletes a subkey and its values from the specified platform-specific view of the registry.
To learn more, see learn.microsoft.com/windows/win32/api/winreg/nf-winreg-regdeletekeyexw.
Implementation
@pragma('vm:prefer-inline')
WIN32_ERROR RegDeleteKeyEx(HKEY hKey, PCWSTR lpSubKey, int samDesired) =>
.new(_RegDeleteKeyEx(hKey, lpSubKey, samDesired, NULL));