cachedBoundingRectangle property
Retrieves the cached coordinates of the rectangle that completely encloses the element.
To learn more, see learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement-get_cachedboundingrectangle.
Implementation
Pointer<RECT> get cachedBoundingRectangle {
final retVal = adaptiveCalloc<RECT>();
final hr$ = HRESULT(_get_CachedBoundingRectangleFn(ptr, retVal));
if (hr$.isError) {
free(retVal);
throw WindowsException(hr$);
}
return retVal;
}