RegOpenKeyTransacted function advapi32
WIN32_ERROR
RegOpenKeyTransacted(
- HKEY hKey,
- PCWSTR? lpSubKey,
- int? ulOptions,
- REG_SAM_FLAGS samDesired,
- Pointer<
Pointer< phkResult,NativeType> > - HANDLE hTransaction,
Opens the specified registry key and associates it with a transaction.
To learn more, see learn.microsoft.com/windows/win32/api/winreg/nf-winreg-regopenkeytransactedw.
Implementation
@pragma('vm:prefer-inline')
WIN32_ERROR RegOpenKeyTransacted(
HKEY hKey,
PCWSTR? lpSubKey,
int? ulOptions,
REG_SAM_FLAGS samDesired,
Pointer<Pointer> phkResult,
HANDLE hTransaction,
) => WIN32_ERROR(
_RegOpenKeyTransacted(
hKey,
lpSubKey ?? nullptr,
ulOptions ?? NULL,
samDesired,
phkResult,
hTransaction,
nullptr,
),
);