RegOpenKeyTransacted function Null safety advapi32
Opens the specified registry key and associates it with a transaction. Note that key names are not case sensitive.
LSTATUS RegOpenKeyTransactedW(
HKEY hKey,
LPCWSTR lpSubKey,
DWORD ulOptions,
REGSAM samDesired,
PHKEY phkResult,
HANDLE hTransaction,
PVOID pExtendedParemeter);
Implementation
int RegOpenKeyTransacted(
int hKey,
Pointer<Utf16> lpSubKey,
int ulOptions,
int samDesired,
Pointer<IntPtr> phkResult,
int hTransaction,
Pointer pExtendedParemeter) {
final _RegOpenKeyTransacted = _advapi32.lookupFunction<
Int32 Function(
IntPtr hKey,
Pointer<Utf16> lpSubKey,
Uint32 ulOptions,
Uint32 samDesired,
Pointer<IntPtr> phkResult,
IntPtr hTransaction,
Pointer pExtendedParemeter),
int Function(
int hKey,
Pointer<Utf16> lpSubKey,
int ulOptions,
int samDesired,
Pointer<IntPtr> phkResult,
int hTransaction,
Pointer pExtendedParemeter)>('RegOpenKeyTransactedW');
return _RegOpenKeyTransacted(hKey, lpSubKey, ulOptions, samDesired, phkResult,
hTransaction, pExtendedParemeter);
}