An AI Agent that interacts with Windows OS at GUI level.
Python
UiaTextRangeRelease
UiaTextRangeRelease function (uiautomationcoreapi.h)
Note This function is deprecated. Client applications should use the Microsoft UI Automation Component Object Model (COM) interfaces instead.
Deletes an allocated text range object from memory.
Syntax
BOOL UiaTextRangeRelease(
[in] HUIATEXTRANGE hobj
);
Parameters
[in] hobj
Type: HUIATEXTRANGE
The text range object to be deleted.
Return value
Type: BOOL
TRUE if object was deleted; otherwise FALSE.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | uiautomationcoreapi.h |
| Library | Uiautomationcore.lib |
| DLL | Uiautomationcore.dll |