IAccessible::put_accValue

[This is preliminary documentation and subject to change.]

Sets the value of the object's Value property for the current item.

HRESULT put_accValue(
  VARIANT varChild,
  BSTR szValue
);
 

Parameters

varChild
[in] VARIANT structure identifying the child whose state will be retrieved. This parameter can be the child ID value (provided by the object), CHILDID_SELF for the object itself, or a string identifying the child (such as "A1"). The caller must initialize the structure's vt member to indicate which union member is valid prior to the call.
szValue
[in] String containing the value to assign to the object.

Return Values

Returns S_OK if successful or E_INVALIDARG or another standard COM error code otherwise. If the object does not support setting values, the method returns S_FALSE.

See Also

VARIANT Structure, IAccessible::get_accValue