addPropertyChangedEventHandler method

int addPropertyChangedEventHandler(
  1. Pointer<COMObject> element,
  2. int scope,
  3. Pointer<COMObject> cacheRequest,
  4. Pointer<COMObject> handler,
  5. Pointer<SAFEARRAY> propertyArray,
)

Implementation

int addPropertyChangedEventHandler(
        Pointer<COMObject> element,
        int scope,
        Pointer<COMObject> cacheRequest,
        Pointer<COMObject> handler,
        Pointer<SAFEARRAY> propertyArray) =>
    (ptr.ref.vtable + 35)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(
                            Pointer,
                            Pointer<COMObject> element,
                            Int32 scope,
                            Pointer<COMObject> cacheRequest,
                            Pointer<COMObject> handler,
                            Pointer<SAFEARRAY> propertyArray)>>>()
            .value
            .asFunction<
                int Function(
                    Pointer,
                    Pointer<COMObject> element,
                    int scope,
                    Pointer<COMObject> cacheRequest,
                    Pointer<COMObject> handler,
                    Pointer<SAFEARRAY> propertyArray)>()(
        ptr.ref.lpVtbl, element, scope, cacheRequest, handler, propertyArray);