pub struct IUIAutomationElement2(/* private fields */);
Implementations§
Source§impl IUIAutomationElement2
impl IUIAutomationElement2
pub unsafe fn SetFocus(&self) -> Result<()>
pub unsafe fn GetRuntimeId(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn FindFirst<'a>( &self, scope: TreeScope, condition: impl IntoParam<'a, IUIAutomationCondition>, ) -> Result<IUIAutomationElement>
pub unsafe fn FindAll<'a>( &self, scope: TreeScope, condition: impl IntoParam<'a, IUIAutomationCondition>, ) -> Result<IUIAutomationElementArray>
pub unsafe fn FindFirstBuildCache<'a>( &self, scope: TreeScope, condition: impl IntoParam<'a, IUIAutomationCondition>, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement>
pub unsafe fn FindAllBuildCache<'a>( &self, scope: TreeScope, condition: impl IntoParam<'a, IUIAutomationCondition>, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElementArray>
pub unsafe fn BuildUpdatedCache<'a>( &self, cacherequest: impl IntoParam<'a, IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement>
pub unsafe fn GetCurrentPropertyValue(&self, propertyid: i32) -> Result<VARIANT>
pub unsafe fn GetCurrentPropertyValueEx<'a>( &self, propertyid: i32, ignoredefaultvalue: impl IntoParam<'a, BOOL>, ) -> Result<VARIANT>
pub unsafe fn GetCachedPropertyValue(&self, propertyid: i32) -> Result<VARIANT>
pub unsafe fn GetCachedPropertyValueEx<'a>( &self, propertyid: i32, ignoredefaultvalue: impl IntoParam<'a, BOOL>, ) -> Result<VARIANT>
pub unsafe fn GetCurrentPatternAs<T: Interface>( &self, patternid: i32, ) -> Result<T>
pub unsafe fn GetCachedPatternAs<T: Interface>( &self, patternid: i32, ) -> Result<T>
pub unsafe fn GetCurrentPattern(&self, patternid: i32) -> Result<IUnknown>
pub unsafe fn GetCachedPattern(&self, patternid: i32) -> Result<IUnknown>
pub unsafe fn GetCachedParent(&self) -> Result<IUIAutomationElement>
pub unsafe fn GetCachedChildren(&self) -> Result<IUIAutomationElementArray>
pub unsafe fn get_CurrentProcessId(&self) -> Result<i32>
pub unsafe fn get_CurrentControlType(&self) -> Result<i32>
pub unsafe fn get_CurrentLocalizedControlType(&self) -> Result<BSTR>
pub unsafe fn get_CurrentName(&self) -> Result<BSTR>
pub unsafe fn get_CurrentAcceleratorKey(&self) -> Result<BSTR>
pub unsafe fn get_CurrentAccessKey(&self) -> Result<BSTR>
pub unsafe fn get_CurrentHasKeyboardFocus(&self) -> Result<BOOL>
pub unsafe fn get_CurrentIsKeyboardFocusable(&self) -> Result<BOOL>
pub unsafe fn get_CurrentIsEnabled(&self) -> Result<BOOL>
pub unsafe fn get_CurrentAutomationId(&self) -> Result<BSTR>
pub unsafe fn get_CurrentClassName(&self) -> Result<BSTR>
pub unsafe fn get_CurrentHelpText(&self) -> Result<BSTR>
pub unsafe fn get_CurrentCulture(&self) -> Result<i32>
pub unsafe fn get_CurrentIsControlElement(&self) -> Result<BOOL>
pub unsafe fn get_CurrentIsContentElement(&self) -> Result<BOOL>
pub unsafe fn get_CurrentIsPassword(&self) -> Result<BOOL>
pub unsafe fn get_CurrentNativeWindowHandle( &self, retval: *mut *mut c_void, ) -> Result<()>
pub unsafe fn get_CurrentItemType(&self) -> Result<BSTR>
pub unsafe fn get_CurrentIsOffscreen(&self) -> Result<BOOL>
pub unsafe fn get_CurrentOrientation(&self) -> Result<OrientationType>
pub unsafe fn get_CurrentFrameworkId(&self) -> Result<BSTR>
pub unsafe fn get_CurrentIsRequiredForForm(&self) -> Result<BOOL>
pub unsafe fn get_CurrentItemStatus(&self) -> Result<BSTR>
pub unsafe fn get_CurrentBoundingRectangle(&self) -> Result<RECT>
pub unsafe fn get_CurrentLabeledBy(&self) -> Result<IUIAutomationElement>
pub unsafe fn get_CurrentAriaRole(&self) -> Result<BSTR>
pub unsafe fn get_CurrentAriaProperties(&self) -> Result<BSTR>
pub unsafe fn get_CurrentIsDataValidForForm(&self) -> Result<BOOL>
pub unsafe fn get_CurrentControllerFor( &self, ) -> Result<IUIAutomationElementArray>
pub unsafe fn get_CurrentDescribedBy(&self) -> Result<IUIAutomationElementArray>
pub unsafe fn get_CurrentFlowsTo(&self) -> Result<IUIAutomationElementArray>
pub unsafe fn get_CurrentProviderDescription(&self) -> Result<BSTR>
pub unsafe fn get_CachedProcessId(&self) -> Result<i32>
pub unsafe fn get_CachedControlType(&self) -> Result<i32>
pub unsafe fn get_CachedLocalizedControlType(&self) -> Result<BSTR>
pub unsafe fn get_CachedName(&self) -> Result<BSTR>
pub unsafe fn get_CachedAcceleratorKey(&self) -> Result<BSTR>
pub unsafe fn get_CachedAccessKey(&self) -> Result<BSTR>
pub unsafe fn get_CachedHasKeyboardFocus(&self) -> Result<BOOL>
pub unsafe fn get_CachedIsKeyboardFocusable(&self) -> Result<BOOL>
pub unsafe fn get_CachedIsEnabled(&self) -> Result<BOOL>
pub unsafe fn get_CachedAutomationId(&self) -> Result<BSTR>
pub unsafe fn get_CachedClassName(&self) -> Result<BSTR>
pub unsafe fn get_CachedHelpText(&self) -> Result<BSTR>
pub unsafe fn get_CachedCulture(&self) -> Result<i32>
pub unsafe fn get_CachedIsControlElement(&self) -> Result<BOOL>
pub unsafe fn get_CachedIsContentElement(&self) -> Result<BOOL>
pub unsafe fn get_CachedIsPassword(&self) -> Result<BOOL>
pub unsafe fn get_CachedNativeWindowHandle( &self, retval: *mut *mut c_void, ) -> Result<()>
pub unsafe fn get_CachedItemType(&self) -> Result<BSTR>
pub unsafe fn get_CachedIsOffscreen(&self) -> Result<BOOL>
pub unsafe fn get_CachedOrientation(&self) -> Result<OrientationType>
pub unsafe fn get_CachedFrameworkId(&self) -> Result<BSTR>
pub unsafe fn get_CachedIsRequiredForForm(&self) -> Result<BOOL>
pub unsafe fn get_CachedItemStatus(&self) -> Result<BSTR>
pub unsafe fn get_CachedBoundingRectangle(&self) -> Result<RECT>
pub unsafe fn get_CachedLabeledBy(&self) -> Result<IUIAutomationElement>
pub unsafe fn get_CachedAriaRole(&self) -> Result<BSTR>
pub unsafe fn get_CachedAriaProperties(&self) -> Result<BSTR>
pub unsafe fn get_CachedIsDataValidForForm(&self) -> Result<BOOL>
pub unsafe fn get_CachedControllerFor( &self, ) -> Result<IUIAutomationElementArray>
pub unsafe fn get_CachedDescribedBy(&self) -> Result<IUIAutomationElementArray>
pub unsafe fn get_CachedFlowsTo(&self) -> Result<IUIAutomationElementArray>
pub unsafe fn get_CachedProviderDescription(&self) -> Result<BSTR>
pub unsafe fn GetClickablePoint( &self, clickable: *mut POINT, gotclickable: *mut BOOL, ) -> Result<()>
pub unsafe fn get_CurrentOptimizeForVisualContent(&self) -> Result<BOOL>
pub unsafe fn get_CachedOptimizeForVisualContent(&self) -> Result<BOOL>
pub unsafe fn get_CurrentLiveSetting(&self) -> Result<LiveSetting>
pub unsafe fn get_CachedLiveSetting(&self) -> Result<LiveSetting>
pub unsafe fn get_CurrentFlowsFrom(&self) -> Result<IUIAutomationElementArray>
pub unsafe fn get_CachedFlowsFrom(&self) -> Result<IUIAutomationElementArray>
Trait Implementations§
Source§impl Clone for IUIAutomationElement2
impl Clone for IUIAutomationElement2
Source§fn clone(&self) -> IUIAutomationElement2
fn clone(&self) -> IUIAutomationElement2
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 moreSource§impl Debug for IUIAutomationElement2
impl Debug for IUIAutomationElement2
Source§impl From<&IUIAutomationElement2> for IUIAutomationElement
impl From<&IUIAutomationElement2> for IUIAutomationElement
Source§fn from(value: &IUIAutomationElement2) -> Self
fn from(value: &IUIAutomationElement2) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomationElement2> for IUnknown
impl From<&IUIAutomationElement2> for IUnknown
Source§fn from(value: &IUIAutomationElement2) -> Self
fn from(value: &IUIAutomationElement2) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomationElement3> for IUIAutomationElement2
impl From<&IUIAutomationElement3> for IUIAutomationElement2
Source§fn from(value: &IUIAutomationElement3) -> Self
fn from(value: &IUIAutomationElement3) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomationElement4> for IUIAutomationElement2
impl From<&IUIAutomationElement4> for IUIAutomationElement2
Source§fn from(value: &IUIAutomationElement4) -> Self
fn from(value: &IUIAutomationElement4) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomationElement5> for IUIAutomationElement2
impl From<&IUIAutomationElement5> for IUIAutomationElement2
Source§fn from(value: &IUIAutomationElement5) -> Self
fn from(value: &IUIAutomationElement5) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomationElement6> for IUIAutomationElement2
impl From<&IUIAutomationElement6> for IUIAutomationElement2
Source§fn from(value: &IUIAutomationElement6) -> Self
fn from(value: &IUIAutomationElement6) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomationElement7> for IUIAutomationElement2
impl From<&IUIAutomationElement7> for IUIAutomationElement2
Source§fn from(value: &IUIAutomationElement7) -> Self
fn from(value: &IUIAutomationElement7) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomationElement8> for IUIAutomationElement2
impl From<&IUIAutomationElement8> for IUIAutomationElement2
Source§fn from(value: &IUIAutomationElement8) -> Self
fn from(value: &IUIAutomationElement8) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomationElement9> for IUIAutomationElement2
impl From<&IUIAutomationElement9> for IUIAutomationElement2
Source§fn from(value: &IUIAutomationElement9) -> Self
fn from(value: &IUIAutomationElement9) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomationElement2> for IUIAutomationElement
impl From<IUIAutomationElement2> for IUIAutomationElement
Source§fn from(value: IUIAutomationElement2) -> Self
fn from(value: IUIAutomationElement2) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomationElement2> for IUnknown
impl From<IUIAutomationElement2> for IUnknown
Source§fn from(value: IUIAutomationElement2) -> Self
fn from(value: IUIAutomationElement2) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomationElement3> for IUIAutomationElement2
impl From<IUIAutomationElement3> for IUIAutomationElement2
Source§fn from(value: IUIAutomationElement3) -> Self
fn from(value: IUIAutomationElement3) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomationElement4> for IUIAutomationElement2
impl From<IUIAutomationElement4> for IUIAutomationElement2
Source§fn from(value: IUIAutomationElement4) -> Self
fn from(value: IUIAutomationElement4) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomationElement5> for IUIAutomationElement2
impl From<IUIAutomationElement5> for IUIAutomationElement2
Source§fn from(value: IUIAutomationElement5) -> Self
fn from(value: IUIAutomationElement5) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomationElement6> for IUIAutomationElement2
impl From<IUIAutomationElement6> for IUIAutomationElement2
Source§fn from(value: IUIAutomationElement6) -> Self
fn from(value: IUIAutomationElement6) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomationElement7> for IUIAutomationElement2
impl From<IUIAutomationElement7> for IUIAutomationElement2
Source§fn from(value: IUIAutomationElement7) -> Self
fn from(value: IUIAutomationElement7) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomationElement8> for IUIAutomationElement2
impl From<IUIAutomationElement8> for IUIAutomationElement2
Source§fn from(value: IUIAutomationElement8) -> Self
fn from(value: IUIAutomationElement8) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomationElement9> for IUIAutomationElement2
impl From<IUIAutomationElement9> for IUIAutomationElement2
Source§fn from(value: IUIAutomationElement9) -> Self
fn from(value: IUIAutomationElement9) -> Self
Converts to this type from the input type.
Source§impl Interface for IUIAutomationElement2
impl Interface for IUIAutomationElement2
const IID: Guid
type Vtable = IUIAutomationElement2_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IUIAutomationElement2
impl PartialEq for IUIAutomationElement2
impl Eq for IUIAutomationElement2
impl StructuralPartialEq for IUIAutomationElement2
Auto Trait Implementations§
impl Freeze for IUIAutomationElement2
impl RefUnwindSafe for IUIAutomationElement2
impl !Send for IUIAutomationElement2
impl !Sync for IUIAutomationElement2
impl Unpin for IUIAutomationElement2
impl UnwindSafe for IUIAutomationElement2
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
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
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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