setInterest method

int setInterest(
  1. int ullEventInterest,
  2. int ullQueuedInterest
)

Implementation

int setInterest(int ullEventInterest, int ullQueuedInterest) =>
    (ptr.ref.vtable + 10)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(Pointer, Uint64 ullEventInterest,
                            Uint64 ullQueuedInterest)>>>()
            .value
            .asFunction<
                int Function(
                    Pointer, int ullEventInterest, int ullQueuedInterest)>()(
        ptr.ref.lpVtbl, ullEventInterest, ullQueuedInterest);