getRefTypeInfo method

int getRefTypeInfo(
  1. int hRefType,
  2. Pointer<Pointer<COMObject>> ppTInfo
)

Implementation

int getRefTypeInfo(int hRefType, Pointer<Pointer<COMObject>> ppTInfo) =>
    ptr.ref.vtable
            .elementAt(14)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(Pointer, Uint32 hRefType,
                            Pointer<Pointer<COMObject>> ppTInfo)>>>()
            .value
            .asFunction<
                int Function(Pointer, int hRefType,
                    Pointer<Pointer<COMObject>> ppTInfo)>()(
        ptr.ref.lpVtbl, hRefType, ppTInfo);