Partager via


IEnumOLEVERB (Compact 2013)

3/26/2014

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

See Also

Reference

OLE Interfaces
IOleObject::EnumVerbs