RegDeleteKeyEx function advapi32
Deletes a subkey and its values from the specified platform-specific view of the registry. Note that key names are not case sensitive.
LSTATUS RegDeleteKeyExW(
HKEY hKey,
LPCWSTR lpSubKey,
REGSAM samDesired,
DWORD Reserved);
Implementation
int RegDeleteKeyEx(
int hKey, Pointer<Utf16> lpSubKey, int samDesired, int Reserved) =>
_RegDeleteKeyEx(hKey, lpSubKey, samDesired, Reserved);