coalesceEvents property

int coalesceEvents

Implementation

int get coalesceEvents {
  final retValuePtr = calloc<Int32>();

  try {
    final hr = (ptr.ref.vtable + 75)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(Pointer,
                            Pointer<Int32> coalesceEventsOptions)>>>()
            .value
            .asFunction<
                int Function(
                    Pointer, Pointer<Int32> coalesceEventsOptions)>()(
        ptr.ref.lpVtbl, retValuePtr);

    if (FAILED(hr)) throw WindowsException(hr);

    final retValue = retValuePtr.value;
    return retValue;
  } finally {
    free(retValuePtr);
  }
}
void coalesceEvents=(int value)

Implementation

set coalesceEvents(int value) {
  final hr =
      (ptr.ref.vtable + 76)
              .cast<
                  Pointer<
                      NativeFunction<
                          Int32 Function(
                              Pointer, Int32 coalesceEventsOptions)>>>()
              .value
              .asFunction<int Function(Pointer, int coalesceEventsOptions)>()(
          ptr.ref.lpVtbl, value);

  if (FAILED(hr)) throw WindowsException(hr);
}