getCachedPropertyValue method

int getCachedPropertyValue(
  1. int propertyId,
  2. Pointer<VARIANT> retVal
)

Implementation

int getCachedPropertyValue(int propertyId, Pointer<VARIANT> retVal) =>
    (ptr.ref.vtable + 12)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(Pointer, Uint32 propertyId,
                            Pointer<VARIANT> retVal)>>>()
            .value
            .asFunction<
                int Function(
                    Pointer, int propertyId, Pointer<VARIANT> retVal)>()(
        ptr.ref.lpVtbl, propertyId, retVal);