共用方式為


CCmdTarget::EnumOleVerbs

Enumerates an object's OLE verbs.

BOOL EnumOleVerbs( 
   LPENUMOLEVERB* ppenumOleVerb  
);

Parameters

  • ppenumOleVerb
    A pointer to a pointer to an IEnumOLEVERB interface.

Return Value

TRUE if the object supports at least one OLE verb (in which case *ppenumOleVerb points to an IEnumOLEVERB enumerator interface), otherwise FALSE.

Remarks

This member function is basically an implementation of IOleObject::EnumVerbs.

Requirements

Header: afxwin.h

See Also

Reference

CCmdTarget Class

Hierarchy Chart

CCmdTarget::DoOleVerb