vbAccelerator - Contents of code file: Source_TypeLib_IExDispatch.odl

////////////////////////////////////////////////////////////
// Name : IExDispatch.odl
// Author : Paul R. Wilde
// Created : 17th November 1998
/////////////////////////////////////////////////////////////
// Copyright  Paul R. Wilde 1998. All Rights Reserved.
/////////////////////////////////////////////////////////////
// Bug reports, suggestions & comments should be emailed to :
// prw.exponential@dial.pipex.com
/////////////////////////////////////////////////////////////

[
   uuid(00020400-0000-0000-C000-000000000046),
//    dual, 
//    oleautomation, 
//    dispatchable, 
    helpstring("IDispatch interface"),
   odl
]
interface IExDispatch : IUnKnown
{
   typedef IExDispatch * LPEXDISPATCH;

   [helpstring("GetTypeInfoCount")]
   HRESULT GetTypeInfoCount(
      [out] UINT *pctInfo);

       HRESULT GetTypeInfo(
           [in] UINT itinfo,
           [in] LCID lcid,
      [out] long * pptinfo);
           //[out] ITypeInfo ** pptinfo);

       HRESULT GetIDsOfNames(
           [in] REFIID riid,
           [in] LPOLESTR *rgszNames,
           [in] UINT cNames,
           [in] LCID lcid,
           [in, out] DISPID *rgdispid);

       HRESULT Invoke(
           [in] DISPID dispidMember,
           [in] REFIID riid,
           [in] LCID lcid,
           [in] WORD wFlags,
           [in] DISPPARAMS *pdispparams,
           [in, out] VARIANT *pvarResult,
           [out] EXCEPINFO *pexcepinfo,
           [out] UINT *puArgErr);

}

#define DISPID_UNKNOWN          = -1;
#define DISPID_VALUE            = 0;
#define DISPID_PROPERTYPUT    = -3;
#define DISPID_NEWENUM     = -4;
#define DISPID_EVALUATE    = -5;
#define DISPID_CONSTRUCTOR    = -6;
#define DISPID_DESTRUCTOR    = -7;
#define DISPID_COLLECT       = -8;