getNames method

int getNames(
  1. int memid,
  2. Pointer<Pointer<Utf16>> rgBstrNames,
  3. int cMaxNames,
  4. Pointer<Uint32> pcNames,
)

Implementation

int getNames(int memid, Pointer<Pointer<Utf16>> rgBstrNames, int cMaxNames,
        Pointer<Uint32> pcNames) =>
    (ptr.ref.vtable + 7)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(
                            Pointer,
                            Int32 memid,
                            Pointer<Pointer<Utf16>> rgBstrNames,
                            Uint32 cMaxNames,
                            Pointer<Uint32> pcNames)>>>()
            .value
            .asFunction<
                int Function(
                    Pointer,
                    int memid,
                    Pointer<Pointer<Utf16>> rgBstrNames,
                    int cMaxNames,
                    Pointer<Uint32> pcNames)>()(
        ptr.ref.lpVtbl, memid, rgBstrNames, cMaxNames, pcNames);