GetCurrent method

int GetCurrent(
  1. Pointer<Pointer<COMObject>> dependency
)

Implementation

int GetCurrent(Pointer<Pointer<COMObject>> dependency) => ptr.ref.vtable
        .elementAt(3)
        .cast<
            Pointer<
                NativeFunction<
                    Int32 Function(
                        Pointer, Pointer<Pointer<COMObject>> dependency)>>>()
        .value
        .asFunction<
            int Function(Pointer, Pointer<Pointer<COMObject>> dependency)>()(
    ptr.ref.lpVtbl, dependency);