getWinEventsForAutomationEvent method

int getWinEventsForAutomationEvent(
  1. int eventId,
  2. int propertyId,
  3. Pointer<Pointer<SAFEARRAY>> winEvents
)

Implementation

int
    getWinEventsForAutomationEvent(int eventId, int propertyId,
            Pointer<Pointer<SAFEARRAY>> winEvents) =>
        (ptr.ref.vtable + 15)
                .cast<
                    Pointer<
                        NativeFunction<
                            Int32 Function(
                                Pointer,
                                Uint32 eventId,
                                Uint32 propertyId,
                                Pointer<Pointer<SAFEARRAY>> winEvents)>>>()
                .value
                .asFunction<
                    int Function(Pointer, int eventId, int propertyId,
                        Pointer<Pointer<SAFEARRAY>> winEvents)>()(
            ptr.ref.lpVtbl, eventId, propertyId, winEvents);