IEnumOLEVERB

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This interface enumerates the different verbs available for an object in order of ascending verb number.

IOleObject::EnumVerbs returns an enumerator that implements this interface.

When to Implement

Typically, you do not need to implement this interface. The OLE default handler provides an implementation that supplies the entries in the registry.

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

Methods

The following table shows the methods for this interface in vtable order.

Method Description

Next

Retrieves a specified number of items in the enumeration sequence.

Skip

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

Reset

Resets the enumeration sequence to the beginning.

Clone

Creates a copy of the current state of enumeration.

Remarks

To determine whether the platform supports this interface, see Determining Supported COM APIs.

Requirements

Header Oleidl.h, oleidl.idl
Library ole32.lib, uuid.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

OLE Interfaces
IOleObject::EnumVerbs