Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure defines a verb that an object supports.

The IOleObject::EnumVerbsmethod 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; 
  LPWSTR 
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

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 AppendMenuare supported except for MF_BITMAP, MF_OWNERDRAW, and MF_POPUP.

grfAttribs

Combination of the verb attributes in the OLEVERBATTRIBenumeration.

Requirements

Header Oleidl.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also