getPrerequisite method

int getPrerequisite(
  1. Pointer<Utf16> name,
  2. Pointer<Uint64> value
)

Implementation

int getPrerequisite(Pointer<Utf16> name, Pointer<Uint64> value) => ptr
    .ref.vtable
    .elementAt(9)
    .cast<
        Pointer<
            NativeFunction<
                Int32 Function(
                    Pointer, Pointer<Utf16> name, Pointer<Uint64> value)>>>()
    .value
    .asFunction<
        int Function(Pointer, Pointer<Utf16> name,
            Pointer<Uint64> value)>()(ptr.ref.lpVtbl, name, value);