|
IEnumOLEVERB
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 the IOleObject::EnumVerbs member function.
When to Implement
You typically do not have to implement this interface. The OLE default handler
provides an implementation which returns the entries in the registration
database. 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.
When to Use
Call this interface if you need to list the verbs than an OLE object supports.
The prototypes of the member functions are as follows:
HRESULT Next(ULONG celt, OLEVERB * rgelt, ULONG * pceltFetched)
HRESULT Skip(ULONG celt)
HRESULT Reset(void)
HRESULT Clone(IEnumOLEVERB ** ppenum)
See Also
OLEVERB, IEnumXXXX
Related LinksSoftware for Delphi and C++ Builder developers Software for Visual Studio .NET developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference (win32.hlp) Win32 Multimedia Programmer's Reference (mmedia.hlp) Microsoft Windows Pen API Programmer's Reference (penapi.hlp) Microsoft Windows Sockets 2 Reference (sock2.hlp) Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp) Unix Manual Pages
|