IAccessible::get_accKeyboardShortcut

[This is preliminary documentation and subject to change.]

Retrieves an object's KeyboardShortcut property.

HRESULT get_accKeyboardShortcut(
  VARIANT varChild,
  BSTR *pszKeyboardShortcut
);
 

Parameters

varChild
[in] VARIANT structure identifying the child whose keyboard shortcut will be retrieved. This parameter can be the child ID value (provided by the object), CHILDID_SELF for the object itself, or a string identifying the child (such as "A1"). The caller must initialize the structure's vt member to indicate which union member is valid prior to the call.
pszKeyboardShortcut
[out, retval] Address of a BSTR variable that will contain the keyboard shortcut string, or NULL if no keyboard shortcut is associated with this item.

Return Values

Returns S_OK if successful or E_INVALIDARG or another standard COM error code otherwise.

Note to implementers Do not localize the string returned from this property.

See Also

VARIANT Structure