TextRange_GetChildren Function

Note  This function is deprecated. Client applications should use the Microsoft UI Automation COM interfaces instead.

Returns all UI Automation elements contained within the specified text range.

Syntax

HRESULT TextRange_GetChildren(      
    HUIATEXTRANGE hobj,
    SAFEARRAY **pRetVal
);

Parameters

  • hobj
    [in] A text range object.
  • pRetVal
    [out] When this function returns, contains an array of nodes that are children of the text range in the UI Automation tree. This parameter is passed uninitialized.

Return Value

Returns S_OK if successful or an error value otherwise.

Function Information

Stock Implementation uiautomationcore.dll
Custom Implementation No
Header uiautomationcoreapi.h
Import library uiautomationcore.lib
Minimum operating systems Windows XP