RegConnectRegistryExW method

int RegConnectRegistryExW(
  1. Pointer<Uint16> lpMachineName,
  2. Pointer<HKEY__> hKey,
  3. int Flags,
  4. Pointer<Pointer<HKEY__>> phkResult,
)

Implementation

int RegConnectRegistryExW(
  ffi.Pointer<ffi.Uint16> lpMachineName,
  ffi.Pointer<HKEY__> hKey,
  int Flags,
  ffi.Pointer<ffi.Pointer<HKEY__>> phkResult,
) {
  return (_RegConnectRegistryExW ??= _dylib.lookupFunction<
      _c_RegConnectRegistryExW,
      _dart_RegConnectRegistryExW>('RegConnectRegistryExW'))(
    lpMachineName,
    hKey,
    Flags,
    phkResult,
  );
}