virtual HRESULT GetIDsOfNames(REFIID riid, OLECHAR ** rgszNames, unsigned int cNames, LCID lcid, DISPID * rgDispId ) = 0; virtual HRESULT Invoke(DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS * pDispParams, VARIANT * pVarResult, EXCEPINFO * pExcepInfo, unsigned int * puArgErr ) = 0; }; The IDispatch interface ID is defined as a GUID with the value of {00020400-0000-0000-C000-000000000046}. References External links DispHelper, an open-source library to help using an IDispatch from C or C++. IDispatchCodeGenerator, Code generator. Feature that adds IDispatch to an object. Language is C++. Object-oriented programming Microsoft application programming interfaces