getAt method

int getAt(
  1. int ulIndex,
  2. Pointer<Pointer<COMObject>> ppSensor
)

Implementation

int getAt(int ulIndex, Pointer<Pointer<COMObject>> ppSensor) =>
    (ptr.ref.vtable + 3)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(Pointer, Uint32 ulIndex,
                            Pointer<Pointer<COMObject>> ppSensor)>>>()
            .value
            .asFunction<
                int Function(Pointer, int ulIndex,
                    Pointer<Pointer<COMObject>> ppSensor)>()(
        ptr.ref.lpVtbl, ulIndex, ppSensor);