webview2_com_sys::Windows::Win32::UI::Accessibility

Struct IUIAutomationElement7

Source
pub struct IUIAutomationElement7(/* private fields */);

Implementations§

Source§

impl IUIAutomationElement7

Source

pub unsafe fn SetFocus(&self) -> Result<()>

Source

pub unsafe fn GetRuntimeId(&self) -> Result<*mut SAFEARRAY>

Source

pub unsafe fn FindFirst<'a>( &self, scope: TreeScope, condition: impl IntoParam<'a, IUIAutomationCondition>, ) -> Result<IUIAutomationElement>

Source

pub unsafe fn FindAll<'a>( &self, scope: TreeScope, condition: impl IntoParam<'a, IUIAutomationCondition>, ) -> Result<IUIAutomationElementArray>

Source

pub unsafe fn FindFirstBuildCache<'a>( &self, scope: TreeScope, condition: impl IntoParam<'a, IUIAutomationCondition>, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement>

Source

pub unsafe fn FindAllBuildCache<'a>( &self, scope: TreeScope, condition: impl IntoParam<'a, IUIAutomationCondition>, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElementArray>

Source

pub unsafe fn BuildUpdatedCache<'a>( &self, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement>

Source

pub unsafe fn GetCurrentPropertyValue(&self, propertyid: i32) -> Result<VARIANT>

Source

pub unsafe fn GetCurrentPropertyValueEx<'a>( &self, propertyid: i32, ignoredefaultvalue: impl IntoParam<'a, BOOL>, ) -> Result<VARIANT>

Source

pub unsafe fn GetCachedPropertyValue(&self, propertyid: i32) -> Result<VARIANT>

Source

pub unsafe fn GetCachedPropertyValueEx<'a>( &self, propertyid: i32, ignoredefaultvalue: impl IntoParam<'a, BOOL>, ) -> Result<VARIANT>

Source

pub unsafe fn GetCurrentPatternAs<T: Interface>( &self, patternid: i32, ) -> Result<T>

Source

pub unsafe fn GetCachedPatternAs<T: Interface>( &self, patternid: i32, ) -> Result<T>

Source

pub unsafe fn GetCurrentPattern(&self, patternid: i32) -> Result<IUnknown>

Source

pub unsafe fn GetCachedPattern(&self, patternid: i32) -> Result<IUnknown>

Source

pub unsafe fn GetCachedParent(&self) -> Result<IUIAutomationElement>

Source

pub unsafe fn GetCachedChildren(&self) -> Result<IUIAutomationElementArray>

Source

pub unsafe fn get_CurrentProcessId(&self) -> Result<i32>

Source

pub unsafe fn get_CurrentControlType(&self) -> Result<i32>

Source

pub unsafe fn get_CurrentLocalizedControlType(&self) -> Result<BSTR>

Source

pub unsafe fn get_CurrentName(&self) -> Result<BSTR>

Source

pub unsafe fn get_CurrentAcceleratorKey(&self) -> Result<BSTR>

Source

pub unsafe fn get_CurrentAccessKey(&self) -> Result<BSTR>

Source

pub unsafe fn get_CurrentHasKeyboardFocus(&self) -> Result<BOOL>

Source

pub unsafe fn get_CurrentIsKeyboardFocusable(&self) -> Result<BOOL>

Source

pub unsafe fn get_CurrentIsEnabled(&self) -> Result<BOOL>

Source

pub unsafe fn get_CurrentAutomationId(&self) -> Result<BSTR>

Source

pub unsafe fn get_CurrentClassName(&self) -> Result<BSTR>

Source

pub unsafe fn get_CurrentHelpText(&self) -> Result<BSTR>

Source

pub unsafe fn get_CurrentCulture(&self) -> Result<i32>

Source

pub unsafe fn get_CurrentIsControlElement(&self) -> Result<BOOL>

Source

pub unsafe fn get_CurrentIsContentElement(&self) -> Result<BOOL>

Source

pub unsafe fn get_CurrentIsPassword(&self) -> Result<BOOL>

Source

pub unsafe fn get_CurrentNativeWindowHandle( &self, retval: *mut *mut c_void, ) -> Result<()>

Source

pub unsafe fn get_CurrentItemType(&self) -> Result<BSTR>

Source

pub unsafe fn get_CurrentIsOffscreen(&self) -> Result<BOOL>

Source

pub unsafe fn get_CurrentOrientation(&self) -> Result<OrientationType>

Source

pub unsafe fn get_CurrentFrameworkId(&self) -> Result<BSTR>

Source

pub unsafe fn get_CurrentIsRequiredForForm(&self) -> Result<BOOL>

Source

pub unsafe fn get_CurrentItemStatus(&self) -> Result<BSTR>

Source

pub unsafe fn get_CurrentBoundingRectangle(&self) -> Result<RECT>

Source

pub unsafe fn get_CurrentLabeledBy(&self) -> Result<IUIAutomationElement>

Source

pub unsafe fn get_CurrentAriaRole(&self) -> Result<BSTR>

Source

pub unsafe fn get_CurrentAriaProperties(&self) -> Result<BSTR>

Source

pub unsafe fn get_CurrentIsDataValidForForm(&self) -> Result<BOOL>

Source

pub unsafe fn get_CurrentControllerFor( &self, ) -> Result<IUIAutomationElementArray>

Source

pub unsafe fn get_CurrentDescribedBy(&self) -> Result<IUIAutomationElementArray>

Source

pub unsafe fn get_CurrentFlowsTo(&self) -> Result<IUIAutomationElementArray>

Source

pub unsafe fn get_CurrentProviderDescription(&self) -> Result<BSTR>

Source

pub unsafe fn get_CachedProcessId(&self) -> Result<i32>

Source

pub unsafe fn get_CachedControlType(&self) -> Result<i32>

Source

pub unsafe fn get_CachedLocalizedControlType(&self) -> Result<BSTR>

Source

pub unsafe fn get_CachedName(&self) -> Result<BSTR>

Source

pub unsafe fn get_CachedAcceleratorKey(&self) -> Result<BSTR>

Source

pub unsafe fn get_CachedAccessKey(&self) -> Result<BSTR>

Source

pub unsafe fn get_CachedHasKeyboardFocus(&self) -> Result<BOOL>

Source

pub unsafe fn get_CachedIsKeyboardFocusable(&self) -> Result<BOOL>

Source

pub unsafe fn get_CachedIsEnabled(&self) -> Result<BOOL>

Source

pub unsafe fn get_CachedAutomationId(&self) -> Result<BSTR>

Source

pub unsafe fn get_CachedClassName(&self) -> Result<BSTR>

Source

pub unsafe fn get_CachedHelpText(&self) -> Result<BSTR>

Source

pub unsafe fn get_CachedCulture(&self) -> Result<i32>

Source

pub unsafe fn get_CachedIsControlElement(&self) -> Result<BOOL>

Source

pub unsafe fn get_CachedIsContentElement(&self) -> Result<BOOL>

Source

pub unsafe fn get_CachedIsPassword(&self) -> Result<BOOL>

Source

pub unsafe fn get_CachedNativeWindowHandle( &self, retval: *mut *mut c_void, ) -> Result<()>

Source

pub unsafe fn get_CachedItemType(&self) -> Result<BSTR>

Source

pub unsafe fn get_CachedIsOffscreen(&self) -> Result<BOOL>

Source

pub unsafe fn get_CachedOrientation(&self) -> Result<OrientationType>

Source

pub unsafe fn get_CachedFrameworkId(&self) -> Result<BSTR>

Source

pub unsafe fn get_CachedIsRequiredForForm(&self) -> Result<BOOL>

Source

pub unsafe fn get_CachedItemStatus(&self) -> Result<BSTR>

Source

pub unsafe fn get_CachedBoundingRectangle(&self) -> Result<RECT>

Source

pub unsafe fn get_CachedLabeledBy(&self) -> Result<IUIAutomationElement>

Source

pub unsafe fn get_CachedAriaRole(&self) -> Result<BSTR>

Source

pub unsafe fn get_CachedAriaProperties(&self) -> Result<BSTR>

Source

pub unsafe fn get_CachedIsDataValidForForm(&self) -> Result<BOOL>

Source

pub unsafe fn get_CachedControllerFor( &self, ) -> Result<IUIAutomationElementArray>

Source

pub unsafe fn get_CachedDescribedBy(&self) -> Result<IUIAutomationElementArray>

Source

pub unsafe fn get_CachedFlowsTo(&self) -> Result<IUIAutomationElementArray>

Source

pub unsafe fn get_CachedProviderDescription(&self) -> Result<BSTR>

Source

pub unsafe fn GetClickablePoint( &self, clickable: *mut POINT, gotclickable: *mut BOOL, ) -> Result<()>

Source

pub unsafe fn get_CurrentOptimizeForVisualContent(&self) -> Result<BOOL>

Source

pub unsafe fn get_CachedOptimizeForVisualContent(&self) -> Result<BOOL>

Source

pub unsafe fn get_CurrentLiveSetting(&self) -> Result<LiveSetting>

Source

pub unsafe fn get_CachedLiveSetting(&self) -> Result<LiveSetting>

Source

pub unsafe fn get_CurrentFlowsFrom(&self) -> Result<IUIAutomationElementArray>

Source

pub unsafe fn get_CachedFlowsFrom(&self) -> Result<IUIAutomationElementArray>

Source

pub unsafe fn ShowContextMenu(&self) -> Result<()>

Source

pub unsafe fn get_CurrentIsPeripheral(&self) -> Result<BOOL>

Source

pub unsafe fn get_CachedIsPeripheral(&self) -> Result<BOOL>

Source

pub unsafe fn get_CurrentPositionInSet(&self) -> Result<i32>

Source

pub unsafe fn get_CurrentSizeOfSet(&self) -> Result<i32>

Source

pub unsafe fn get_CurrentLevel(&self) -> Result<i32>

Source

pub unsafe fn get_CurrentAnnotationTypes(&self) -> Result<*mut SAFEARRAY>

Source

pub unsafe fn get_CurrentAnnotationObjects( &self, ) -> Result<IUIAutomationElementArray>

Source

pub unsafe fn get_CachedPositionInSet(&self) -> Result<i32>

Source

pub unsafe fn get_CachedSizeOfSet(&self) -> Result<i32>

Source

pub unsafe fn get_CachedLevel(&self) -> Result<i32>

Source

pub unsafe fn get_CachedAnnotationTypes(&self) -> Result<*mut SAFEARRAY>

Source

pub unsafe fn get_CachedAnnotationObjects( &self, ) -> Result<IUIAutomationElementArray>

Source

pub unsafe fn get_CurrentLandmarkType(&self) -> Result<i32>

Source

pub unsafe fn get_CurrentLocalizedLandmarkType(&self) -> Result<BSTR>

Source

pub unsafe fn get_CachedLandmarkType(&self) -> Result<i32>

Source

pub unsafe fn get_CachedLocalizedLandmarkType(&self) -> Result<BSTR>

Source

pub unsafe fn get_CurrentFullDescription(&self) -> Result<BSTR>

Source

pub unsafe fn get_CachedFullDescription(&self) -> Result<BSTR>

Source

pub unsafe fn FindFirstWithOptions<'a>( &self, scope: TreeScope, condition: impl IntoParam<'a, IUIAutomationCondition>, traversaloptions: TreeTraversalOptions, root: impl IntoParam<'a, IUIAutomationElement>, ) -> Result<IUIAutomationElement>

Source

pub unsafe fn FindAllWithOptions<'a>( &self, scope: TreeScope, condition: impl IntoParam<'a, IUIAutomationCondition>, traversaloptions: TreeTraversalOptions, root: impl IntoParam<'a, IUIAutomationElement>, ) -> Result<IUIAutomationElementArray>

Source

pub unsafe fn FindFirstWithOptionsBuildCache<'a>( &self, scope: TreeScope, condition: impl IntoParam<'a, IUIAutomationCondition>, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, traversaloptions: TreeTraversalOptions, root: impl IntoParam<'a, IUIAutomationElement>, ) -> Result<IUIAutomationElement>

Source

pub unsafe fn FindAllWithOptionsBuildCache<'a>( &self, scope: TreeScope, condition: impl IntoParam<'a, IUIAutomationCondition>, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, traversaloptions: TreeTraversalOptions, root: impl IntoParam<'a, IUIAutomationElement>, ) -> Result<IUIAutomationElementArray>

Source

pub unsafe fn GetCurrentMetadataValue( &self, targetid: i32, metadataid: i32, ) -> Result<VARIANT>

Trait Implementations§

Source§

impl Clone for IUIAutomationElement7

Source§

fn clone(&self) -> IUIAutomationElement7

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for IUIAutomationElement7

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<&IUIAutomationElement7> for IUIAutomationElement

Source§

fn from(value: &IUIAutomationElement7) -> Self

Converts to this type from the input type.
Source§

impl From<&IUIAutomationElement7> for IUIAutomationElement2

Source§

fn from(value: &IUIAutomationElement7) -> Self

Converts to this type from the input type.
Source§

impl From<&IUIAutomationElement7> for IUIAutomationElement3

Source§

fn from(value: &IUIAutomationElement7) -> Self

Converts to this type from the input type.
Source§

impl From<&IUIAutomationElement7> for IUIAutomationElement4

Source§

fn from(value: &IUIAutomationElement7) -> Self

Converts to this type from the input type.
Source§

impl From<&IUIAutomationElement7> for IUIAutomationElement5

Source§

fn from(value: &IUIAutomationElement7) -> Self

Converts to this type from the input type.
Source§

impl From<&IUIAutomationElement7> for IUIAutomationElement6

Source§

fn from(value: &IUIAutomationElement7) -> Self

Converts to this type from the input type.
Source§

impl From<&IUIAutomationElement7> for IUnknown

Source§

fn from(value: &IUIAutomationElement7) -> Self

Converts to this type from the input type.
Source§

impl From<&IUIAutomationElement8> for IUIAutomationElement7

Source§

fn from(value: &IUIAutomationElement8) -> Self

Converts to this type from the input type.
Source§

impl From<&IUIAutomationElement9> for IUIAutomationElement7

Source§

fn from(value: &IUIAutomationElement9) -> Self

Converts to this type from the input type.
Source§

impl From<IUIAutomationElement7> for IUIAutomationElement

Source§

fn from(value: IUIAutomationElement7) -> Self

Converts to this type from the input type.
Source§

impl From<IUIAutomationElement7> for IUIAutomationElement2

Source§

fn from(value: IUIAutomationElement7) -> Self

Converts to this type from the input type.
Source§

impl From<IUIAutomationElement7> for IUIAutomationElement3

Source§

fn from(value: IUIAutomationElement7) -> Self

Converts to this type from the input type.
Source§

impl From<IUIAutomationElement7> for IUIAutomationElement4

Source§

fn from(value: IUIAutomationElement7) -> Self

Converts to this type from the input type.
Source§

impl From<IUIAutomationElement7> for IUIAutomationElement5

Source§

fn from(value: IUIAutomationElement7) -> Self

Converts to this type from the input type.
Source§

impl From<IUIAutomationElement7> for IUIAutomationElement6

Source§

fn from(value: IUIAutomationElement7) -> Self

Converts to this type from the input type.
Source§

impl From<IUIAutomationElement7> for IUnknown

Source§

fn from(value: IUIAutomationElement7) -> Self

Converts to this type from the input type.
Source§

impl From<IUIAutomationElement8> for IUIAutomationElement7

Source§

fn from(value: IUIAutomationElement8) -> Self

Converts to this type from the input type.
Source§

impl From<IUIAutomationElement9> for IUIAutomationElement7

Source§

fn from(value: IUIAutomationElement9) -> Self

Converts to this type from the input type.
Source§

impl Interface for IUIAutomationElement7

Source§

const IID: Guid

Source§

type Vtable = IUIAutomationElement7_abi

Source§

unsafe fn vtable(&self) -> &Self::Vtable

Safety Read more
Source§

unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtable
where T: Interface,

Safety Read more
Source§

unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT

Safety Read more
Source§

fn cast<T>(&self) -> Result<T, Error>
where T: Interface,

Attempts to cast the current interface to another interface using QueryInterface. The name cast is preferred to query because there is a WinRT method named query but not one named cast.
Source§

fn downgrade(&self) -> Result<Weak<Self>, Error>

Attempts to create a Weak reference to this object.
Source§

impl PartialEq for IUIAutomationElement7

Source§

fn eq(&self, other: &IUIAutomationElement7) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for IUIAutomationElement7

Source§

impl StructuralPartialEq for IUIAutomationElement7

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Abi for T
where T: Interface,

Source§

type Abi = *mut c_void

The abi representation of the implementing type. Read more
Source§

type DefaultType = Option<T>

Source§

fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>

Converts from Self::DefaultType to Result<T>.
Source§

fn set_abi(&mut self) -> *mut <T as Abi>::Abi

Returns a pointer for setting the object’s value via an ABI call.
Source§

unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>

Safety Read more
Source§

fn abi(&self) -> Self::Abi

Casts the Rust object to its ABI type without copying the object.
Source§

fn drop_param(_: &mut Param<'_, Self>)

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.