Share via


IUIAutomationElement::CachedIsEnabled Property

Retrieves a cached value that indicates whether the Microsoft UI Automation element is enabled.

Syntax

HRESULT IUIAutomationElement::get_CachedIsEnabled(BOOL *retVal);

Parameters

  • retVal
    The address of a variable that receives the value of the cached property: TRUE if the element is enabled, otherwise FALSE.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

UIA_IsEnabledPropertyId, IUIAutomationElement, IUIAutomationElement::CurrentIsEnabled