This implementation of IDispatch::GetIDsOfNames returns E_NOTIMPL.
STDMETHOD(GetIDsOfNames)(
   REFIID /* riid */,
   LPOLESTR* /* rgszNames */,
   UINT /* cNames */,
   LCID /* lcid */,
   DISPID* /* rgdispid */ 
);
Remarks
See IDispatch::GetIDsOfNames Method in the Windows SDK.
Requirements
Header: atlcom.h