cachedItemStatus property
BSTR
get
cachedItemStatus
Retrieves a cached description of the status of an item within an element.
To learn more, see learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement-get_cacheditemstatus.
Implementation
BSTR get cachedItemStatus {
final retVal = adaptiveCalloc<Pointer<Utf16>>();
final hr$ = HRESULT(_get_CachedItemStatusFn(ptr, retVal));
if (hr$.isError) {
free(retVal);
throw WindowsException(hr$);
}
final result$ = retVal.value;
free(retVal);
return .new(result$);
}