IUIAutomationLegacyIAccessiblePattern::CurrentState Property
Retrieves the Microsoft Active Accessibility state property for the element.
Syntax
HRESULT IUIAutomationLegacyIAccessiblePattern::get_CurrentState(DWORD *pdwState);
Parameters
- pdwState
The address of a variable that receives the state identifier, such as STATE_SYSTEM_CHECKED.
Return Value
Returns S_OK if successful, or an error value otherwise.