int resolve(int fFlags) => (ptr.ref.vtable + 19) .cast<Pointer<NativeFunction<Int32 Function(Pointer, Int32 fFlags)>>>() .value .asFunction<int Function(Pointer, int fFlags)>()(ptr.ref.lpVtbl, fFlags);