|
ADC Home > Reference Library > Reference > User Experience > Accessibility > Accessibility (ApplicationServices/HIServices) Reference
|
AXError.h |
| Includes: | <CoreFoundation/CoreFoundation.h> |
These error codes can be returned from the accessibility functions defined in AXUIElement.h.
kAXErrorSuccess |
enum { kAXErrorSuccess = 0, kAXErrorFailure = -25200, kAXErrorIllegalArgument = -25201, kAXErrorInvalidUIElement = -25202, kAXErrorInvalidUIElementObserver = -25203, kAXErrorCannotComplete = -25204, kAXErrorAttributeUnsupported = -25205, kAXErrorActionUnsupported = -25206, kAXErrorNotificationUnsupported = -25207, kAXErrorNotImplemented = -25208, kAXErrorNotificationAlreadyRegistered = -25209, kAXErrorNotificationNotRegistered = -25210, kAXErrorAPIDisabled = -25211, kAXErrorNoValue = -25212, kAXErrorParameterizedAttributeUnsupported = -25213, kAXErrorNotEnoughPrecision = -25214 };
kAXErrorSuccessNo error occurred.
kAXErrorFailureA system error occurred, such as the failure to allocate an object.
kAXErrorIllegalArgumentAn illegal argument was passed to the function.
kAXErrorInvalidUIElementThe AXUIElementRef passed to the function is invalid.
kAXErrorInvalidUIElementObserverThe AXObserverRef passed to the function is not a valid observer.
kAXErrorCannotCompleteThe function cannot complete because messaging failed in some way or because the application with which the function is communicating is busy or unresponsive.
kAXErrorAttributeUnsupportedThe attribute is not supported by the AXUIElementRef.
kAXErrorActionUnsupportedThe action is not supported by the AXUIElementRef.
kAXErrorNotificationUnsupportedThe notification is not supported by the AXUIElementRef.
kAXErrorNotImplementedIndicates that the function or method is not implemented (this can be returned if a process does not support the accessibility API).
kAXErrorNotificationAlreadyRegisteredThis notification has already been registered for.
kAXErrorNotificationNotRegisteredIndicates that a notification is not registered yet.
kAXErrorAPIDisabledThe accessibility API is disabled (as when, for example, the user deselects "Enable access for assistive devices" in Universal Access Preferences).
kAXErrorNoValueThe requested value or AXUIElementRef does not exist.
kAXErrorParameterizedAttributeUnsupportedThe parameterized attribute is not supported by the AXUIElementRef.
|
Last Updated: 2008-08-07