pub trait IUIAutomationEventHandlerGroup_Impl: Sized {
// Required methods
fn AddActiveTextPositionChangedEventHandler(
&self,
scope: TreeScope,
cacherequest: Option<&IUIAutomationCacheRequest>,
handler: Option<&IUIAutomationActiveTextPositionChangedEventHandler>,
) -> Result<()>;
fn AddAutomationEventHandler(
&self,
eventid: UIA_EVENT_ID,
scope: TreeScope,
cacherequest: Option<&IUIAutomationCacheRequest>,
handler: Option<&IUIAutomationEventHandler>,
) -> Result<()>;
fn AddChangesEventHandler(
&self,
scope: TreeScope,
changetypes: *const i32,
changescount: i32,
cacherequest: Option<&IUIAutomationCacheRequest>,
handler: Option<&IUIAutomationChangesEventHandler>,
) -> Result<()>;
fn AddNotificationEventHandler(
&self,
scope: TreeScope,
cacherequest: Option<&IUIAutomationCacheRequest>,
handler: Option<&IUIAutomationNotificationEventHandler>,
) -> Result<()>;
fn AddPropertyChangedEventHandler(
&self,
scope: TreeScope,
cacherequest: Option<&IUIAutomationCacheRequest>,
handler: Option<&IUIAutomationPropertyChangedEventHandler>,
propertyarray: *const UIA_PROPERTY_ID,
propertycount: i32,
) -> Result<()>;
fn AddStructureChangedEventHandler(
&self,
scope: TreeScope,
cacherequest: Option<&IUIAutomationCacheRequest>,
handler: Option<&IUIAutomationStructureChangedEventHandler>,
) -> Result<()>;
fn AddTextEditTextChangedEventHandler(
&self,
scope: TreeScope,
texteditchangetype: TextEditChangeType,
cacherequest: Option<&IUIAutomationCacheRequest>,
handler: Option<&IUIAutomationTextEditTextChangedEventHandler>,
) -> Result<()>;
}
Required Methods§
fn AddActiveTextPositionChangedEventHandler( &self, scope: TreeScope, cacherequest: Option<&IUIAutomationCacheRequest>, handler: Option<&IUIAutomationActiveTextPositionChangedEventHandler>, ) -> Result<()>
fn AddAutomationEventHandler( &self, eventid: UIA_EVENT_ID, scope: TreeScope, cacherequest: Option<&IUIAutomationCacheRequest>, handler: Option<&IUIAutomationEventHandler>, ) -> Result<()>
fn AddChangesEventHandler( &self, scope: TreeScope, changetypes: *const i32, changescount: i32, cacherequest: Option<&IUIAutomationCacheRequest>, handler: Option<&IUIAutomationChangesEventHandler>, ) -> Result<()>
fn AddNotificationEventHandler( &self, scope: TreeScope, cacherequest: Option<&IUIAutomationCacheRequest>, handler: Option<&IUIAutomationNotificationEventHandler>, ) -> Result<()>
fn AddPropertyChangedEventHandler( &self, scope: TreeScope, cacherequest: Option<&IUIAutomationCacheRequest>, handler: Option<&IUIAutomationPropertyChangedEventHandler>, propertyarray: *const UIA_PROPERTY_ID, propertycount: i32, ) -> Result<()>
fn AddStructureChangedEventHandler( &self, scope: TreeScope, cacherequest: Option<&IUIAutomationCacheRequest>, handler: Option<&IUIAutomationStructureChangedEventHandler>, ) -> Result<()>
fn AddTextEditTextChangedEventHandler( &self, scope: TreeScope, texteditchangetype: TextEditChangeType, cacherequest: Option<&IUIAutomationCacheRequest>, handler: Option<&IUIAutomationTextEditTextChangedEventHandler>, ) -> Result<()>
Object Safety§
This trait is not object safe.