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:oledlg.OleUIAddVerbMenuW |
OleUIAddVerbMenuW function (oledlg.h) |
Adds the Verb menu for the specified object to the specified menu. (Unicode) |
|
com\oleuiaddverbmenu.htm |
com |
6efb49e7-b3c1-4035-892d-4572db47b951 |
12/05/2018 |
OleUIAddVerbMenu, OleUIAddVerbMenu function [COM], OleUIAddVerbMenuA, OleUIAddVerbMenuW, _ole_OleUIAddVerbMenu, com.oleuiaddverbmenu, oledlg/OleUIAddVerbMenu, oledlg/OleUIAddVerbMenuA, oledlg/OleUIAddVerbMenuW |
oledlg.h |
Windows |
Windows 2000 Professional [desktop apps only] |
Windows 2000 Server [desktop apps only] |
OleUIAddVerbMenuW (Unicode) and OleUIAddVerbMenuA (ANSI) |
OleDlg.lib |
OleDlg.dll |
Windows |
19H1 |
|
|
|
|
|
|
Adds the Verb menu for the specified object to the specified menu.
Pointer to the IOleObject interface on the selected object. If this is NULL, then a default disabled menu item is created.
Pointer to the short name defined in the registry (AuxName==2) for the object identified with lpOleObj. If the string is not known, then NULL may be passed. If NULL is passed, IOleObject::GetUserType is called to retrieve it. If the caller has easy access to the string, it is faster to pass it in.
Handle to the menu in which to make modifications.
Position of the menu item.
The identifier value at which to start the verbs.
The maximum identifier value to be used for object verbs. If uIDVerbMax is 0, then no maximum identifier value is used.
Indicates whether to add a Convert item to the bottom of the menu (preceded by a separator).
The identifier value to use for the Convert menu item, if bAddConvert is TRUE.
An HMENU pointer to the cascading verb menu if it's created. If there is only one verb, this will be filled with NULL.
This function returns TRUE if lpOleObj was valid and at least one verb was added to the menu. A FALSE return indicates that lpOleObj was NULL and a disabled default menu item was created.
If the object has one verb, the verb is added directly to the given menu.
Note
The oledlg.h header defines OleUIAddVerbMenu as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.