共用方式為


IDispatchImpl::Invoke

Provides access to the methods and properties exposed by the dual interface.

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

Remarks

See IDispatch::Invoke in the Windows SDK.

Requirements

Header: atlcom.h

See Also

Concepts

IDispatchImpl Class

IDispatchImpl Members