getItemAt method

int getItemAt(
  1. int dwIndex,
  2. Pointer<Pointer<COMObject>> ppsi
)

Implementation

int getItemAt(int dwIndex, Pointer<Pointer<COMObject>> ppsi) => ptr.ref.vtable
        .elementAt(8)
        .cast<
            Pointer<
                NativeFunction<
                    Int32 Function(Pointer, Uint32 dwIndex,
                        Pointer<Pointer<COMObject>> ppsi)>>>()
        .value
        .asFunction<
            int Function(
                Pointer, int dwIndex, Pointer<Pointer<COMObject>> ppsi)>()(
    ptr.ref.lpVtbl, dwIndex, ppsi);