transactionTimeout property
int
get
transactionTimeout
Implementation
int get transactionTimeout {
final retValuePtr = calloc<Uint32>();
try {
final hr = (ptr.ref.vtable + 62)
.cast<
Pointer<
NativeFunction<Int32 Function(Pointer, Pointer<Uint32> timeout)>
>
>()
.value
.asFunction<int Function(Pointer, Pointer<Uint32> timeout)>()(
ptr.ref.lpVtbl,
retValuePtr,
);
if (FAILED(hr)) throw WindowsException(hr);
final retValue = retValuePtr.value;
return retValue;
} finally {
free(retValuePtr);
}
}
set
transactionTimeout
(int value)
Implementation
set transactionTimeout(int value) {
final hr = (ptr.ref.vtable + 63)
.cast<
Pointer<NativeFunction<Int32 Function(Pointer, Uint32 timeout)>>
>()
.value
.asFunction<int Function(Pointer, int timeout)>()(
ptr.ref.lpVtbl,
value,
);
if (FAILED(hr)) throw WindowsException(hr);
}