共用方式為


IDispEventSimpleImpl::Invoke

This implementation of IDispatch::Invoke calls the event handlers listed in the event sink map.

STDMETHOD(Invoke)(
   DISPID dispidMember,
   REFIID /* riid */,
   LCID lcid,
   WORD /* wFlags */,
   DISPPARMS* pdispparams,
   VARIANT* pvarResult,
   EXCEPINFO* /* pexcepinfo */,
   UINT* /* puArgErr */ 
);

Remarks

See IDispatch::Invoke.

Requirements

Header: atlcom.h

See Also

Reference

IDispEventSimpleImpl Class

Other Resources

IDispEventSimpleImpl Members