addTextEditTextChangedEventHandler method

int addTextEditTextChangedEventHandler(
  1. Pointer<COMObject> element,
  2. int scope,
  3. int textEditChangeType,
  4. Pointer<COMObject> cacheRequest,
  5. Pointer<COMObject> handler,
)

Implementation

int addTextEditTextChangedEventHandler(
        Pointer<COMObject> element,
        int scope,
        int textEditChangeType,
        Pointer<COMObject> cacheRequest,
        Pointer<COMObject> handler) =>
    (ptr.ref.vtable + 64)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(
                            Pointer,
                            Pointer<COMObject> element,
                            Int32 scope,
                            Int32 textEditChangeType,
                            Pointer<COMObject> cacheRequest,
                            Pointer<COMObject> handler)>>>()
            .value
            .asFunction<
                int Function(
                    Pointer,
                    Pointer<COMObject> element,
                    int scope,
                    int textEditChangeType,
                    Pointer<COMObject> cacheRequest,
                    Pointer<COMObject> handler)>()(ptr.ref.lpVtbl, element,
        scope, textEditChangeType, cacheRequest, handler);