共用方式為


IDispatchImpl::GetIDsOfNames

Maps a set of names to a corresponding set of dispatch identifiers.

STDMETHOD(GetIDsOfNames)(
   REFIID riid,
   LPOLESTR* rgszNames,
   UINT cNames,
   LCID lcid,
   DISPID* rgdispid 
);

Remarks

See IDispatch::GetIDsOfNames in the Windows SDK.

Requirements

Header: atlcom.h

See Also

Concepts

IDispatchImpl Class

IDispatchImpl Members