TextRange_Clone Function
Copies a text range.
Syntax
HRESULT TextRange_Clone( HUIATEXTRANGE hobj, HUIATEXTRANGE *pRetVal );
Parameters
- hobj
[in] A text range object.- pRetVal
[out] When this function returns, contains the copy. This parameter is passed uninitialized.
Return Value
Returns S_OK if successful or an error value otherwise.
Remarks
The method never returns NULL (Nothing in Microsoft Visual Basic .NET).
The new range can be manipulated independently from the original.
Function Information
Stock Implementation uiautomationcore.dll Custom Implementation No Header uiautomationcoreapi.h Import library uiautomationcore.lib Minimum operating systems Windows XP