IUIAutomationLegacyIAccessiblePattern::CachedState Property

Retrieves the cached Microsoft Active Accessibility state property for the element.

Syntax

HRESULT IUIAutomationLegacyIAccessiblePattern::get_CachedState(DWORD *pdwState);

Parameters

  • pdwState
    The address of a variable that receives the cached state identifier, such as STATE_SYSTEM_CHECKED.

Return Value

Returns S_OK if successful, or an error value otherwise.