addFocusChangedEventHandler method

int addFocusChangedEventHandler(
  1. Pointer<COMObject> cacheRequest,
  2. Pointer<COMObject> handler
)

Implementation

int addFocusChangedEventHandler(
        Pointer<COMObject> cacheRequest, Pointer<COMObject> handler) =>
    (ptr.ref.vtable + 39)
        .cast<
            Pointer<
                NativeFunction<
                    Int32 Function(Pointer, Pointer<COMObject> cacheRequest,
                        Pointer<COMObject> handler)>>>()
        .value
        .asFunction<
            int Function(
                Pointer,
                Pointer<COMObject> cacheRequest,
                Pointer<COMObject>
                    handler)>()(ptr.ref.lpVtbl, cacheRequest, handler);