Skip to content

Latest commit

 

History

History
111 lines (74 loc) · 3.75 KB

nf-oleacc-iaccpropservices-sethmenupropstr.md

File metadata and controls

111 lines (74 loc) · 3.75 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.IAccPropServices.SetHmenuPropStr
IAccPropServices::SetHmenuPropStr (oleacc.h)
This method wraps SetPropValue, providing a more convenient entry point for callers who are annotating HMENU-based accessible elements.
IAccPropServices interface [Windows Accessibility]
SetHmenuPropStr method
IAccPropServices.SetHmenuPropStr
IAccPropServices::SetHmenuPropStr
SetHmenuPropStr
SetHmenuPropStr method [Windows Accessibility]
SetHmenuPropStr method [Windows Accessibility]
IAccPropServices interface
oleacc/IAccPropServices::SetHmenuPropStr
winauto.iaccpropservices_iaccpropservices__sethmenupropstr
winauto\iaccpropservices_iaccpropservices__sethmenupropstr.htm
WinAuto
891af40a-819b-4fce-a1bb-28db145b87f1
12/05/2018
IAccPropServices interface [Windows Accessibility],SetHmenuPropStr method, IAccPropServices.SetHmenuPropStr, IAccPropServices::SetHmenuPropStr, SetHmenuPropStr, SetHmenuPropStr method [Windows Accessibility], SetHmenuPropStr method [Windows Accessibility],IAccPropServices interface, oleacc/IAccPropServices::SetHmenuPropStr, winauto.iaccpropservices_iaccpropservices__sethmenupropstr
oleacc.h
OleAcc.h Include Initguid.h first.
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Oleacc.dll
Windows
Active Accessibility 2.0 RDK on Windows NT 4.0 with SP6 and later and Windows 98
19H1
IAccPropServices::SetHmenuPropStr
oleacc/IAccPropServices::SetHmenuPropStr
c++
APIRef
kbSyntax
COM
Oleacc.dll
IAccPropServices.SetHmenuPropStr

IAccPropServices::SetHmenuPropStr

-description

This method wraps SetPropValue, providing a more convenient entry point for callers who are annotating HMENU-based accessible elements.

-parameters

-param hmenu [in]

Type: HMENU

Identifies the HMENU-based accessible element to be annotated.

-param idChild [in]

Type: DWORD

Specifies the child ID of the accessible element.

-param idProp [in]

Type: MSAAPROPID

Specifies which property of the accessible element is to be annotated.

-param str [in]

Type: LPCWSTR

Specifies a new value for the idProp property.

-returns

Type: HRESULT

If successful, returns S_OK.

May return other error codes under exceptional error conditions such as low memory.

-remarks

By using this method, the caller does not have to obtain an identity string; it can specify the hmenu, idObject, and idChild parameters directly.

-see-also

ClearHmenuProps

IAccPropServices

SetHmenuProp

SetHmenuPropServer

SetPropValue