getRefTypeOfImplType method

int getRefTypeOfImplType(
  1. int index,
  2. Pointer<Uint32> pRefType
)

Implementation

int getRefTypeOfImplType(int index, Pointer<Uint32> pRefType) =>
    (ptr.ref.vtable + 8)
        .cast<
            Pointer<
                NativeFunction<
                    Int32 Function(
                        Pointer, Uint32 index, Pointer<Uint32> pRefType)>>>()
        .value
        .asFunction<
            int Function(Pointer, int index,
                Pointer<Uint32> pRefType)>()(ptr.ref.lpVtbl, index, pRefType);