Struct windows::Win32::UI::Accessibility::IUIAutomationElement5
pub struct IUIAutomationElement5(/* private fields */);
Implementations§
§impl IUIAutomationElement5
impl IUIAutomationElement5
pub unsafe fn CurrentLandmarkType(&self) -> Result<UIA_LANDMARKTYPE_ID>
pub unsafe fn CurrentLocalizedLandmarkType(&self) -> Result<BSTR>
pub unsafe fn CachedLandmarkType(&self) -> Result<UIA_LANDMARKTYPE_ID>
pub unsafe fn CachedLocalizedLandmarkType(&self) -> Result<BSTR>
Methods from Deref<Target = IUIAutomationElement4>§
pub unsafe fn CurrentPositionInSet(&self) -> Result<i32>
pub unsafe fn CurrentSizeOfSet(&self) -> Result<i32>
pub unsafe fn CurrentLevel(&self) -> Result<i32>
pub unsafe fn CurrentAnnotationTypes(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn CurrentAnnotationObjects( &self, ) -> Result<IUIAutomationElementArray>
pub unsafe fn CachedPositionInSet(&self) -> Result<i32>
pub unsafe fn CachedSizeOfSet(&self) -> Result<i32>
pub unsafe fn CachedLevel(&self) -> Result<i32>
pub unsafe fn CachedAnnotationTypes(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn CachedAnnotationObjects( &self, ) -> Result<IUIAutomationElementArray>
Methods from Deref<Target = IUIAutomationElement3>§
pub unsafe fn ShowContextMenu(&self) -> Result<()>
pub unsafe fn CurrentIsPeripheral(&self) -> Result<BOOL>
pub unsafe fn CachedIsPeripheral(&self) -> Result<BOOL>
Methods from Deref<Target = IUIAutomationElement2>§
pub unsafe fn CurrentOptimizeForVisualContent(&self) -> Result<BOOL>
pub unsafe fn CachedOptimizeForVisualContent(&self) -> Result<BOOL>
pub unsafe fn CurrentLiveSetting(&self) -> Result<LiveSetting>
pub unsafe fn CachedLiveSetting(&self) -> Result<LiveSetting>
pub unsafe fn CurrentFlowsFrom(&self) -> Result<IUIAutomationElementArray>
pub unsafe fn CachedFlowsFrom(&self) -> Result<IUIAutomationElementArray>
Methods from Deref<Target = IUIAutomationElement>§
pub unsafe fn SetFocus(&self) -> Result<()>
pub unsafe fn GetRuntimeId(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn FindFirst<P0>(
&self,
scope: TreeScope,
condition: P0,
) -> Result<IUIAutomationElement>where
P0: Param<IUIAutomationCondition>,
pub unsafe fn FindAll<P0>(
&self,
scope: TreeScope,
condition: P0,
) -> Result<IUIAutomationElementArray>where
P0: Param<IUIAutomationCondition>,
pub unsafe fn FindFirstBuildCache<P0, P1>(
&self,
scope: TreeScope,
condition: P0,
cacherequest: P1,
) -> Result<IUIAutomationElement>where
P0: Param<IUIAutomationCondition>,
P1: Param<IUIAutomationCacheRequest>,
pub unsafe fn FindAllBuildCache<P0, P1>(
&self,
scope: TreeScope,
condition: P0,
cacherequest: P1,
) -> Result<IUIAutomationElementArray>where
P0: Param<IUIAutomationCondition>,
P1: Param<IUIAutomationCacheRequest>,
pub unsafe fn BuildUpdatedCache<P0>(
&self,
cacherequest: P0,
) -> Result<IUIAutomationElement>where
P0: Param<IUIAutomationCacheRequest>,
pub unsafe fn GetCurrentPropertyValue( &self, propertyid: UIA_PROPERTY_ID, ) -> Result<VARIANT>
pub unsafe fn GetCurrentPropertyValueEx<P0>(
&self,
propertyid: UIA_PROPERTY_ID,
ignoredefaultvalue: P0,
) -> Result<VARIANT>where
P0: Param<BOOL>,
pub unsafe fn GetCachedPropertyValue( &self, propertyid: UIA_PROPERTY_ID, ) -> Result<VARIANT>
pub unsafe fn GetCachedPropertyValueEx<P0>(
&self,
propertyid: UIA_PROPERTY_ID,
ignoredefaultvalue: P0,
) -> Result<VARIANT>where
P0: Param<BOOL>,
pub unsafe fn GetCurrentPatternAs<T>(
&self,
patternid: UIA_PATTERN_ID,
) -> Result<T>where
T: Interface,
pub unsafe fn GetCachedPatternAs<T>(
&self,
patternid: UIA_PATTERN_ID,
) -> Result<T>where
T: Interface,
pub unsafe fn GetCurrentPattern( &self, patternid: UIA_PATTERN_ID, ) -> Result<IUnknown>
pub unsafe fn GetCachedPattern( &self, patternid: UIA_PATTERN_ID, ) -> Result<IUnknown>
pub unsafe fn GetCachedParent(&self) -> Result<IUIAutomationElement>
pub unsafe fn GetCachedChildren(&self) -> Result<IUIAutomationElementArray>
pub unsafe fn CurrentProcessId(&self) -> Result<i32>
pub unsafe fn CurrentControlType(&self) -> Result<UIA_CONTROLTYPE_ID>
pub unsafe fn CurrentLocalizedControlType(&self) -> Result<BSTR>
pub unsafe fn CurrentName(&self) -> Result<BSTR>
pub unsafe fn CurrentAcceleratorKey(&self) -> Result<BSTR>
pub unsafe fn CurrentAccessKey(&self) -> Result<BSTR>
pub unsafe fn CurrentHasKeyboardFocus(&self) -> Result<BOOL>
pub unsafe fn CurrentIsKeyboardFocusable(&self) -> Result<BOOL>
pub unsafe fn CurrentIsEnabled(&self) -> Result<BOOL>
pub unsafe fn CurrentAutomationId(&self) -> Result<BSTR>
pub unsafe fn CurrentClassName(&self) -> Result<BSTR>
pub unsafe fn CurrentHelpText(&self) -> Result<BSTR>
pub unsafe fn CurrentCulture(&self) -> Result<i32>
pub unsafe fn CurrentIsControlElement(&self) -> Result<BOOL>
pub unsafe fn CurrentIsContentElement(&self) -> Result<BOOL>
pub unsafe fn CurrentIsPassword(&self) -> Result<BOOL>
pub unsafe fn CurrentNativeWindowHandle(&self) -> Result<HWND>
pub unsafe fn CurrentItemType(&self) -> Result<BSTR>
pub unsafe fn CurrentIsOffscreen(&self) -> Result<BOOL>
pub unsafe fn CurrentOrientation(&self) -> Result<OrientationType>
pub unsafe fn CurrentFrameworkId(&self) -> Result<BSTR>
pub unsafe fn CurrentIsRequiredForForm(&self) -> Result<BOOL>
pub unsafe fn CurrentItemStatus(&self) -> Result<BSTR>
pub unsafe fn CurrentBoundingRectangle(&self) -> Result<RECT>
pub unsafe fn CurrentLabeledBy(&self) -> Result<IUIAutomationElement>
pub unsafe fn CurrentAriaRole(&self) -> Result<BSTR>
pub unsafe fn CurrentAriaProperties(&self) -> Result<BSTR>
pub unsafe fn CurrentIsDataValidForForm(&self) -> Result<BOOL>
pub unsafe fn CurrentControllerFor(&self) -> Result<IUIAutomationElementArray>
pub unsafe fn CurrentDescribedBy(&self) -> Result<IUIAutomationElementArray>
pub unsafe fn CurrentFlowsTo(&self) -> Result<IUIAutomationElementArray>
pub unsafe fn CurrentProviderDescription(&self) -> Result<BSTR>
pub unsafe fn CachedProcessId(&self) -> Result<i32>
pub unsafe fn CachedControlType(&self) -> Result<UIA_CONTROLTYPE_ID>
pub unsafe fn CachedLocalizedControlType(&self) -> Result<BSTR>
pub unsafe fn CachedName(&self) -> Result<BSTR>
pub unsafe fn CachedAcceleratorKey(&self) -> Result<BSTR>
pub unsafe fn CachedAccessKey(&self) -> Result<BSTR>
pub unsafe fn CachedHasKeyboardFocus(&self) -> Result<BOOL>
pub unsafe fn CachedIsKeyboardFocusable(&self) -> Result<BOOL>
pub unsafe fn CachedIsEnabled(&self) -> Result<BOOL>
pub unsafe fn CachedAutomationId(&self) -> Result<BSTR>
pub unsafe fn CachedClassName(&self) -> Result<BSTR>
pub unsafe fn CachedHelpText(&self) -> Result<BSTR>
pub unsafe fn CachedCulture(&self) -> Result<i32>
pub unsafe fn CachedIsControlElement(&self) -> Result<BOOL>
pub unsafe fn CachedIsContentElement(&self) -> Result<BOOL>
pub unsafe fn CachedIsPassword(&self) -> Result<BOOL>
pub unsafe fn CachedNativeWindowHandle(&self) -> Result<HWND>
pub unsafe fn CachedItemType(&self) -> Result<BSTR>
pub unsafe fn CachedIsOffscreen(&self) -> Result<BOOL>
pub unsafe fn CachedOrientation(&self) -> Result<OrientationType>
pub unsafe fn CachedFrameworkId(&self) -> Result<BSTR>
pub unsafe fn CachedIsRequiredForForm(&self) -> Result<BOOL>
pub unsafe fn CachedItemStatus(&self) -> Result<BSTR>
pub unsafe fn CachedBoundingRectangle(&self) -> Result<RECT>
pub unsafe fn CachedLabeledBy(&self) -> Result<IUIAutomationElement>
pub unsafe fn CachedAriaRole(&self) -> Result<BSTR>
pub unsafe fn CachedAriaProperties(&self) -> Result<BSTR>
pub unsafe fn CachedIsDataValidForForm(&self) -> Result<BOOL>
pub unsafe fn CachedControllerFor(&self) -> Result<IUIAutomationElementArray>
pub unsafe fn CachedDescribedBy(&self) -> Result<IUIAutomationElementArray>
pub unsafe fn CachedFlowsTo(&self) -> Result<IUIAutomationElementArray>
pub unsafe fn CachedProviderDescription(&self) -> Result<BSTR>
pub unsafe fn GetClickablePoint(&self, clickable: *mut POINT) -> Result<BOOL>
Trait Implementations§
§impl CanInto<IUIAutomationElement> for IUIAutomationElement5
impl CanInto<IUIAutomationElement> for IUIAutomationElement5
§impl CanInto<IUIAutomationElement2> for IUIAutomationElement5
impl CanInto<IUIAutomationElement2> for IUIAutomationElement5
§impl CanInto<IUIAutomationElement3> for IUIAutomationElement5
impl CanInto<IUIAutomationElement3> for IUIAutomationElement5
§impl CanInto<IUIAutomationElement4> for IUIAutomationElement5
impl CanInto<IUIAutomationElement4> for IUIAutomationElement5
§impl CanInto<IUIAutomationElement5> for IUIAutomationElement6
impl CanInto<IUIAutomationElement5> for IUIAutomationElement6
§impl CanInto<IUIAutomationElement5> for IUIAutomationElement7
impl CanInto<IUIAutomationElement5> for IUIAutomationElement7
§impl CanInto<IUIAutomationElement5> for IUIAutomationElement8
impl CanInto<IUIAutomationElement5> for IUIAutomationElement8
§impl CanInto<IUIAutomationElement5> for IUIAutomationElement9
impl CanInto<IUIAutomationElement5> for IUIAutomationElement9
§impl CanInto<IUnknown> for IUIAutomationElement5
impl CanInto<IUnknown> for IUIAutomationElement5
§impl Clone for IUIAutomationElement5
impl Clone for IUIAutomationElement5
§fn clone(&self) -> IUIAutomationElement5
fn clone(&self) -> IUIAutomationElement5
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IUIAutomationElement5
impl Debug for IUIAutomationElement5
§impl Deref for IUIAutomationElement5
impl Deref for IUIAutomationElement5
§impl From<&IUIAutomationElement5> for &IUIAutomationElement
impl From<&IUIAutomationElement5> for &IUIAutomationElement
§fn from(value: &IUIAutomationElement5) -> Self
fn from(value: &IUIAutomationElement5) -> Self
Converts to this type from the input type.
§impl From<&IUIAutomationElement5> for &IUIAutomationElement2
impl From<&IUIAutomationElement5> for &IUIAutomationElement2
§fn from(value: &IUIAutomationElement5) -> Self
fn from(value: &IUIAutomationElement5) -> Self
Converts to this type from the input type.
§impl From<&IUIAutomationElement5> for &IUIAutomationElement3
impl From<&IUIAutomationElement5> for &IUIAutomationElement3
§fn from(value: &IUIAutomationElement5) -> Self
fn from(value: &IUIAutomationElement5) -> Self
Converts to this type from the input type.
§impl From<&IUIAutomationElement5> for &IUIAutomationElement4
impl From<&IUIAutomationElement5> for &IUIAutomationElement4
§fn from(value: &IUIAutomationElement5) -> Self
fn from(value: &IUIAutomationElement5) -> Self
Converts to this type from the input type.
§impl From<&IUIAutomationElement5> for &IUnknown
impl From<&IUIAutomationElement5> for &IUnknown
§fn from(value: &IUIAutomationElement5) -> Self
fn from(value: &IUIAutomationElement5) -> Self
Converts to this type from the input type.
§impl From<&IUIAutomationElement6> for &IUIAutomationElement5
impl From<&IUIAutomationElement6> for &IUIAutomationElement5
§fn from(value: &IUIAutomationElement6) -> Self
fn from(value: &IUIAutomationElement6) -> Self
Converts to this type from the input type.
§impl From<&IUIAutomationElement7> for &IUIAutomationElement5
impl From<&IUIAutomationElement7> for &IUIAutomationElement5
§fn from(value: &IUIAutomationElement7) -> Self
fn from(value: &IUIAutomationElement7) -> Self
Converts to this type from the input type.
§impl From<&IUIAutomationElement8> for &IUIAutomationElement5
impl From<&IUIAutomationElement8> for &IUIAutomationElement5
§fn from(value: &IUIAutomationElement8) -> Self
fn from(value: &IUIAutomationElement8) -> Self
Converts to this type from the input type.
§impl From<&IUIAutomationElement9> for &IUIAutomationElement5
impl From<&IUIAutomationElement9> for &IUIAutomationElement5
§fn from(value: &IUIAutomationElement9) -> Self
fn from(value: &IUIAutomationElement9) -> Self
Converts to this type from the input type.
§impl From<IUIAutomationElement5> for IUIAutomationElement
impl From<IUIAutomationElement5> for IUIAutomationElement
§fn from(value: IUIAutomationElement5) -> Self
fn from(value: IUIAutomationElement5) -> Self
Converts to this type from the input type.
§impl From<IUIAutomationElement5> for IUIAutomationElement2
impl From<IUIAutomationElement5> for IUIAutomationElement2
§fn from(value: IUIAutomationElement5) -> Self
fn from(value: IUIAutomationElement5) -> Self
Converts to this type from the input type.
§impl From<IUIAutomationElement5> for IUIAutomationElement3
impl From<IUIAutomationElement5> for IUIAutomationElement3
§fn from(value: IUIAutomationElement5) -> Self
fn from(value: IUIAutomationElement5) -> Self
Converts to this type from the input type.
§impl From<IUIAutomationElement5> for IUIAutomationElement4
impl From<IUIAutomationElement5> for IUIAutomationElement4
§fn from(value: IUIAutomationElement5) -> Self
fn from(value: IUIAutomationElement5) -> Self
Converts to this type from the input type.
§impl From<IUIAutomationElement5> for IUnknown
impl From<IUIAutomationElement5> for IUnknown
§fn from(value: IUIAutomationElement5) -> Self
fn from(value: IUIAutomationElement5) -> Self
Converts to this type from the input type.
§impl From<IUIAutomationElement6> for IUIAutomationElement5
impl From<IUIAutomationElement6> for IUIAutomationElement5
§fn from(value: IUIAutomationElement6) -> Self
fn from(value: IUIAutomationElement6) -> Self
Converts to this type from the input type.
§impl From<IUIAutomationElement7> for IUIAutomationElement5
impl From<IUIAutomationElement7> for IUIAutomationElement5
§fn from(value: IUIAutomationElement7) -> Self
fn from(value: IUIAutomationElement7) -> Self
Converts to this type from the input type.
§impl From<IUIAutomationElement8> for IUIAutomationElement5
impl From<IUIAutomationElement8> for IUIAutomationElement5
§fn from(value: IUIAutomationElement8) -> Self
fn from(value: IUIAutomationElement8) -> Self
Converts to this type from the input type.
§impl From<IUIAutomationElement9> for IUIAutomationElement5
impl From<IUIAutomationElement9> for IUIAutomationElement5
§fn from(value: IUIAutomationElement9) -> Self
fn from(value: IUIAutomationElement9) -> Self
Converts to this type from the input type.
§impl Interface for IUIAutomationElement5
impl Interface for IUIAutomationElement5
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IUIAutomationElement5
impl PartialEq for IUIAutomationElement5
§fn eq(&self, other: &IUIAutomationElement5) -> bool
fn eq(&self, other: &IUIAutomationElement5) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IUIAutomationElement5
impl StructuralPartialEq for IUIAutomationElement5
Auto Trait Implementations§
impl Freeze for IUIAutomationElement5
impl RefUnwindSafe for IUIAutomationElement5
impl !Send for IUIAutomationElement5
impl !Sync for IUIAutomationElement5
impl Unpin for IUIAutomationElement5
impl UnwindSafe for IUIAutomationElement5
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)