OLEVERB structure (oleidl.h)

Defines a verb that an object supports. The IOleObject::EnumVerbs method creates an enumerator that can enumerate these structures for an object, and supplies a pointer to the enumerator's IEnumOLEVERB.

Syntax

typedef struct tagOLEVERB {
  LONG     lVerb;
  LPOLESTR lpszVerbName;
  DWORD    fuFlags;
  DWORD    grfAttribs;
} OLEVERB, *LPOLEVERB;

Members

lVerb

Integer identifier associated with this verb.

lpszVerbName

Pointer to a string that contains the verb's name.

fuFlags

In Windows, a group of flags taken from the flag constants beginning with MF_ defined in AppendMenu. Containers should use these flags in building an object's verb menu. All Flags defined in AppendMenu are supported except for MF_BITMAP, MF_OWNERDRAW, and MF_POPUP.

grfAttribs

Combination of the verb attributes in the OLEVERBATTRIB enumeration.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header oleidl.h

See also

IEnumOLEVERB

IOleObject::EnumVerbs