IUIAutomationValuePattern::CurrentIsReadOnly Property
Retrieves a value that specifies whether the value of the element is read-only.
Syntax
HRESULTÂ IUIAutomationValuePattern::get_CurrentIsReadOnly(BOOLÂ *retVal);
Parameters
- retVal
The address of a variable that receives the value of the property: TRUE if the element is read-only, otherwise FALSE.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
This property must be true for IUIAutomationValuePattern::SetValue to succeed.