autoCorrect method

int autoCorrect(
  1. Pointer<Utf16> from,
  2. Pointer<Utf16> to
)

Implementation

int autoCorrect(Pointer<Utf16> from, Pointer<Utf16> to) =>
    (ptr.ref.vtable + 8)
        .cast<
            Pointer<
                NativeFunction<
                    Int32 Function(
                        Pointer, Pointer<Utf16> from, Pointer<Utf16> to)>>>()
        .value
        .asFunction<
            int Function(Pointer, Pointer<Utf16> from,
                Pointer<Utf16> to)>()(ptr.ref.lpVtbl, from, to);