RegConnectRegistry function advapi32

int RegConnectRegistry(
  1. Pointer<Utf16> lpMachineName,
  2. int hKey,
  3. Pointer<IntPtr> phkResult
)

Establishes a connection to a predefined registry key on another computer.

LSTATUS RegConnectRegistryW(
  LPCWSTR lpMachineName,
  HKEY    hKey,
  PHKEY   phkResult
);

Implementation

int RegConnectRegistry(
  Pointer<Utf16> lpMachineName,
  int hKey,
  Pointer<IntPtr> phkResult,
) => _RegConnectRegistry(lpMachineName, hKey, phkResult);