cachedFrameworkId property
BSTR
get
cachedFrameworkId
Retrieves the cached name of the underlying UI framework associated with the element.
To learn more, see learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement-get_cachedframeworkid.
Implementation
BSTR get cachedFrameworkId {
final retVal = adaptiveCalloc<Pointer<Utf16>>();
final hr$ = HRESULT(_get_CachedFrameworkIdFn(ptr, retVal));
if (hr$.isError) {
free(retVal);
throw WindowsException(hr$);
}
final result$ = retVal.value;
free(retVal);
return .new(result$);
}