reportInterval property
int
get
reportInterval
Implementation
int get reportInterval {
final retValuePtr = calloc<Uint32>();
try {
final hr = ptr.ref.vtable
.elementAt(10)
.cast<
Pointer<
NativeFunction<HRESULT Function(Pointer, Pointer<Uint32>)>>>()
.value
.asFunction<
int Function(
Pointer, Pointer<Uint32>)>()(ptr.ref.lpVtbl, retValuePtr);
if (FAILED(hr)) throw WindowsException(hr);
final retValue = retValuePtr.value;
return retValue;
} finally {
free(retValuePtr);
}
}
set
reportInterval
(int value)
Implementation
set reportInterval(int value) {
final hr = ptr.ref.vtable
.elementAt(11)
.cast<Pointer<NativeFunction<HRESULT Function(Pointer, Uint32)>>>()
.value
.asFunction<int Function(Pointer, int)>()(ptr.ref.lpVtbl, value);
if (FAILED(hr)) throw WindowsException(hr);
}