currentBoundingRectangle property
RECT
get
currentBoundingRectangle
Implementation
RECT get currentBoundingRectangle {
final retValuePtr = calloc<RECT>();
try {
final hr = (ptr.ref.vtable + 43)
.cast<
Pointer<
NativeFunction<
Int32 Function(Pointer, Pointer<RECT> retVal)>>>()
.value
.asFunction<int Function(Pointer, Pointer<RECT> retVal)>()(
ptr.ref.lpVtbl, retValuePtr);
if (FAILED(hr)) throw WindowsException(hr);
final retValue = retValuePtr.ref;
return retValue;
} finally {
free(retValuePtr);
}
}