RegDeleteKeyValue function advapi32
Removes the specified value from the specified registry key and subkey.
To learn more, see learn.microsoft.com/windows/win32/api/winreg/nf-winreg-regdeletekeyvaluew.
Implementation
@pragma('vm:prefer-inline')
WIN32_ERROR RegDeleteKeyValue(
HKEY hKey,
PCWSTR? lpSubKey,
PCWSTR? lpValueName,
) =>
.new(_RegDeleteKeyValue(hKey, lpSubKey ?? nullptr, lpValueName ?? nullptr));