pub struct IUIAutomationElement7(/* private fields */);
Implementations§
Source§impl IUIAutomationElement7
impl IUIAutomationElement7
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>
pub unsafe fn ShowContextMenu(&self) -> Result<()>
pub unsafe fn get_CurrentIsPeripheral(&self) -> Result<BOOL>
pub unsafe fn get_CachedIsPeripheral(&self) -> Result<BOOL>
pub unsafe fn get_CurrentPositionInSet(&self) -> Result<i32>
pub unsafe fn get_CurrentSizeOfSet(&self) -> Result<i32>
pub unsafe fn get_CurrentLevel(&self) -> Result<i32>
pub unsafe fn get_CurrentAnnotationTypes(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn get_CurrentAnnotationObjects( &self, ) -> Result<IUIAutomationElementArray>
pub unsafe fn get_CachedPositionInSet(&self) -> Result<i32>
pub unsafe fn get_CachedSizeOfSet(&self) -> Result<i32>
pub unsafe fn get_CachedLevel(&self) -> Result<i32>
pub unsafe fn get_CachedAnnotationTypes(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn get_CachedAnnotationObjects( &self, ) -> Result<IUIAutomationElementArray>
pub unsafe fn get_CurrentLandmarkType(&self) -> Result<i32>
pub unsafe fn get_CurrentLocalizedLandmarkType(&self) -> Result<BSTR>
pub unsafe fn get_CachedLandmarkType(&self) -> Result<i32>
pub unsafe fn get_CachedLocalizedLandmarkType(&self) -> Result<BSTR>
pub unsafe fn get_CurrentFullDescription(&self) -> Result<BSTR>
pub unsafe fn get_CachedFullDescription(&self) -> Result<BSTR>
pub unsafe fn FindFirstWithOptions<'a>( &self, scope: TreeScope, condition: impl IntoParam<'a, IUIAutomationCondition>, traversaloptions: TreeTraversalOptions, root: impl IntoParam<'a, IUIAutomationElement>, ) -> Result<IUIAutomationElement>
pub unsafe fn FindAllWithOptions<'a>( &self, scope: TreeScope, condition: impl IntoParam<'a, IUIAutomationCondition>, traversaloptions: TreeTraversalOptions, root: impl IntoParam<'a, IUIAutomationElement>, ) -> Result<IUIAutomationElementArray>
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>
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>
pub unsafe fn GetCurrentMetadataValue( &self, targetid: i32, metadataid: i32, ) -> Result<VARIANT>
Trait Implementations§
Source§impl Clone for IUIAutomationElement7
impl Clone for IUIAutomationElement7
Source§fn clone(&self) -> IUIAutomationElement7
fn clone(&self) -> IUIAutomationElement7
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 IUIAutomationElement7
impl Debug for IUIAutomationElement7
Source§impl From<&IUIAutomationElement7> for IUIAutomationElement
impl From<&IUIAutomationElement7> for IUIAutomationElement
Source§fn from(value: &IUIAutomationElement7) -> Self
fn from(value: &IUIAutomationElement7) -> 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<&IUIAutomationElement7> for IUIAutomationElement3
impl From<&IUIAutomationElement7> for IUIAutomationElement3
Source§fn from(value: &IUIAutomationElement7) -> Self
fn from(value: &IUIAutomationElement7) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomationElement7> for IUIAutomationElement4
impl From<&IUIAutomationElement7> for IUIAutomationElement4
Source§fn from(value: &IUIAutomationElement7) -> Self
fn from(value: &IUIAutomationElement7) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomationElement7> for IUIAutomationElement5
impl From<&IUIAutomationElement7> for IUIAutomationElement5
Source§fn from(value: &IUIAutomationElement7) -> Self
fn from(value: &IUIAutomationElement7) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomationElement7> for IUIAutomationElement6
impl From<&IUIAutomationElement7> for IUIAutomationElement6
Source§fn from(value: &IUIAutomationElement7) -> Self
fn from(value: &IUIAutomationElement7) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomationElement7> for IUnknown
impl From<&IUIAutomationElement7> for IUnknown
Source§fn from(value: &IUIAutomationElement7) -> Self
fn from(value: &IUIAutomationElement7) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomationElement8> for IUIAutomationElement7
impl From<&IUIAutomationElement8> for IUIAutomationElement7
Source§fn from(value: &IUIAutomationElement8) -> Self
fn from(value: &IUIAutomationElement8) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomationElement9> for IUIAutomationElement7
impl From<&IUIAutomationElement9> for IUIAutomationElement7
Source§fn from(value: &IUIAutomationElement9) -> Self
fn from(value: &IUIAutomationElement9) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomationElement7> for IUIAutomationElement
impl From<IUIAutomationElement7> for IUIAutomationElement
Source§fn from(value: IUIAutomationElement7) -> Self
fn from(value: IUIAutomationElement7) -> 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<IUIAutomationElement7> for IUIAutomationElement3
impl From<IUIAutomationElement7> for IUIAutomationElement3
Source§fn from(value: IUIAutomationElement7) -> Self
fn from(value: IUIAutomationElement7) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomationElement7> for IUIAutomationElement4
impl From<IUIAutomationElement7> for IUIAutomationElement4
Source§fn from(value: IUIAutomationElement7) -> Self
fn from(value: IUIAutomationElement7) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomationElement7> for IUIAutomationElement5
impl From<IUIAutomationElement7> for IUIAutomationElement5
Source§fn from(value: IUIAutomationElement7) -> Self
fn from(value: IUIAutomationElement7) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomationElement7> for IUIAutomationElement6
impl From<IUIAutomationElement7> for IUIAutomationElement6
Source§fn from(value: IUIAutomationElement7) -> Self
fn from(value: IUIAutomationElement7) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomationElement7> for IUnknown
impl From<IUIAutomationElement7> for IUnknown
Source§fn from(value: IUIAutomationElement7) -> Self
fn from(value: IUIAutomationElement7) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomationElement8> for IUIAutomationElement7
impl From<IUIAutomationElement8> for IUIAutomationElement7
Source§fn from(value: IUIAutomationElement8) -> Self
fn from(value: IUIAutomationElement8) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomationElement9> for IUIAutomationElement7
impl From<IUIAutomationElement9> for IUIAutomationElement7
Source§fn from(value: IUIAutomationElement9) -> Self
fn from(value: IUIAutomationElement9) -> Self
Converts to this type from the input type.
Source§impl Interface for IUIAutomationElement7
impl Interface for IUIAutomationElement7
const IID: Guid
type Vtable = IUIAutomationElement7_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 IUIAutomationElement7
impl PartialEq for IUIAutomationElement7
impl Eq for IUIAutomationElement7
impl StructuralPartialEq for IUIAutomationElement7
Auto Trait Implementations§
impl Freeze for IUIAutomationElement7
impl RefUnwindSafe for IUIAutomationElement7
impl !Send for IUIAutomationElement7
impl !Sync for IUIAutomationElement7
impl Unpin for IUIAutomationElement7
impl UnwindSafe for IUIAutomationElement7
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