GetRefTypeOfImplType method

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

Implementation

int GetRefTypeOfImplType(int index, Pointer<Uint32> pRefType) =>
    ptr.ref.vtable
        .elementAt(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);