Deprecated Node Functions

Note

The control pattern functions described in this section are deprecated. Client applications should use the Component Object Model (COM) interfaces described in the following sections:

In this section

Function Description
UiaAddEvent
[!Note]
This function is deprecated. Client applications should use the Microsoft UI Automation COM interfaces instead.

Adds a listener for events on a node in the UI Automation tree.
UiaEventAddWindow
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Adds a window to the event listener.
UiaEventCallback
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

A client-implemented function that is called by UI Automation when an event is raised that the client has subscribed to.
UiaEventRemoveWindow
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Removes a window from the event listener.
UiaFind
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Retrieves one or more UI Automation nodes that match the search criteria.
UiaGetErrorDescription
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Gets an error string so that it can be passed to the client. This method is not used directly by clients.
UiaGetPatternProvider
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Retrieves a control pattern.
UiaGetPropertyValue
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Retrieves the value of a UI Automation property.
UiaGetRootNode
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Retrieves the root UI Automation node.
UiaGetRuntimeId
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Retrieves the runtime identifier of a UI Automation node.
UiaGetUpdatedCache
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Updates the cache of property values and control patterns.
UiaHPatternObjectFromVariant
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Gets a control pattern object from a VARIANT type.
UiaHTextRangeFromVariant
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Gets a text range from a VARIANT type.
UiaHUiaNodeFromVariant
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Gets an HUIANODE from a VARIANT type.
UiaLookupId
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Gets the integer identifier that can be used in methods that require a PROPERTYID, PATTERNID, CONTROLTYPEID, TEXTATTRIBUTEID, or EVENTID.
UiaNavigate
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Navigates in the UI Automation tree, optionally retrieving cached information.
UiaNodeFromFocus
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Retrieves the UI Automation node for the UI element that currently has input focus.
UiaNodeFromHandle
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Retrieves the UI Automation node associated with a window.
UiaNodeFromPoint
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Retrieves the UI Automation node for the element at the specified point.
UiaNodeFromProvider
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Retrieves the UI Automation node for a raw element provider.
UiaNodeRelease
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Deletes a node from memory.
UiaPatternRelease
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Deletes an allocated pattern object from memory.
UiaProviderCallback
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

An application-defined function that is called by UI Automation to obtain a client-side provider for an element.
UiaRectIsEmpty
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Gets a Boolean value that specifies whether a rectangle has all its coordinates set to 0.
UiaRectSetEmpty
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Sets the elements of a UiaRect structure to 0.
UiaRegisterProviderCallback
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Registers the application-defined method that is called by UI Automation to obtain a provider for an element.
UiaRemoveEvent
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Removes a listener for events on a node in the UI Automation tree.
UiaSetFocus
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Sets the input focus to the specified element in the UI.
UiaTextRangeRelease
[!Note]
This function is deprecated. Client applications should use the UI Automation COM interfaces instead.

Deletes an allocated text range object from memory.

UI Automation Clients