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.

When to implement

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::EnumVerbs are always routed through the default handler, an OLE application can let the default handler do the work by implementing IOleObject::EnumVerbs 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 that an OLE object supports.

Note  This interface is not supported for use across computer boundaries.

Members

The IEnumOLEVERB interface inherits from the IUnknown interface. IEnumOLEVERB also has these types of members:

Methods

The IEnumOLEVERB interface has these methods.

MethodDescription
Clone

Creates a new enumerator that contains the same enumeration state as the current one.

Next

Retrieves the specified number of items in the enumeration sequence.

Reset

Resets the enumeration sequence to the beginning.

Skip

Skips over the specified number of items in the enumeration sequence.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OleIdl.h

IDL

OleIdl.Idl

IID

IID_IEnumOLEVERB is defined as 00000104-0000-0000-C000-000000000046

 

 

Community Additions

ADD
Show:
© 2014 Microsoft