RegDeleteValue function advapi32
Removes a named value from the specified registry key.
To learn more, see learn.microsoft.com/windows/win32/api/winreg/nf-winreg-regdeletevaluew.
Implementation
@pragma('vm:prefer-inline')
WIN32_ERROR RegDeleteValue(HKEY hKey, PCWSTR? lpValueName) =>
WIN32_ERROR(_RegDeleteValue(hKey, lpValueName ?? nullptr));