removeAutomationEventHandler method

int removeAutomationEventHandler(
  1. int eventId,
  2. Pointer<COMObject> element,
  3. Pointer<COMObject> handler
)

Implementation

int removeAutomationEventHandler(int eventId, Pointer<COMObject> element,
        Pointer<COMObject> handler) =>
    (ptr.ref.vtable + 33)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(
                            Pointer,
                            Uint32 eventId,
                            Pointer<COMObject> element,
                            Pointer<COMObject> handler)>>>()
            .value
            .asFunction<
                int Function(Pointer, int eventId, Pointer<COMObject> element,
                    Pointer<COMObject> handler)>()(
        ptr.ref.lpVtbl, eventId, element, handler);