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