cachedIsPassword property

bool get cachedIsPassword

Retrieves a cached value that indicates whether the element contains a disguised password.

To learn more, see learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement-get_cachedispassword.

Implementation

bool get cachedIsPassword {
  final retVal = adaptiveCalloc<Int32>();
  final hr$ = HRESULT(_get_CachedIsPasswordFn(ptr, retVal));
  if (hr$.isError) {
    free(retVal);
    throw WindowsException(hr$);
  }
  final result$ = retVal.value;
  free(retVal);
  return result$ != FALSE;
}