import "AccessibleAction.idl";
Inheritance diagram for IAccessibleAction:
Public Member Functions | |
HRESULT | nActions ([out, retval] long *nActions) |
Returns the number of accessible actions available in this object. | |
HRESULT | doAction ([in] long actionIndex) |
Performs the specified Action on the object. | |
HRESULT | description ([in] long actionIndex,[out, retval] BSTR *description) |
Returns a description of the specified action of the object. | |
HRESULT | keyBinding ([in] long actionIndex,[in] long nMaxBinding,[out, size_is(, nMaxBinding), length_is(,*nBinding)] BSTR **keyBinding,[out, retval] long *nBinding) |
Returns an array of BSTRs describing one or more key bindings, if there are any, associated with the specified action. | |
HRESULT | name ([in] long actionIndex,[out, retval] BSTR *name) |
Returns the non-localized name of specified action. | |
HRESULT | localizedName ([in] long actionIndex,[out, retval] BSTR *localizedName) |
Returns the localized name of specified action. |
Every accessible object that can be manipulated beyond its methods exported over the accessibility API should support this interface to expose all actions that it can perform. Each action can be performed or queried for a name, description or associated key bindings. Actions are needed more for ATs that assist the mobility impaired. By providing actions directly, the AT can present them to the user without the user having to perform the extra steps to navigate a context menu.
|
Returns a description of the specified action of the object.
|
|
Performs the specified Action on the object.
|
|
Returns an array of BSTRs describing one or more key bindings, if there are any, associated with the specified action. Note: the client allocates and passes in an array of pointers. The server allocates the BSTRs and passes back one or more pointers to these BSTRs into the array of pointers allocated by the client. The client is responsible for deallocating the BSTRs.
|
|
Returns the localized name of specified action.
|
|
Returns the number of accessible actions available in this object. If there are more than one, the first one is considered the "default" action of the object.
|
|
Returns the non-localized name of specified action.
|