The IEnumOLEVERB interface enumerates the different verbs available for an object in order of ascending verb number. An enumerator that implements the IEnumOLEVERB interface is returned by IOleObject::EnumVerbs. IEnumOLEVERB has the same methods as all enumerator interfaces: Next, Skip, Reset, and Clone. For general information on these methods, refer to IEnumXXXX.
You typically do not have to implement this interface. The OLE default handler provides an implementation that supplies the entries in the registry. Because calls to IOleObject::EnumVerb are always routed through the default handler, an OLE application can let the default handler do the work by implementing IOleObject::EnumVerb as a stub that simply returns OLE_S_USEREG. This informs the default handler that it should create the enumerator for you.
Call this interface if you need to list the verbs than an OLE object supports.
The prototypes of the methods are as follows:
HRESULT Next(
ULONG celt,
LPOLEVERB rgelt,
ULONG * pceltFetched
);
HRESULT Skip(
ULONG celt
);
HRESULT Reset(void)
HRESULT Clone(
IEnumOLEVERB ** ppenum
);
Windows NT: Use version 3.1 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in oleidl.h.