windows::Win32::UI::Accessibility

Trait IUIAutomationEventHandlerGroup_Impl

pub trait IUIAutomationEventHandlerGroup_Impl: IUnknownImpl {
    // Required methods
    fn AddActiveTextPositionChangedEventHandler(
        &self,
        scope: TreeScope,
        cacherequest: Ref<'_, IUIAutomationCacheRequest>,
        handler: Ref<'_, IUIAutomationActiveTextPositionChangedEventHandler>,
    ) -> Result<()>;
    fn AddAutomationEventHandler(
        &self,
        eventid: UIA_EVENT_ID,
        scope: TreeScope,
        cacherequest: Ref<'_, IUIAutomationCacheRequest>,
        handler: Ref<'_, IUIAutomationEventHandler>,
    ) -> Result<()>;
    fn AddChangesEventHandler(
        &self,
        scope: TreeScope,
        changetypes: *const i32,
        changescount: i32,
        cacherequest: Ref<'_, IUIAutomationCacheRequest>,
        handler: Ref<'_, IUIAutomationChangesEventHandler>,
    ) -> Result<()>;
    fn AddNotificationEventHandler(
        &self,
        scope: TreeScope,
        cacherequest: Ref<'_, IUIAutomationCacheRequest>,
        handler: Ref<'_, IUIAutomationNotificationEventHandler>,
    ) -> Result<()>;
    fn AddPropertyChangedEventHandler(
        &self,
        scope: TreeScope,
        cacherequest: Ref<'_, IUIAutomationCacheRequest>,
        handler: Ref<'_, IUIAutomationPropertyChangedEventHandler>,
        propertyarray: *const UIA_PROPERTY_ID,
        propertycount: i32,
    ) -> Result<()>;
    fn AddStructureChangedEventHandler(
        &self,
        scope: TreeScope,
        cacherequest: Ref<'_, IUIAutomationCacheRequest>,
        handler: Ref<'_, IUIAutomationStructureChangedEventHandler>,
    ) -> Result<()>;
    fn AddTextEditTextChangedEventHandler(
        &self,
        scope: TreeScope,
        texteditchangetype: TextEditChangeType,
        cacherequest: Ref<'_, IUIAutomationCacheRequest>,
        handler: Ref<'_, IUIAutomationTextEditTextChangedEventHandler>,
    ) -> Result<()>;
}

Required Methods§

fn AddActiveTextPositionChangedEventHandler( &self, scope: TreeScope, cacherequest: Ref<'_, IUIAutomationCacheRequest>, handler: Ref<'_, IUIAutomationActiveTextPositionChangedEventHandler>, ) -> Result<()>

fn AddAutomationEventHandler( &self, eventid: UIA_EVENT_ID, scope: TreeScope, cacherequest: Ref<'_, IUIAutomationCacheRequest>, handler: Ref<'_, IUIAutomationEventHandler>, ) -> Result<()>

fn AddChangesEventHandler( &self, scope: TreeScope, changetypes: *const i32, changescount: i32, cacherequest: Ref<'_, IUIAutomationCacheRequest>, handler: Ref<'_, IUIAutomationChangesEventHandler>, ) -> Result<()>

fn AddNotificationEventHandler( &self, scope: TreeScope, cacherequest: Ref<'_, IUIAutomationCacheRequest>, handler: Ref<'_, IUIAutomationNotificationEventHandler>, ) -> Result<()>

fn AddPropertyChangedEventHandler( &self, scope: TreeScope, cacherequest: Ref<'_, IUIAutomationCacheRequest>, handler: Ref<'_, IUIAutomationPropertyChangedEventHandler>, propertyarray: *const UIA_PROPERTY_ID, propertycount: i32, ) -> Result<()>

fn AddStructureChangedEventHandler( &self, scope: TreeScope, cacherequest: Ref<'_, IUIAutomationCacheRequest>, handler: Ref<'_, IUIAutomationStructureChangedEventHandler>, ) -> Result<()>

fn AddTextEditTextChangedEventHandler( &self, scope: TreeScope, texteditchangetype: TextEditChangeType, cacherequest: Ref<'_, IUIAutomationCacheRequest>, handler: Ref<'_, IUIAutomationTextEditTextChangedEventHandler>, ) -> Result<()>

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.

Implementors§