cachedIsReadOnly property
bool
get
cachedIsReadOnly
Retrieves a cached value that indicates whether the value of the element is read-only.
To learn more, see learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationvaluepattern-get_cachedisreadonly.
Implementation
bool get cachedIsReadOnly {
final retVal = adaptiveCalloc<Int32>();
final hr$ = HRESULT(_get_CachedIsReadOnlyFn(ptr, retVal));
if (hr$.isError) {
free(retVal);
throw WindowsException(hr$);
}
final result$ = retVal.value;
free(retVal);
return result$ != FALSE;
}