cachedIsPeripheral property
bool
get
cachedIsPeripheral
Retrieves the cached peripheral UI indicator for the element.
To learn more, see learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement3-get_cachedisperipheral.
Implementation
bool get cachedIsPeripheral {
final retVal = adaptiveCalloc<Int32>();
final hr$ = HRESULT(_get_CachedIsPeripheralFn(ptr, retVal));
if (hr$.isError) {
free(retVal);
throw WindowsException(hr$);
}
final result$ = retVal.value;
free(retVal);
return result$ != FALSE;
}