IUIAutomation5::RemoveNotificationEventHandler method (uiautomationclient.h)
Removes a notification event handler.
Syntax
HRESULT RemoveNotificationEventHandler(
[in] IUIAutomationElement *element,
[in] IUIAutomationNotificationEventHandler *handler
);
Parameters
[in] element
Type: IUIAutomationElement*
A pointer to the UI Automation element from which to remove the handler.
[in] handler
Type: IUIAutomationNotificationEventHandler*
A pointer to the interface that was passed to AddNotificationEventHandler.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1709 [desktop apps only] |
Minimum supported server | Windows Server, version 1709 [desktop apps only] |
Target Platform | Windows |
Header | uiautomationclient.h (include UIAutomation.h) |