Struct IUIAutomationElement9
pub struct IUIAutomationElement9(/* private fields */);
Implementations§
§impl IUIAutomationElement9
impl IUIAutomationElement9
pub unsafe fn CurrentIsDialog(&self) -> Result<BOOL>
pub unsafe fn CachedIsDialog(&self) -> Result<BOOL>
Methods from Deref<Target = IUIAutomationElement8>§
pub unsafe fn CurrentHeadingLevel(&self) -> Result<UIA_HEADINGLEVEL_ID>
pub unsafe fn CachedHeadingLevel(&self) -> Result<UIA_HEADINGLEVEL_ID>
Methods from Deref<Target = IUIAutomationElement7>§
pub unsafe fn FindFirstWithOptions<P1, P3>(
&self,
scope: TreeScope,
condition: P1,
traversaloptions: TreeTraversalOptions,
root: P3,
) -> Result<IUIAutomationElement>where
P1: Param<IUIAutomationCondition>,
P3: Param<IUIAutomationElement>,
pub unsafe fn FindAllWithOptions<P1, P3>(
&self,
scope: TreeScope,
condition: P1,
traversaloptions: TreeTraversalOptions,
root: P3,
) -> Result<IUIAutomationElementArray>where
P1: Param<IUIAutomationCondition>,
P3: Param<IUIAutomationElement>,
pub unsafe fn FindFirstWithOptionsBuildCache<P1, P2, P4>(
&self,
scope: TreeScope,
condition: P1,
cacherequest: P2,
traversaloptions: TreeTraversalOptions,
root: P4,
) -> Result<IUIAutomationElement>where
P1: Param<IUIAutomationCondition>,
P2: Param<IUIAutomationCacheRequest>,
P4: Param<IUIAutomationElement>,
pub unsafe fn FindAllWithOptionsBuildCache<P1, P2, P4>(
&self,
scope: TreeScope,
condition: P1,
cacherequest: P2,
traversaloptions: TreeTraversalOptions,
root: P4,
) -> Result<IUIAutomationElementArray>where
P1: Param<IUIAutomationCondition>,
P2: Param<IUIAutomationCacheRequest>,
P4: Param<IUIAutomationElement>,
pub unsafe fn GetCurrentMetadataValue( &self, targetid: i32, metadataid: UIA_METADATA_ID, ) -> Result<VARIANT>
Methods from Deref<Target = IUIAutomationElement6>§
pub unsafe fn CurrentFullDescription(&self) -> Result<BSTR>
pub unsafe fn CachedFullDescription(&self) -> Result<BSTR>
Methods from Deref<Target = 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<P1>(
&self,
scope: TreeScope,
condition: P1,
) -> Result<IUIAutomationElement>where
P1: Param<IUIAutomationCondition>,
pub unsafe fn FindAll<P1>(
&self,
scope: TreeScope,
condition: P1,
) -> Result<IUIAutomationElementArray>where
P1: Param<IUIAutomationCondition>,
pub unsafe fn FindFirstBuildCache<P1, P2>(
&self,
scope: TreeScope,
condition: P1,
cacherequest: P2,
) -> Result<IUIAutomationElement>where
P1: Param<IUIAutomationCondition>,
P2: Param<IUIAutomationCacheRequest>,
pub unsafe fn FindAllBuildCache<P1, P2>(
&self,
scope: TreeScope,
condition: P1,
cacherequest: P2,
) -> Result<IUIAutomationElementArray>where
P1: Param<IUIAutomationCondition>,
P2: 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( &self, propertyid: UIA_PROPERTY_ID, ignoredefaultvalue: bool, ) -> Result<VARIANT>
pub unsafe fn GetCachedPropertyValue( &self, propertyid: UIA_PROPERTY_ID, ) -> Result<VARIANT>
pub unsafe fn GetCachedPropertyValueEx( &self, propertyid: UIA_PROPERTY_ID, ignoredefaultvalue: bool, ) -> Result<VARIANT>
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 IUIAutomationElement9
impl CanInto<IUIAutomationElement> for IUIAutomationElement9
§impl CanInto<IUIAutomationElement2> for IUIAutomationElement9
impl CanInto<IUIAutomationElement2> for IUIAutomationElement9
§impl CanInto<IUIAutomationElement3> for IUIAutomationElement9
impl CanInto<IUIAutomationElement3> for IUIAutomationElement9
§impl CanInto<IUIAutomationElement4> for IUIAutomationElement9
impl CanInto<IUIAutomationElement4> for IUIAutomationElement9
§impl CanInto<IUIAutomationElement5> for IUIAutomationElement9
impl CanInto<IUIAutomationElement5> for IUIAutomationElement9
§impl CanInto<IUIAutomationElement6> for IUIAutomationElement9
impl CanInto<IUIAutomationElement6> for IUIAutomationElement9
§impl CanInto<IUIAutomationElement7> for IUIAutomationElement9
impl CanInto<IUIAutomationElement7> for IUIAutomationElement9
§impl CanInto<IUIAutomationElement8> for IUIAutomationElement9
impl CanInto<IUIAutomationElement8> for IUIAutomationElement9
§impl CanInto<IUnknown> for IUIAutomationElement9
impl CanInto<IUnknown> for IUIAutomationElement9
§impl Clone for IUIAutomationElement9
impl Clone for IUIAutomationElement9
§fn clone(&self) -> IUIAutomationElement9
fn clone(&self) -> IUIAutomationElement9
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 IUIAutomationElement9
impl Debug for IUIAutomationElement9
§impl Deref for IUIAutomationElement9
impl Deref for IUIAutomationElement9
§impl From<&IUIAutomationElement9> for &IUIAutomationElement
impl From<&IUIAutomationElement9> for &IUIAutomationElement
§fn from(value: &IUIAutomationElement9) -> Self
fn from(value: &IUIAutomationElement9) -> Self
Converts to this type from the input type.
§impl From<&IUIAutomationElement9> for &IUIAutomationElement2
impl From<&IUIAutomationElement9> for &IUIAutomationElement2
§fn from(value: &IUIAutomationElement9) -> Self
fn from(value: &IUIAutomationElement9) -> Self
Converts to this type from the input type.
§impl From<&IUIAutomationElement9> for &IUIAutomationElement3
impl From<&IUIAutomationElement9> for &IUIAutomationElement3
§fn from(value: &IUIAutomationElement9) -> Self
fn from(value: &IUIAutomationElement9) -> Self
Converts to this type from the input type.
§impl From<&IUIAutomationElement9> for &IUIAutomationElement4
impl From<&IUIAutomationElement9> for &IUIAutomationElement4
§fn from(value: &IUIAutomationElement9) -> Self
fn from(value: &IUIAutomationElement9) -> 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<&IUIAutomationElement9> for &IUIAutomationElement6
impl From<&IUIAutomationElement9> for &IUIAutomationElement6
§fn from(value: &IUIAutomationElement9) -> Self
fn from(value: &IUIAutomationElement9) -> Self
Converts to this type from the input type.
§impl From<&IUIAutomationElement9> for &IUIAutomationElement7
impl From<&IUIAutomationElement9> for &IUIAutomationElement7
§fn from(value: &IUIAutomationElement9) -> Self
fn from(value: &IUIAutomationElement9) -> Self
Converts to this type from the input type.
§impl From<&IUIAutomationElement9> for &IUIAutomationElement8
impl From<&IUIAutomationElement9> for &IUIAutomationElement8
§fn from(value: &IUIAutomationElement9) -> Self
fn from(value: &IUIAutomationElement9) -> Self
Converts to this type from the input type.
§impl From<&IUIAutomationElement9> for &IUnknown
impl From<&IUIAutomationElement9> for &IUnknown
§fn from(value: &IUIAutomationElement9) -> Self
fn from(value: &IUIAutomationElement9) -> Self
Converts to this type from the input type.
§impl From<IUIAutomationElement9> for IUIAutomationElement
impl From<IUIAutomationElement9> for IUIAutomationElement
§fn from(value: IUIAutomationElement9) -> Self
fn from(value: IUIAutomationElement9) -> Self
Converts to this type from the input type.
§impl From<IUIAutomationElement9> for IUIAutomationElement2
impl From<IUIAutomationElement9> for IUIAutomationElement2
§fn from(value: IUIAutomationElement9) -> Self
fn from(value: IUIAutomationElement9) -> Self
Converts to this type from the input type.
§impl From<IUIAutomationElement9> for IUIAutomationElement3
impl From<IUIAutomationElement9> for IUIAutomationElement3
§fn from(value: IUIAutomationElement9) -> Self
fn from(value: IUIAutomationElement9) -> Self
Converts to this type from the input type.
§impl From<IUIAutomationElement9> for IUIAutomationElement4
impl From<IUIAutomationElement9> for IUIAutomationElement4
§fn from(value: IUIAutomationElement9) -> Self
fn from(value: IUIAutomationElement9) -> 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<IUIAutomationElement9> for IUIAutomationElement6
impl From<IUIAutomationElement9> for IUIAutomationElement6
§fn from(value: IUIAutomationElement9) -> Self
fn from(value: IUIAutomationElement9) -> Self
Converts to this type from the input type.
§impl From<IUIAutomationElement9> for IUIAutomationElement7
impl From<IUIAutomationElement9> for IUIAutomationElement7
§fn from(value: IUIAutomationElement9) -> Self
fn from(value: IUIAutomationElement9) -> Self
Converts to this type from the input type.
§impl From<IUIAutomationElement9> for IUIAutomationElement8
impl From<IUIAutomationElement9> for IUIAutomationElement8
§fn from(value: IUIAutomationElement9) -> Self
fn from(value: IUIAutomationElement9) -> Self
Converts to this type from the input type.
§impl From<IUIAutomationElement9> for IUnknown
impl From<IUIAutomationElement9> for IUnknown
§fn from(value: IUIAutomationElement9) -> Self
fn from(value: IUIAutomationElement9) -> Self
Converts to this type from the input type.
§impl Interface for IUIAutomationElement9
impl Interface for IUIAutomationElement9
§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.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§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 IUIAutomationElement9
impl PartialEq for IUIAutomationElement9
impl Eq for IUIAutomationElement9
impl StructuralPartialEq for IUIAutomationElement9
Auto Trait Implementations§
impl Freeze for IUIAutomationElement9
impl RefUnwindSafe for IUIAutomationElement9
impl !Send for IUIAutomationElement9
impl !Sync for IUIAutomationElement9
impl Unpin for IUIAutomationElement9
impl UnwindSafe for IUIAutomationElement9
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