IOleObject::EnumVerbs method (oleidl.h)
Exposes a pull-down menu listing the verbs available for an object in ascending order by verb number.
Syntax
HRESULT EnumVerbs(
[out] IEnumOLEVERB **ppEnumOleVerb
);
Parameters
[out] ppEnumOleVerb
Address of IEnumOLEVERB pointer variable that receives the interface pointer to the new enumerator object. Each time an object receives a call to IOleObject::EnumVerbs, it must increase the reference count on ppEnumOleVerb. It is the caller's responsibility to call IUnknown::Release when it is done with ppEnumOleVerb. If an error occurs, ppEnumOleVerb must be set to NULL.
Return value
This method returns S_OK on success. Other possible return values include the following.
Return code | Description |
---|---|
|
Delegate to the default handler to use the entries in the registry to provide the enumeration. |
|
Object does not support any verbs. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | oleidl.h |