Trait IUIAutomationElement_Impl
pub trait IUIAutomationElement_Impl: IUnknownImpl {
Show 82 methods
// Required methods
fn SetFocus(&self) -> Result<()>;
fn GetRuntimeId(&self) -> Result<*mut SAFEARRAY>;
fn FindFirst(
&self,
scope: TreeScope,
condition: Ref<'_, IUIAutomationCondition>,
) -> Result<IUIAutomationElement>;
fn FindAll(
&self,
scope: TreeScope,
condition: Ref<'_, IUIAutomationCondition>,
) -> Result<IUIAutomationElementArray>;
fn FindFirstBuildCache(
&self,
scope: TreeScope,
condition: Ref<'_, IUIAutomationCondition>,
cacherequest: Ref<'_, IUIAutomationCacheRequest>,
) -> Result<IUIAutomationElement>;
fn FindAllBuildCache(
&self,
scope: TreeScope,
condition: Ref<'_, IUIAutomationCondition>,
cacherequest: Ref<'_, IUIAutomationCacheRequest>,
) -> Result<IUIAutomationElementArray>;
fn BuildUpdatedCache(
&self,
cacherequest: Ref<'_, IUIAutomationCacheRequest>,
) -> Result<IUIAutomationElement>;
fn GetCurrentPropertyValue(
&self,
propertyid: UIA_PROPERTY_ID,
) -> Result<VARIANT>;
fn GetCurrentPropertyValueEx(
&self,
propertyid: UIA_PROPERTY_ID,
ignoredefaultvalue: BOOL,
) -> Result<VARIANT>;
fn GetCachedPropertyValue(
&self,
propertyid: UIA_PROPERTY_ID,
) -> Result<VARIANT>;
fn GetCachedPropertyValueEx(
&self,
propertyid: UIA_PROPERTY_ID,
ignoredefaultvalue: BOOL,
) -> Result<VARIANT>;
fn GetCurrentPatternAs(
&self,
patternid: UIA_PATTERN_ID,
riid: *const GUID,
patternobject: *mut *mut c_void,
) -> Result<()>;
fn GetCachedPatternAs(
&self,
patternid: UIA_PATTERN_ID,
riid: *const GUID,
patternobject: *mut *mut c_void,
) -> Result<()>;
fn GetCurrentPattern(&self, patternid: UIA_PATTERN_ID) -> Result<IUnknown>;
fn GetCachedPattern(&self, patternid: UIA_PATTERN_ID) -> Result<IUnknown>;
fn GetCachedParent(&self) -> Result<IUIAutomationElement>;
fn GetCachedChildren(&self) -> Result<IUIAutomationElementArray>;
fn CurrentProcessId(&self) -> Result<i32>;
fn CurrentControlType(&self) -> Result<UIA_CONTROLTYPE_ID>;
fn CurrentLocalizedControlType(&self) -> Result<BSTR>;
fn CurrentName(&self) -> Result<BSTR>;
fn CurrentAcceleratorKey(&self) -> Result<BSTR>;
fn CurrentAccessKey(&self) -> Result<BSTR>;
fn CurrentHasKeyboardFocus(&self) -> Result<BOOL>;
fn CurrentIsKeyboardFocusable(&self) -> Result<BOOL>;
fn CurrentIsEnabled(&self) -> Result<BOOL>;
fn CurrentAutomationId(&self) -> Result<BSTR>;
fn CurrentClassName(&self) -> Result<BSTR>;
fn CurrentHelpText(&self) -> Result<BSTR>;
fn CurrentCulture(&self) -> Result<i32>;
fn CurrentIsControlElement(&self) -> Result<BOOL>;
fn CurrentIsContentElement(&self) -> Result<BOOL>;
fn CurrentIsPassword(&self) -> Result<BOOL>;
fn CurrentNativeWindowHandle(&self) -> Result<HWND>;
fn CurrentItemType(&self) -> Result<BSTR>;
fn CurrentIsOffscreen(&self) -> Result<BOOL>;
fn CurrentOrientation(&self) -> Result<OrientationType>;
fn CurrentFrameworkId(&self) -> Result<BSTR>;
fn CurrentIsRequiredForForm(&self) -> Result<BOOL>;
fn CurrentItemStatus(&self) -> Result<BSTR>;
fn CurrentBoundingRectangle(&self) -> Result<RECT>;
fn CurrentLabeledBy(&self) -> Result<IUIAutomationElement>;
fn CurrentAriaRole(&self) -> Result<BSTR>;
fn CurrentAriaProperties(&self) -> Result<BSTR>;
fn CurrentIsDataValidForForm(&self) -> Result<BOOL>;
fn CurrentControllerFor(&self) -> Result<IUIAutomationElementArray>;
fn CurrentDescribedBy(&self) -> Result<IUIAutomationElementArray>;
fn CurrentFlowsTo(&self) -> Result<IUIAutomationElementArray>;
fn CurrentProviderDescription(&self) -> Result<BSTR>;
fn CachedProcessId(&self) -> Result<i32>;
fn CachedControlType(&self) -> Result<UIA_CONTROLTYPE_ID>;
fn CachedLocalizedControlType(&self) -> Result<BSTR>;
fn CachedName(&self) -> Result<BSTR>;
fn CachedAcceleratorKey(&self) -> Result<BSTR>;
fn CachedAccessKey(&self) -> Result<BSTR>;
fn CachedHasKeyboardFocus(&self) -> Result<BOOL>;
fn CachedIsKeyboardFocusable(&self) -> Result<BOOL>;
fn CachedIsEnabled(&self) -> Result<BOOL>;
fn CachedAutomationId(&self) -> Result<BSTR>;
fn CachedClassName(&self) -> Result<BSTR>;
fn CachedHelpText(&self) -> Result<BSTR>;
fn CachedCulture(&self) -> Result<i32>;
fn CachedIsControlElement(&self) -> Result<BOOL>;
fn CachedIsContentElement(&self) -> Result<BOOL>;
fn CachedIsPassword(&self) -> Result<BOOL>;
fn CachedNativeWindowHandle(&self) -> Result<HWND>;
fn CachedItemType(&self) -> Result<BSTR>;
fn CachedIsOffscreen(&self) -> Result<BOOL>;
fn CachedOrientation(&self) -> Result<OrientationType>;
fn CachedFrameworkId(&self) -> Result<BSTR>;
fn CachedIsRequiredForForm(&self) -> Result<BOOL>;
fn CachedItemStatus(&self) -> Result<BSTR>;
fn CachedBoundingRectangle(&self) -> Result<RECT>;
fn CachedLabeledBy(&self) -> Result<IUIAutomationElement>;
fn CachedAriaRole(&self) -> Result<BSTR>;
fn CachedAriaProperties(&self) -> Result<BSTR>;
fn CachedIsDataValidForForm(&self) -> Result<BOOL>;
fn CachedControllerFor(&self) -> Result<IUIAutomationElementArray>;
fn CachedDescribedBy(&self) -> Result<IUIAutomationElementArray>;
fn CachedFlowsTo(&self) -> Result<IUIAutomationElementArray>;
fn CachedProviderDescription(&self) -> Result<BSTR>;
fn GetClickablePoint(&self, clickable: *mut POINT) -> Result<BOOL>;
}
Required Methods§
fn SetFocus(&self) -> Result<()>
fn GetRuntimeId(&self) -> Result<*mut SAFEARRAY>
fn FindFirst( &self, scope: TreeScope, condition: Ref<'_, IUIAutomationCondition>, ) -> Result<IUIAutomationElement>
fn FindAll( &self, scope: TreeScope, condition: Ref<'_, IUIAutomationCondition>, ) -> Result<IUIAutomationElementArray>
fn FindFirstBuildCache( &self, scope: TreeScope, condition: Ref<'_, IUIAutomationCondition>, cacherequest: Ref<'_, IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement>
fn FindAllBuildCache( &self, scope: TreeScope, condition: Ref<'_, IUIAutomationCondition>, cacherequest: Ref<'_, IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElementArray>
fn BuildUpdatedCache( &self, cacherequest: Ref<'_, IUIAutomationCacheRequest>, ) -> Result<IUIAutomationElement>
fn GetCurrentPropertyValue( &self, propertyid: UIA_PROPERTY_ID, ) -> Result<VARIANT>
fn GetCurrentPropertyValueEx( &self, propertyid: UIA_PROPERTY_ID, ignoredefaultvalue: BOOL, ) -> Result<VARIANT>
fn GetCachedPropertyValue(&self, propertyid: UIA_PROPERTY_ID) -> Result<VARIANT>
fn GetCachedPropertyValueEx( &self, propertyid: UIA_PROPERTY_ID, ignoredefaultvalue: BOOL, ) -> Result<VARIANT>
fn GetCurrentPatternAs( &self, patternid: UIA_PATTERN_ID, riid: *const GUID, patternobject: *mut *mut c_void, ) -> Result<()>
fn GetCachedPatternAs( &self, patternid: UIA_PATTERN_ID, riid: *const GUID, patternobject: *mut *mut c_void, ) -> Result<()>
fn GetCurrentPattern(&self, patternid: UIA_PATTERN_ID) -> Result<IUnknown>
fn GetCachedPattern(&self, patternid: UIA_PATTERN_ID) -> Result<IUnknown>
fn GetCachedParent(&self) -> Result<IUIAutomationElement>
fn GetCachedChildren(&self) -> Result<IUIAutomationElementArray>
fn CurrentProcessId(&self) -> Result<i32>
fn CurrentControlType(&self) -> Result<UIA_CONTROLTYPE_ID>
fn CurrentLocalizedControlType(&self) -> Result<BSTR>
fn CurrentName(&self) -> Result<BSTR>
fn CurrentAcceleratorKey(&self) -> Result<BSTR>
fn CurrentAccessKey(&self) -> Result<BSTR>
fn CurrentHasKeyboardFocus(&self) -> Result<BOOL>
fn CurrentIsKeyboardFocusable(&self) -> Result<BOOL>
fn CurrentIsEnabled(&self) -> Result<BOOL>
fn CurrentAutomationId(&self) -> Result<BSTR>
fn CurrentClassName(&self) -> Result<BSTR>
fn CurrentHelpText(&self) -> Result<BSTR>
fn CurrentCulture(&self) -> Result<i32>
fn CurrentIsControlElement(&self) -> Result<BOOL>
fn CurrentIsContentElement(&self) -> Result<BOOL>
fn CurrentIsPassword(&self) -> Result<BOOL>
fn CurrentNativeWindowHandle(&self) -> Result<HWND>
fn CurrentItemType(&self) -> Result<BSTR>
fn CurrentIsOffscreen(&self) -> Result<BOOL>
fn CurrentOrientation(&self) -> Result<OrientationType>
fn CurrentFrameworkId(&self) -> Result<BSTR>
fn CurrentIsRequiredForForm(&self) -> Result<BOOL>
fn CurrentItemStatus(&self) -> Result<BSTR>
fn CurrentBoundingRectangle(&self) -> Result<RECT>
fn CurrentLabeledBy(&self) -> Result<IUIAutomationElement>
fn CurrentAriaRole(&self) -> Result<BSTR>
fn CurrentAriaProperties(&self) -> Result<BSTR>
fn CurrentIsDataValidForForm(&self) -> Result<BOOL>
fn CurrentControllerFor(&self) -> Result<IUIAutomationElementArray>
fn CurrentDescribedBy(&self) -> Result<IUIAutomationElementArray>
fn CurrentFlowsTo(&self) -> Result<IUIAutomationElementArray>
fn CurrentProviderDescription(&self) -> Result<BSTR>
fn CachedProcessId(&self) -> Result<i32>
fn CachedControlType(&self) -> Result<UIA_CONTROLTYPE_ID>
fn CachedLocalizedControlType(&self) -> Result<BSTR>
fn CachedName(&self) -> Result<BSTR>
fn CachedAcceleratorKey(&self) -> Result<BSTR>
fn CachedAccessKey(&self) -> Result<BSTR>
fn CachedHasKeyboardFocus(&self) -> Result<BOOL>
fn CachedIsKeyboardFocusable(&self) -> Result<BOOL>
fn CachedIsEnabled(&self) -> Result<BOOL>
fn CachedAutomationId(&self) -> Result<BSTR>
fn CachedClassName(&self) -> Result<BSTR>
fn CachedHelpText(&self) -> Result<BSTR>
fn CachedCulture(&self) -> Result<i32>
fn CachedIsControlElement(&self) -> Result<BOOL>
fn CachedIsContentElement(&self) -> Result<BOOL>
fn CachedIsPassword(&self) -> Result<BOOL>
fn CachedNativeWindowHandle(&self) -> Result<HWND>
fn CachedItemType(&self) -> Result<BSTR>
fn CachedIsOffscreen(&self) -> Result<BOOL>
fn CachedOrientation(&self) -> Result<OrientationType>
fn CachedFrameworkId(&self) -> Result<BSTR>
fn CachedIsRequiredForForm(&self) -> Result<BOOL>
fn CachedItemStatus(&self) -> Result<BSTR>
fn CachedBoundingRectangle(&self) -> Result<RECT>
fn CachedLabeledBy(&self) -> Result<IUIAutomationElement>
fn CachedAriaRole(&self) -> Result<BSTR>
fn CachedAriaProperties(&self) -> Result<BSTR>
fn CachedIsDataValidForForm(&self) -> Result<BOOL>
fn CachedControllerFor(&self) -> Result<IUIAutomationElementArray>
fn CachedDescribedBy(&self) -> Result<IUIAutomationElementArray>
fn CachedFlowsTo(&self) -> Result<IUIAutomationElementArray>
fn CachedProviderDescription(&self) -> Result<BSTR>
fn GetClickablePoint(&self, clickable: *mut POINT) -> Result<BOOL>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.