Skip to content

Latest commit

 

History

History
108 lines (88 loc) · 3.96 KB

nf-oleacc-iaccessible-put_accvalue.md

File metadata and controls

108 lines (88 loc) · 3.96 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:oleacc.IAccessible.put_accValue
IAccessible::put_accValue (oleacc.h)
The IAccessible::put_accValue method sets the value of the specified object. Not all objects have a value.
IAccessible interface [Windows Accessibility]
put_accValue method
IAccessible.put_accValue
IAccessible::put_accValue
_msaa_IAccessible_put_accValue
msaa.iaccessible_iaccessible__put_accvalue
oleacc/IAccessible::put_accValue
put_accValue
put_accValue method [Windows Accessibility]
put_accValue method [Windows Accessibility]
IAccessible interface
winauto.iaccessible_iaccessible__put_accvalue
winauto\iaccessible_iaccessible__put_accvalue.htm
WinAuto
0b1e44f4-8d03-47a4-a8c5-5296059e0459
12/05/2018
IAccessible interface [Windows Accessibility],put_accValue method, IAccessible.put_accValue, IAccessible::put_accValue, _msaa_IAccessible_put_accValue, msaa.iaccessible_iaccessible__put_accvalue, oleacc/IAccessible::put_accValue, put_accValue, put_accValue method [Windows Accessibility], put_accValue method [Windows Accessibility],IAccessible interface, winauto.iaccessible_iaccessible__put_accvalue
oleacc.h
Windows
Windows 2000 Professional [desktop apps only]
Windows Server 2003 [desktop apps only]
Oleacc.lib
Oleacc.dll
Windows
Active Accessibility 1.3 RDK on Windows NT 4.0 with SP6 and later and Windows 95
19H1
IAccessible::put_accValue
oleacc/IAccessible::put_accValue
c++
APIRef
kbSyntax
COM
Oleacc.dll
IAccessible.put_accValue

IAccessible::put_accValue

-description

The IAccessible::put_accValue method sets the value of the specified object. Not all objects have a value.

-parameters

-param varChild [in]

Type: VARIANT

Specifies whether the value information being set belongs to the object or one of the object's child elements. This parameter is either CHILDID_SELF (to set information on the object) or a child ID (to set information about the object's child element). For more information about initializing the VARIANT structure, see How Child IDs Are Used in Parameters.

-param szValue [in]

Type: BSTR

A localized string that contains the object's value.

-returns

Type: HRESULT

If successful, returns S_OK.

If not successful, returns one of the values in the table that follows, or another standard COM error code. Servers return these values, but clients must always check output parameters to ensure that they contain valid values. For more information, see Checking IAccessible Return Values.

Error Description
DISP_E_MEMBERNOTFOUND
The object does not support this property.
E_INVALIDARG
An argument is not valid.

-remarks

The IAccessible::put_accValue method is supported for some UI elements (usually edit controls). For UI elements that do not support this method, control-specific methods are used instead. For more information, see Supported User Interface Element Reference.