getCurrentSelection method

int getCurrentSelection(
  1. Pointer<Pointer<COMObject>> ppsi
)

Implementation

int getCurrentSelection(Pointer<Pointer<COMObject>> ppsi) =>
    (ptr.ref.vtable + 14)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(
                            Pointer, Pointer<Pointer<COMObject>> ppsi)>>>()
            .value
            .asFunction<
                int Function(Pointer, Pointer<Pointer<COMObject>> ppsi)>()(
        ptr.ref.lpVtbl, ppsi);