RegConnectRegistry function advapi32
WIN32_ERROR
RegConnectRegistry(
- PCWSTR? lpMachineName,
- HKEY hKey,
- Pointer<
Pointer< phkResultNativeType> >
Establishes a connection to a predefined registry key on another computer.
To learn more, see learn.microsoft.com/windows/win32/api/winreg/nf-winreg-regconnectregistryw.
Implementation
@pragma('vm:prefer-inline')
WIN32_ERROR RegConnectRegistry(
PCWSTR? lpMachineName,
HKEY hKey,
Pointer<Pointer> phkResult,
) =>
WIN32_ERROR(_RegConnectRegistry(lpMachineName ?? nullptr, hKey, phkResult));