Error Codes (UIAutomationCoreApi.h)

This topic describes the error codes exposed by Microsoft UI Automation. The list is sorted alphabetically by name.

Constant/value Description
UIA_E_ELEMENTNOTAVAILABLE
0x80040201
Indicates that a method was called on a virtualized element, or on an element that no longer exists, usually because it has been destroyed.
UIA_E_ELEMENTNOTENABLED
0x80040200
Indicates that a method that requires an enabled element, such as Select or Expand, was called on an element that was disabled.
UIA_E_INVALIDOPERATION
0x80131509
Indicates that the method attempted an operation that was not valid.
UIA_E_NOCLICKABLEPOINT
0x80040202
Indicates that the GetClickablePoint method was called on an element that has no clickable point.
UIA_E_NOTSUPPORTED
0x80040204
Indicates that the provider explicitly does not support the specified property or control pattern. UI Automation will return this error code to the caller without attempting to provide a default value or falling back to another provider.
UIA_E_PROXYASSEMBLYNOTLOADED
0x80040203
Indicates that a problem occurred when loading an assembly that contains a client-side (proxy) provider.
UIA_E_TIMEOUT
0x80131505
Indicates that the time allotted for a process or operation has expired.

Requirements

Requirement Value
Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
UIAutomationCoreApi.h