getCachedPattern method

int getCachedPattern(
  1. int patternId,
  2. Pointer<Pointer<COMObject>> patternObject
)

Implementation

int getCachedPattern(
        int patternId, Pointer<Pointer<COMObject>> patternObject) =>
    (ptr.ref.vtable + 17)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(Pointer, Uint32 patternId,
                            Pointer<Pointer<COMObject>> patternObject)>>>()
            .value
            .asFunction<
                int Function(Pointer, int patternId,
                    Pointer<Pointer<COMObject>> patternObject)>()(
        ptr.ref.lpVtbl, patternId, patternObject);