IUIAutomationLegacyIAccessiblePattern::CurrentDefaultAction Property

Retrieves the Microsoft Active Accessibility default action for the element.

Syntax

HRESULT IUIAutomationLegacyIAccessiblePattern::get_CurrentDefaultAction(BSTR *pszDefaultAction);

Parameters

  • pszDefaultAction
    The address of a variable that receives either a pointer to a cached description of the default action, or NULL if there is no default action.

Return Value

Returns S_OK if successful, or an error value otherwise.