getVarDesc method

int getVarDesc(
  1. int index,
  2. Pointer<Pointer<VARDESC>> ppVarDesc
)

Implementation

int getVarDesc(
        int index, Pointer<Pointer<VARDESC>> ppVarDesc) =>
    (ptr.ref.vtable + 6)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(Pointer, Uint32 index,
                            Pointer<Pointer<VARDESC>> ppVarDesc)>>>()
            .value
            .asFunction<
                int Function(Pointer, int index,
                    Pointer<Pointer<VARDESC>> ppVarDesc)>()(
        ptr.ref.lpVtbl, index, ppVarDesc);