GetVarDesc method

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

Implementation

int GetVarDesc(int index, Pointer<Pointer<VARDESC>> ppVarDesc) => ptr
        .ref.vtable
        .elementAt(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);