getEnclosingElement method

int getEnclosingElement(
  1. Pointer<Pointer<COMObject>> enclosingElement
)

Implementation

int getEnclosingElement(Pointer<Pointer<COMObject>> enclosingElement) =>
    (ptr.ref.vtable + 11)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(Pointer,
                            Pointer<Pointer<COMObject>> enclosingElement)>>>()
            .value
            .asFunction<
                int Function(
                    Pointer, Pointer<Pointer<COMObject>> enclosingElement)>()(
        ptr.ref.lpVtbl, enclosingElement);