getCachedPropertyValueEx method

int getCachedPropertyValueEx(
  1. int propertyId,
  2. int ignoreDefaultValue,
  3. Pointer<VARIANT> retVal
)

Implementation

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