RegEnumValueW method

int RegEnumValueW(
  1. Pointer<HKEY__> hKey,
  2. int dwIndex,
  3. Pointer<Uint16> lpValueName,
  4. Pointer<Uint64> lpcchValueName,
  5. Pointer<Uint64> lpReserved,
  6. Pointer<Uint64> lpType,
  7. Pointer<Uint8> lpData,
  8. Pointer<Uint64> lpcbData,
)

Implementation

int RegEnumValueW(
  ffi.Pointer<HKEY__> hKey,
  int dwIndex,
  ffi.Pointer<ffi.Uint16> lpValueName,
  ffi.Pointer<ffi.Uint64> lpcchValueName,
  ffi.Pointer<ffi.Uint64> lpReserved,
  ffi.Pointer<ffi.Uint64> lpType,
  ffi.Pointer<ffi.Uint8> lpData,
  ffi.Pointer<ffi.Uint64> lpcbData,
) {
  return (_RegEnumValueW ??=
      _dylib.lookupFunction<_c_RegEnumValueW, _dart_RegEnumValueW>(
          'RegEnumValueW'))(
    hKey,
    dwIndex,
    lpValueName,
    lpcchValueName,
    lpReserved,
    lpType,
    lpData,
    lpcbData,
  );
}