Home | History | Annotate | Download | only in include
      1 /**
      2  * This file has no copyright assigned and is placed in the Public Domain.
      3  * This file is part of the mingw-w64 runtime package.
      4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
      5  */
      6 #ifndef __REQUIRED_RPCNDR_H_VERSION__
      7 #define __REQUIRED_RPCNDR_H_VERSION__ 440
      8 #endif
      9 
     10 #include "rpc.h"
     11 #include "rpcndr.h"
     12 
     13 #ifndef __RPCNDR_H_VERSION__
     14 #error this stub requires an updated version of <rpcndr.h>
     15 #endif
     16 
     17 #ifndef COM_NO_WINDOWS_H
     18 #include "windows.h"
     19 #include "ole2.h"
     20 #endif
     21 
     22 #ifndef __activscp_h__
     23 #define __activscp_h__
     24 
     25 #ifndef __IActiveScriptSite_FWD_DEFINED__
     26 #define __IActiveScriptSite_FWD_DEFINED__
     27 typedef struct IActiveScriptSite IActiveScriptSite;
     28 #endif
     29 
     30 #ifndef __IActiveScriptError_FWD_DEFINED__
     31 #define __IActiveScriptError_FWD_DEFINED__
     32 typedef struct IActiveScriptError IActiveScriptError;
     33 #endif
     34 
     35 #ifndef __IActiveScriptError64_FWD_DEFINED__
     36 #define __IActiveScriptError64_FWD_DEFINED__
     37 typedef struct IActiveScriptError64 IActiveScriptError64;
     38 #endif
     39 
     40 #ifndef __IActiveScriptSiteWindow_FWD_DEFINED__
     41 #define __IActiveScriptSiteWindow_FWD_DEFINED__
     42 typedef struct IActiveScriptSiteWindow IActiveScriptSiteWindow;
     43 #endif
     44 
     45 #ifndef __IActiveScriptSiteInterruptPoll_FWD_DEFINED__
     46 #define __IActiveScriptSiteInterruptPoll_FWD_DEFINED__
     47 typedef struct IActiveScriptSiteInterruptPoll IActiveScriptSiteInterruptPoll;
     48 #endif
     49 
     50 #ifndef __IActiveScript_FWD_DEFINED__
     51 #define __IActiveScript_FWD_DEFINED__
     52 typedef struct IActiveScript IActiveScript;
     53 #endif
     54 
     55 #ifndef __IActiveScriptParse32_FWD_DEFINED__
     56 #define __IActiveScriptParse32_FWD_DEFINED__
     57 typedef struct IActiveScriptParse32 IActiveScriptParse32;
     58 #endif
     59 
     60 #ifndef __IActiveScriptParse64_FWD_DEFINED__
     61 #define __IActiveScriptParse64_FWD_DEFINED__
     62 typedef struct IActiveScriptParse64 IActiveScriptParse64;
     63 #endif
     64 
     65 #ifndef __IActiveScriptParseProcedureOld32_FWD_DEFINED__
     66 #define __IActiveScriptParseProcedureOld32_FWD_DEFINED__
     67 typedef struct IActiveScriptParseProcedureOld32 IActiveScriptParseProcedureOld32;
     68 #endif
     69 
     70 #ifndef __IActiveScriptParseProcedureOld64_FWD_DEFINED__
     71 #define __IActiveScriptParseProcedureOld64_FWD_DEFINED__
     72 typedef struct IActiveScriptParseProcedureOld64 IActiveScriptParseProcedureOld64;
     73 #endif
     74 
     75 #ifndef __IActiveScriptParseProcedure32_FWD_DEFINED__
     76 #define __IActiveScriptParseProcedure32_FWD_DEFINED__
     77 typedef struct IActiveScriptParseProcedure32 IActiveScriptParseProcedure32;
     78 #endif
     79 
     80 #ifndef __IActiveScriptParseProcedure64_FWD_DEFINED__
     81 #define __IActiveScriptParseProcedure64_FWD_DEFINED__
     82 typedef struct IActiveScriptParseProcedure64 IActiveScriptParseProcedure64;
     83 #endif
     84 
     85 #ifndef __IActiveScriptParseProcedure2_32_FWD_DEFINED__
     86 #define __IActiveScriptParseProcedure2_32_FWD_DEFINED__
     87 typedef struct IActiveScriptParseProcedure2_32 IActiveScriptParseProcedure2_32;
     88 #endif
     89 
     90 #ifndef __IActiveScriptParseProcedure2_64_FWD_DEFINED__
     91 #define __IActiveScriptParseProcedure2_64_FWD_DEFINED__
     92 typedef struct IActiveScriptParseProcedure2_64 IActiveScriptParseProcedure2_64;
     93 #endif
     94 
     95 #ifndef __IActiveScriptEncode_FWD_DEFINED__
     96 #define __IActiveScriptEncode_FWD_DEFINED__
     97 typedef struct IActiveScriptEncode IActiveScriptEncode;
     98 #endif
     99 
    100 #ifndef __IActiveScriptHostEncode_FWD_DEFINED__
    101 #define __IActiveScriptHostEncode_FWD_DEFINED__
    102 typedef struct IActiveScriptHostEncode IActiveScriptHostEncode;
    103 #endif
    104 
    105 #ifndef __IBindEventHandler_FWD_DEFINED__
    106 #define __IBindEventHandler_FWD_DEFINED__
    107 typedef struct IBindEventHandler IBindEventHandler;
    108 #endif
    109 
    110 #ifndef __IActiveScriptStats_FWD_DEFINED__
    111 #define __IActiveScriptStats_FWD_DEFINED__
    112 typedef struct IActiveScriptStats IActiveScriptStats;
    113 #endif
    114 
    115 #ifndef __IActiveScriptProperty_FWD_DEFINED__
    116 #define __IActiveScriptProperty_FWD_DEFINED__
    117 typedef struct IActiveScriptProperty IActiveScriptProperty;
    118 #endif
    119 
    120 #ifndef __ITridentEventSink_FWD_DEFINED__
    121 #define __ITridentEventSink_FWD_DEFINED__
    122 typedef struct ITridentEventSink ITridentEventSink;
    123 #endif
    124 
    125 #ifndef __IActiveScriptGarbageCollector_FWD_DEFINED__
    126 #define __IActiveScriptGarbageCollector_FWD_DEFINED__
    127 typedef struct IActiveScriptGarbageCollector IActiveScriptGarbageCollector;
    128 #endif
    129 
    130 #ifndef __IActiveScriptSIPInfo_FWD_DEFINED__
    131 #define __IActiveScriptSIPInfo_FWD_DEFINED__
    132 typedef struct IActiveScriptSIPInfo IActiveScriptSIPInfo;
    133 #endif
    134 
    135 #ifndef __IActiveScriptSiteTraceInfo_FWD_DEFINED__
    136 #define __IActiveScriptSiteTraceInfo_FWD_DEFINED__
    137 typedef struct IActiveScriptSiteTraceInfo IActiveScriptSiteTraceInfo;
    138 #endif
    139 
    140 #ifndef __IActiveScriptTraceInfo_FWD_DEFINED__
    141 #define __IActiveScriptTraceInfo_FWD_DEFINED__
    142 typedef struct IActiveScriptTraceInfo IActiveScriptTraceInfo;
    143 #endif
    144 
    145 #include "ocidl.h"
    146 
    147 #ifdef __cplusplus
    148 extern "C"{
    149 #endif
    150 
    151 #ifndef __MIDL_user_allocate_free_DEFINED__
    152 #define __MIDL_user_allocate_free_DEFINED__
    153   void *__RPC_API MIDL_user_allocate(size_t);
    154   void __RPC_API MIDL_user_free(void *);
    155 #endif
    156 
    157 #ifndef __ActivScp_h
    158 #define __ActivScp_h
    159 
    160 #ifndef _NO_SCRIPT_GUIDS
    161   DEFINE_GUID(CATID_ActiveScript,0xf0b7a1a1,0x9847,0x11cf,0x8f,0x20,0x00,0x80,0x5f,0x2c,0xd0,0x64);
    162   DEFINE_GUID(CATID_ActiveScriptParse,0xf0b7a1a2,0x9847,0x11cf,0x8f,0x20,0x00,0x80,0x5f,0x2c,0xd0,0x64);
    163   DEFINE_GUID(CATID_ActiveScriptEncode,0xf0b7a1a3,0x9847,0x11cf,0x8f,0x20,0x00,0x80,0x5f,0x2c,0xd0,0x64);
    164   DEFINE_GUID(IID_IActiveScript,0xbb1a2ae1,0xa4f9,0x11cf,0x8f,0x20,0x00,0x80,0x5f,0x2c,0xd0,0x64);
    165   DEFINE_GUID(IID_IActiveScriptParse32,0xbb1a2ae2,0xa4f9,0x11cf,0x8f,0x20,0x00,0x80,0x5f,0x2c,0xd0,0x64);
    166   DEFINE_GUID(IID_IActiveScriptParse64,0xc7ef7658,0xe1ee,0x480e,0x97,0xea,0xd5,0x2c,0xb4,0xd7,0x6d,0x17);
    167   DEFINE_GUID(IID_IActiveScriptEncode,0xbb1a2ae3,0xa4f9,0x11cf,0x8f,0x20,0x00,0x80,0x5f,0x2c,0xd0,0x64);
    168   DEFINE_GUID(IID_IActiveScriptHostEncode,0xbee9b76e,0xcfe3,0x11d1,0xb7,0x47,0x00,0xc0,0x4f,0xc2,0xb0,0x85);
    169   DEFINE_GUID(IID_IActiveScriptParseProcedureOld32,0x1cff0050,0x6fdd,0x11d0,0x93,0x28,0x00,0xa0,0xc9,0x0d,0xca,0xa9);
    170   DEFINE_GUID(IID_IActiveScriptParseProcedureOld64,0x21f57128,0x08c9,0x4638,0xba,0x12,0x22,0xd1,0x5d,0x88,0xdc,0x5c);
    171   DEFINE_GUID(IID_IActiveScriptParseProcedure32,0xaa5b6a80,0xb834,0x11d0,0x93,0x2f,0x00,0xa0,0xc9,0x0d,0xca,0xa9);
    172   DEFINE_GUID(IID_IActiveScriptParseProcedure64,0xc64713b6,0xe029,0x4cc5,0x92,0x00,0x43,0x8b,0x72,0x89,0x0b,0x6a);
    173   DEFINE_GUID(IID_IActiveScriptParseProcedure2_32,0x71ee5b20,0xfb04,0x11d1,0xb3,0xa8,0x00,0xa0,0xc9,0x11,0xe8,0xb2);
    174   DEFINE_GUID(IID_IActiveScriptParseProcedure2_64,0xfe7c4271,0x210c,0x448d,0x9f,0x54,0x76,0xda,0xb7,0x04,0x7b,0x28);
    175   DEFINE_GUID(IID_IActiveScriptSite,0xdb01a1e3,0xa42b,0x11cf,0x8f,0x20,0x00,0x80,0x5f,0x2c,0xd0,0x64);
    176   DEFINE_GUID(IID_IActiveScriptSiteTraceInfo,0x4b7272ae,0x1955,0x4bfe,0x98,0xb0,0x78,0x6,0x21,0x88,0x85,0x69);
    177   DEFINE_GUID(IID_IActiveScriptSiteWindow,0xd10f6761,0x83e9,0x11cf,0x8f,0x20,0x00,0x80,0x5f,0x2c,0xd0,0x64);
    178   DEFINE_GUID(IID_IActiveScriptSiteInterruptPoll,0x539698a0,0xcdca,0x11cf,0xa5,0xeb,0x00,0xaa,0x00,0x47,0xa0,0x63);
    179   DEFINE_GUID(IID_IActiveScriptError,0xeae1ba61,0xa4ed,0x11cf,0x8f,0x20,0x00,0x80,0x5f,0x2c,0xd0,0x64);
    180   DEFINE_GUID(IID_IActiveScriptError64,0xb21fb2a1,0x5b8f,0x4963,0x8c,0x21,0x21,0x45,0x0f,0x84,0xed,0x7f);
    181   DEFINE_GUID(IID_IBindEventHandler,0x63cdbcb0,0xc1b1,0x11d0,0x93,0x36,0x00,0xa0,0xc9,0x0d,0xca,0xa9);
    182   DEFINE_GUID(IID_IActiveScriptStats,0xb8da6310,0xe19b,0x11d0,0x93,0x3c,0x00,0xa0,0xc9,0x0d,0xca,0xa9);
    183   DEFINE_GUID(IID_IActiveScriptProperty,0x4954E0D0,0xFBC7,0x11D1,0x84,0x10,0x00,0x60,0x08,0xC3,0xFB,0xFC);
    184   DEFINE_GUID(IID_ITridentEventSink,0x1dc9ca50,0x6ef,0x11d2,0x84,0x15,0x00,0x60,0x08,0xc3,0xfb,0xfc);
    185   DEFINE_GUID(IID_IActiveScriptGarbageCollector,0x6aa2c4a0,0x2b53,0x11d4,0xa2,0xa0,0x00,0x10,0x4b,0xd3,0x50,0x90);
    186   DEFINE_GUID(IID_IActiveScriptSIPInfo,0x764651d0,0x38de,0x11d4,0xa2,0xa3,0x00,0x10,0x4b,0xd3,0x50,0x90);
    187   DEFINE_GUID(IID_IActiveScriptTraceInfo,0xC35456E7,0xBEBF,0x4a1b,0x86,0xA9,0x24,0xD5,0x6B,0xE8,0xB3,0x69);
    188   DEFINE_GUID(OID_VBSSIP,0x1629f04e,0x2799,0x4db5,0x8f,0xe5,0xac,0xe1,0x0f,0x17,0xeb,0xab);
    189   DEFINE_GUID(OID_JSSIP,0x6c9e010,0x38ce,0x11d4,0xa2,0xa3,0x00,0x10,0x4b,0xd3,0x50,0x90);
    190   DEFINE_GUID(OID_WSFSIP,0x1a610570,0x38ce,0x11d4,0xa2,0xa3,0x00,0x10,0x4b,0xd3,0x50,0x90);
    191 #endif
    192 
    193 #define SCRIPTITEM_ISVISIBLE 0x00000002
    194 #define SCRIPTITEM_ISSOURCE 0x00000004
    195 #define SCRIPTITEM_GLOBALMEMBERS 0x00000008
    196 #define SCRIPTITEM_ISPERSISTENT 0x00000040
    197 #define SCRIPTITEM_CODEONLY 0x00000200
    198 #define SCRIPTITEM_NOCODE 0x00000400
    199 
    200 #define SCRIPTITEM_ALL_FLAGS (SCRIPTITEM_ISSOURCE | SCRIPTITEM_ISVISIBLE | SCRIPTITEM_ISPERSISTENT | SCRIPTITEM_GLOBALMEMBERS | SCRIPTITEM_NOCODE | SCRIPTITEM_CODEONLY)
    201 
    202 #define SCRIPTTYPELIB_ISCONTROL 0x00000010
    203 #define SCRIPTTYPELIB_ISPERSISTENT 0x00000040
    204 #define SCRIPTTYPELIB_ALL_FLAGS (SCRIPTTYPELIB_ISCONTROL | SCRIPTTYPELIB_ISPERSISTENT)
    205 
    206 #define SCRIPTTEXT_DELAYEXECUTION 0x00000001
    207 #define SCRIPTTEXT_ISVISIBLE 0x00000002
    208 #define SCRIPTTEXT_ISEXPRESSION 0x00000020
    209 #define SCRIPTTEXT_ISPERSISTENT 0x00000040
    210 #define SCRIPTTEXT_HOSTMANAGESSOURCE 0x00000080
    211 #define SCRIPTTEXT_ALL_FLAGS (SCRIPTTEXT_DELAYEXECUTION | SCRIPTTEXT_ISVISIBLE | SCRIPTTEXT_ISEXPRESSION | SCRIPTTEXT_ISPERSISTENT | SCRIPTTEXT_HOSTMANAGESSOURCE)
    212 
    213 #define SCRIPTPROC_ISEXPRESSION 0x00000020
    214 #define SCRIPTPROC_HOSTMANAGESSOURCE 0x00000080
    215 #define SCRIPTPROC_IMPLICIT_THIS 0x00000100
    216 #define SCRIPTPROC_IMPLICIT_PARENTS 0x00000200
    217 #define SCRIPTPROC_ALL_FLAGS (SCRIPTPROC_HOSTMANAGESSOURCE | SCRIPTPROC_ISEXPRESSION | SCRIPTPROC_IMPLICIT_THIS | SCRIPTPROC_IMPLICIT_PARENTS)
    218 
    219 #define SCRIPTINFO_IUNKNOWN 0x00000001
    220 #define SCRIPTINFO_ITYPEINFO 0x00000002
    221 #define SCRIPTINFO_ALL_FLAGS (SCRIPTINFO_IUNKNOWN | SCRIPTINFO_ITYPEINFO)
    222 
    223 #define SCRIPTINTERRUPT_DEBUG 0x00000001
    224 #define SCRIPTINTERRUPT_RAISEEXCEPTION 0x00000002
    225 #define SCRIPTINTERRUPT_ALL_FLAGS (SCRIPTINTERRUPT_DEBUG | SCRIPTINTERRUPT_RAISEEXCEPTION)
    226 
    227 #define SCRIPTSTAT_STATEMENT_COUNT 1
    228 #define SCRIPTSTAT_INSTRUCTION_COUNT 2
    229 #define SCRIPTSTAT_INTSTRUCTION_TIME 3
    230 #define SCRIPTSTAT_TOTAL_TIME 4
    231 
    232 #define SCRIPT_ENCODE_SECTION 0x00000001
    233 
    234 #define SCRIPT_ENCODE_DEFAULT_LANGUAGE 0x00000001
    235 #define SCRIPT_ENCODE_NO_ASP_LANGUAGE 0x00000002
    236 
    237 #define SCRIPTPROP_NAME 0x00000000
    238 #define SCRIPTPROP_MAJORVERSION 0x00000001
    239 #define SCRIPTPROP_MINORVERSION 0x00000002
    240 #define SCRIPTPROP_BUILDNUMBER 0x00000003
    241 
    242 #define SCRIPTPROP_DELAYEDEVENTSINKING 0x00001000
    243 #define SCRIPTPROP_CATCHEXCEPTION 0x00001001
    244 #define SCRIPTPROP_CONVERSIONLCID 0x00001002
    245 #define SCRIPTPROP_HOSTSTACKREQUIRED 0x00001003
    246 
    247 #define SCRIPTPROP_DEBUGGER 0x00001100
    248 #define SCRIPTPROP_JITDEBUG 0x00001101
    249 
    250 #define SCRIPTPROP_HACK_FIBERSUPPORT 0x70000000
    251 #define SCRIPTPROP_HACK_TRIDENTEVENTSINK 0x70000001
    252 
    253   typedef enum tagSCRIPTSTATE {
    254     SCRIPTSTATE_UNINITIALIZED = 0,SCRIPTSTATE_INITIALIZED = 5,SCRIPTSTATE_STARTED = 1,SCRIPTSTATE_CONNECTED = 2,
    255     SCRIPTSTATE_DISCONNECTED = 3,SCRIPTSTATE_CLOSED = 4
    256   } SCRIPTSTATE;
    257 
    258   typedef enum tagSCRIPTTRACEINFO {
    259     SCRIPTTRACEINFO_SCRIPTSTART = 0,SCRIPTTRACEINFO_SCRIPTEND = 1,SCRIPTTRACEINFO_COMCALLSTART = 2,
    260     SCRIPTTRACEINFO_COMCALLEND = 3,SCRIPTTRACEINFO_CREATEOBJSTART = 4,SCRIPTTRACEINFO_CREATEOBJEND = 5,
    261     SCRIPTTRACEINFO_GETOBJSTART = 6,SCRIPTTRACEINFO_GETOBJEND = 7
    262   } SCRIPTTRACEINFO;
    263 
    264   typedef enum tagSCRIPTTHREADSTATE {
    265     SCRIPTTHREADSTATE_NOTINSCRIPT = 0,SCRIPTTHREADSTATE_RUNNING = 1
    266   } SCRIPTTHREADSTATE;
    267 
    268   typedef enum tagSCRIPTGCTYPE {
    269     SCRIPTGCTYPE_NORMAL = 0,SCRIPTGCTYPE_EXHAUSTIVE = 1
    270   } SCRIPTGCTYPE;
    271 
    272   typedef DWORD SCRIPTTHREADID;
    273 
    274 #define SCRIPTTHREADID_CURRENT ((SCRIPTTHREADID)-1)
    275 #define SCRIPTTHREADID_BASE ((SCRIPTTHREADID)-2)
    276 #define SCRIPTTHREADID_ALL ((SCRIPTTHREADID)-3)
    277 
    278   extern RPC_IF_HANDLE __MIDL_itf_activscp_0000_v0_0_c_ifspec;
    279   extern RPC_IF_HANDLE __MIDL_itf_activscp_0000_v0_0_s_ifspec;
    280 
    281 #ifndef __IActiveScriptSite_INTERFACE_DEFINED__
    282 #define __IActiveScriptSite_INTERFACE_DEFINED__
    283 
    284   EXTERN_C const IID IID_IActiveScriptSite;
    285 
    286 #if defined(__cplusplus) && !defined(CINTERFACE)
    287   struct IActiveScriptSite : public IUnknown {
    288   public:
    289     virtual HRESULT WINAPI GetLCID(LCID *plcid) = 0;
    290     virtual HRESULT WINAPI GetItemInfo(LPCOLESTR pstrName,DWORD dwReturnMask,IUnknown **ppiunkItem,ITypeInfo **ppti) = 0;
    291     virtual HRESULT WINAPI GetDocVersionString(BSTR *pbstrVersion) = 0;
    292     virtual HRESULT WINAPI OnScriptTerminate(const VARIANT *pvarResult,const EXCEPINFO *pexcepinfo) = 0;
    293     virtual HRESULT WINAPI OnStateChange(SCRIPTSTATE ssScriptState) = 0;
    294     virtual HRESULT WINAPI OnScriptError(IActiveScriptError *pscripterror) = 0;
    295     virtual HRESULT WINAPI OnEnterScript(void) = 0;
    296     virtual HRESULT WINAPI OnLeaveScript(void) = 0;
    297   };
    298 #else
    299   typedef struct IActiveScriptSiteVtbl {
    300     BEGIN_INTERFACE
    301       HRESULT (WINAPI *QueryInterface)(IActiveScriptSite *This,REFIID riid,void **ppvObject);
    302       ULONG (WINAPI *AddRef)(IActiveScriptSite *This);
    303       ULONG (WINAPI *Release)(IActiveScriptSite *This);
    304       HRESULT (WINAPI *GetLCID)(IActiveScriptSite *This,LCID *plcid);
    305       HRESULT (WINAPI *GetItemInfo)(IActiveScriptSite *This,LPCOLESTR pstrName,DWORD dwReturnMask,IUnknown **ppiunkItem,ITypeInfo **ppti);
    306       HRESULT (WINAPI *GetDocVersionString)(IActiveScriptSite *This,BSTR *pbstrVersion);
    307       HRESULT (WINAPI *OnScriptTerminate)(IActiveScriptSite *This,const VARIANT *pvarResult,const EXCEPINFO *pexcepinfo);
    308       HRESULT (WINAPI *OnStateChange)(IActiveScriptSite *This,SCRIPTSTATE ssScriptState);
    309       HRESULT (WINAPI *OnScriptError)(IActiveScriptSite *This,IActiveScriptError *pscripterror);
    310       HRESULT (WINAPI *OnEnterScript)(IActiveScriptSite *This);
    311       HRESULT (WINAPI *OnLeaveScript)(IActiveScriptSite *This);
    312     END_INTERFACE
    313   } IActiveScriptSiteVtbl;
    314   struct IActiveScriptSite {
    315     CONST_VTBL struct IActiveScriptSiteVtbl *lpVtbl;
    316   };
    317 #ifdef COBJMACROS
    318 #define IActiveScriptSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    319 #define IActiveScriptSite_AddRef(This) (This)->lpVtbl->AddRef(This)
    320 #define IActiveScriptSite_Release(This) (This)->lpVtbl->Release(This)
    321 #define IActiveScriptSite_GetLCID(This,plcid) (This)->lpVtbl->GetLCID(This,plcid)
    322 #define IActiveScriptSite_GetItemInfo(This,pstrName,dwReturnMask,ppiunkItem,ppti) (This)->lpVtbl->GetItemInfo(This,pstrName,dwReturnMask,ppiunkItem,ppti)
    323 #define IActiveScriptSite_GetDocVersionString(This,pbstrVersion) (This)->lpVtbl->GetDocVersionString(This,pbstrVersion)
    324 #define IActiveScriptSite_OnScriptTerminate(This,pvarResult,pexcepinfo) (This)->lpVtbl->OnScriptTerminate(This,pvarResult,pexcepinfo)
    325 #define IActiveScriptSite_OnStateChange(This,ssScriptState) (This)->lpVtbl->OnStateChange(This,ssScriptState)
    326 #define IActiveScriptSite_OnScriptError(This,pscripterror) (This)->lpVtbl->OnScriptError(This,pscripterror)
    327 #define IActiveScriptSite_OnEnterScript(This) (This)->lpVtbl->OnEnterScript(This)
    328 #define IActiveScriptSite_OnLeaveScript(This) (This)->lpVtbl->OnLeaveScript(This)
    329 #endif
    330 #endif
    331 
    332   HRESULT WINAPI IActiveScriptSite_GetLCID_Proxy(IActiveScriptSite *This,LCID *plcid);
    333   void __RPC_STUB IActiveScriptSite_GetLCID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    334   HRESULT WINAPI IActiveScriptSite_GetItemInfo_Proxy(IActiveScriptSite *This,LPCOLESTR pstrName,DWORD dwReturnMask,IUnknown **ppiunkItem,ITypeInfo **ppti);
    335   void __RPC_STUB IActiveScriptSite_GetItemInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    336   HRESULT WINAPI IActiveScriptSite_GetDocVersionString_Proxy(IActiveScriptSite *This,BSTR *pbstrVersion);
    337   void __RPC_STUB IActiveScriptSite_GetDocVersionString_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    338   HRESULT WINAPI IActiveScriptSite_OnScriptTerminate_Proxy(IActiveScriptSite *This,const VARIANT *pvarResult,const EXCEPINFO *pexcepinfo);
    339   void __RPC_STUB IActiveScriptSite_OnScriptTerminate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    340   HRESULT WINAPI IActiveScriptSite_OnStateChange_Proxy(IActiveScriptSite *This,SCRIPTSTATE ssScriptState);
    341   void __RPC_STUB IActiveScriptSite_OnStateChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    342   HRESULT WINAPI IActiveScriptSite_OnScriptError_Proxy(IActiveScriptSite *This,IActiveScriptError *pscripterror);
    343   void __RPC_STUB IActiveScriptSite_OnScriptError_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    344   HRESULT WINAPI IActiveScriptSite_OnEnterScript_Proxy(IActiveScriptSite *This);
    345   void __RPC_STUB IActiveScriptSite_OnEnterScript_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    346   HRESULT WINAPI IActiveScriptSite_OnLeaveScript_Proxy(IActiveScriptSite *This);
    347   void __RPC_STUB IActiveScriptSite_OnLeaveScript_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    348 #endif
    349 
    350 #ifndef __IActiveScriptError_INTERFACE_DEFINED__
    351 #define __IActiveScriptError_INTERFACE_DEFINED__
    352   EXTERN_C const IID IID_IActiveScriptError;
    353 #if defined(__cplusplus) && !defined(CINTERFACE)
    354   struct IActiveScriptError : public IUnknown {
    355   public:
    356     virtual HRESULT WINAPI GetExceptionInfo(EXCEPINFO *pexcepinfo) = 0;
    357     virtual HRESULT WINAPI GetSourcePosition(DWORD *pdwSourceContext,ULONG *pulLineNumber,LONG *plCharacterPosition) = 0;
    358     virtual HRESULT WINAPI GetSourceLineText(BSTR *pbstrSourceLine) = 0;
    359   };
    360 #else
    361   typedef struct IActiveScriptErrorVtbl {
    362     BEGIN_INTERFACE
    363       HRESULT (WINAPI *QueryInterface)(IActiveScriptError *This,REFIID riid,void **ppvObject);
    364       ULONG (WINAPI *AddRef)(IActiveScriptError *This);
    365       ULONG (WINAPI *Release)(IActiveScriptError *This);
    366       HRESULT (WINAPI *GetExceptionInfo)(IActiveScriptError *This,EXCEPINFO *pexcepinfo);
    367       HRESULT (WINAPI *GetSourcePosition)(IActiveScriptError *This,DWORD *pdwSourceContext,ULONG *pulLineNumber,LONG *plCharacterPosition);
    368       HRESULT (WINAPI *GetSourceLineText)(IActiveScriptError *This,BSTR *pbstrSourceLine);
    369     END_INTERFACE
    370   } IActiveScriptErrorVtbl;
    371   struct IActiveScriptError {
    372     CONST_VTBL struct IActiveScriptErrorVtbl *lpVtbl;
    373   };
    374 #ifdef COBJMACROS
    375 #define IActiveScriptError_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    376 #define IActiveScriptError_AddRef(This) (This)->lpVtbl->AddRef(This)
    377 #define IActiveScriptError_Release(This) (This)->lpVtbl->Release(This)
    378 #define IActiveScriptError_GetExceptionInfo(This,pexcepinfo) (This)->lpVtbl->GetExceptionInfo(This,pexcepinfo)
    379 #define IActiveScriptError_GetSourcePosition(This,pdwSourceContext,pulLineNumber,plCharacterPosition) (This)->lpVtbl->GetSourcePosition(This,pdwSourceContext,pulLineNumber,plCharacterPosition)
    380 #define IActiveScriptError_GetSourceLineText(This,pbstrSourceLine) (This)->lpVtbl->GetSourceLineText(This,pbstrSourceLine)
    381 #endif
    382 #endif
    383 
    384   HRESULT WINAPI IActiveScriptError_RemoteGetExceptionInfo_Proxy(IActiveScriptError *This,EXCEPINFO *pexcepinfo);
    385   void __RPC_STUB IActiveScriptError_RemoteGetExceptionInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    386   HRESULT WINAPI IActiveScriptError_GetSourcePosition_Proxy(IActiveScriptError *This,DWORD *pdwSourceContext,ULONG *pulLineNumber,LONG *plCharacterPosition);
    387   void __RPC_STUB IActiveScriptError_GetSourcePosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    388   HRESULT WINAPI IActiveScriptError_GetSourceLineText_Proxy(IActiveScriptError *This,BSTR *pbstrSourceLine);
    389   void __RPC_STUB IActiveScriptError_GetSourceLineText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    390 #endif
    391 
    392 #ifndef __IActiveScriptError64_INTERFACE_DEFINED__
    393 #define __IActiveScriptError64_INTERFACE_DEFINED__
    394   EXTERN_C const IID IID_IActiveScriptError64;
    395 #if defined(__cplusplus) && !defined(CINTERFACE)
    396   struct IActiveScriptError64 : public IActiveScriptError {
    397   public:
    398     virtual HRESULT WINAPI GetSourcePosition64(DWORDLONG *pdwSourceContext,ULONG *pulLineNumber,LONG *plCharacterPosition) = 0;
    399   };
    400 #else
    401   typedef struct IActiveScriptError64Vtbl {
    402     BEGIN_INTERFACE
    403       HRESULT (WINAPI *QueryInterface)(IActiveScriptError64 *This,REFIID riid,void **ppvObject);
    404       ULONG (WINAPI *AddRef)(IActiveScriptError64 *This);
    405       ULONG (WINAPI *Release)(IActiveScriptError64 *This);
    406       HRESULT (WINAPI *GetExceptionInfo)(IActiveScriptError64 *This,EXCEPINFO *pexcepinfo);
    407       HRESULT (WINAPI *GetSourcePosition)(IActiveScriptError64 *This,DWORD *pdwSourceContext,ULONG *pulLineNumber,LONG *plCharacterPosition);
    408       HRESULT (WINAPI *GetSourceLineText)(IActiveScriptError64 *This,BSTR *pbstrSourceLine);
    409       HRESULT (WINAPI *GetSourcePosition64)(IActiveScriptError64 *This,DWORDLONG *pdwSourceContext,ULONG *pulLineNumber,LONG *plCharacterPosition);
    410     END_INTERFACE
    411   } IActiveScriptError64Vtbl;
    412   struct IActiveScriptError64 {
    413     CONST_VTBL struct IActiveScriptError64Vtbl *lpVtbl;
    414   };
    415 #ifdef COBJMACROS
    416 #define IActiveScriptError64_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    417 #define IActiveScriptError64_AddRef(This) (This)->lpVtbl->AddRef(This)
    418 #define IActiveScriptError64_Release(This) (This)->lpVtbl->Release(This)
    419 #define IActiveScriptError64_GetExceptionInfo(This,pexcepinfo) (This)->lpVtbl->GetExceptionInfo(This,pexcepinfo)
    420 #define IActiveScriptError64_GetSourcePosition(This,pdwSourceContext,pulLineNumber,plCharacterPosition) (This)->lpVtbl->GetSourcePosition(This,pdwSourceContext,pulLineNumber,plCharacterPosition)
    421 #define IActiveScriptError64_GetSourceLineText(This,pbstrSourceLine) (This)->lpVtbl->GetSourceLineText(This,pbstrSourceLine)
    422 #define IActiveScriptError64_GetSourcePosition64(This,pdwSourceContext,pulLineNumber,plCharacterPosition) (This)->lpVtbl->GetSourcePosition64(This,pdwSourceContext,pulLineNumber,plCharacterPosition)
    423 #endif
    424 #endif
    425 
    426   HRESULT WINAPI IActiveScriptError64_GetSourcePosition64_Proxy(IActiveScriptError64 *This,DWORDLONG *pdwSourceContext,ULONG *pulLineNumber,LONG *plCharacterPosition);
    427   void __RPC_STUB IActiveScriptError64_GetSourcePosition64_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    428 #endif
    429 
    430 #ifndef __IActiveScriptSiteWindow_INTERFACE_DEFINED__
    431 #define __IActiveScriptSiteWindow_INTERFACE_DEFINED__
    432   EXTERN_C const IID IID_IActiveScriptSiteWindow;
    433 #if defined(__cplusplus) && !defined(CINTERFACE)
    434   struct IActiveScriptSiteWindow : public IUnknown {
    435   public:
    436     virtual HRESULT WINAPI GetWindow(HWND *phwnd) = 0;
    437     virtual HRESULT WINAPI EnableModeless(WINBOOL fEnable) = 0;
    438   };
    439 #else
    440   typedef struct IActiveScriptSiteWindowVtbl {
    441     BEGIN_INTERFACE
    442       HRESULT (WINAPI *QueryInterface)(IActiveScriptSiteWindow *This,REFIID riid,void **ppvObject);
    443       ULONG (WINAPI *AddRef)(IActiveScriptSiteWindow *This);
    444       ULONG (WINAPI *Release)(IActiveScriptSiteWindow *This);
    445       HRESULT (WINAPI *GetWindow)(IActiveScriptSiteWindow *This,HWND *phwnd);
    446       HRESULT (WINAPI *EnableModeless)(IActiveScriptSiteWindow *This,WINBOOL fEnable);
    447     END_INTERFACE
    448   } IActiveScriptSiteWindowVtbl;
    449   struct IActiveScriptSiteWindow {
    450     CONST_VTBL struct IActiveScriptSiteWindowVtbl *lpVtbl;
    451   };
    452 #ifdef COBJMACROS
    453 #define IActiveScriptSiteWindow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    454 #define IActiveScriptSiteWindow_AddRef(This) (This)->lpVtbl->AddRef(This)
    455 #define IActiveScriptSiteWindow_Release(This) (This)->lpVtbl->Release(This)
    456 #define IActiveScriptSiteWindow_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd)
    457 #define IActiveScriptSiteWindow_EnableModeless(This,fEnable) (This)->lpVtbl->EnableModeless(This,fEnable)
    458 #endif
    459 #endif
    460 
    461   HRESULT WINAPI IActiveScriptSiteWindow_GetWindow_Proxy(IActiveScriptSiteWindow *This,HWND *phwnd);
    462   void __RPC_STUB IActiveScriptSiteWindow_GetWindow_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    463   HRESULT WINAPI IActiveScriptSiteWindow_EnableModeless_Proxy(IActiveScriptSiteWindow *This,WINBOOL fEnable);
    464   void __RPC_STUB IActiveScriptSiteWindow_EnableModeless_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    465 #endif
    466 
    467 #ifndef __IActiveScriptSiteInterruptPoll_INTERFACE_DEFINED__
    468 #define __IActiveScriptSiteInterruptPoll_INTERFACE_DEFINED__
    469   EXTERN_C const IID IID_IActiveScriptSiteInterruptPoll;
    470 #if defined(__cplusplus) && !defined(CINTERFACE)
    471   struct IActiveScriptSiteInterruptPoll : public IUnknown {
    472   public:
    473     virtual HRESULT WINAPI QueryContinue(void) = 0;
    474   };
    475 #else
    476   typedef struct IActiveScriptSiteInterruptPollVtbl {
    477     BEGIN_INTERFACE
    478       HRESULT (WINAPI *QueryInterface)(IActiveScriptSiteInterruptPoll *This,REFIID riid,void **ppvObject);
    479       ULONG (WINAPI *AddRef)(IActiveScriptSiteInterruptPoll *This);
    480       ULONG (WINAPI *Release)(IActiveScriptSiteInterruptPoll *This);
    481       HRESULT (WINAPI *QueryContinue)(IActiveScriptSiteInterruptPoll *This);
    482     END_INTERFACE
    483   } IActiveScriptSiteInterruptPollVtbl;
    484   struct IActiveScriptSiteInterruptPoll {
    485     CONST_VTBL struct IActiveScriptSiteInterruptPollVtbl *lpVtbl;
    486   };
    487 #ifdef COBJMACROS
    488 #define IActiveScriptSiteInterruptPoll_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    489 #define IActiveScriptSiteInterruptPoll_AddRef(This) (This)->lpVtbl->AddRef(This)
    490 #define IActiveScriptSiteInterruptPoll_Release(This) (This)->lpVtbl->Release(This)
    491 #define IActiveScriptSiteInterruptPoll_QueryContinue(This) (This)->lpVtbl->QueryContinue(This)
    492 #endif
    493 #endif
    494 
    495   HRESULT WINAPI IActiveScriptSiteInterruptPoll_QueryContinue_Proxy(IActiveScriptSiteInterruptPoll *This);
    496   void __RPC_STUB IActiveScriptSiteInterruptPoll_QueryContinue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    497 #endif
    498 
    499 #ifndef __IActiveScript_INTERFACE_DEFINED__
    500 #define __IActiveScript_INTERFACE_DEFINED__
    501   EXTERN_C const IID IID_IActiveScript;
    502 #if defined(__cplusplus) && !defined(CINTERFACE)
    503   struct IActiveScript : public IUnknown {
    504   public:
    505     virtual HRESULT WINAPI SetScriptSite(IActiveScriptSite *pass) = 0;
    506     virtual HRESULT WINAPI GetScriptSite(REFIID riid,void **ppvObject) = 0;
    507     virtual HRESULT WINAPI SetScriptState(SCRIPTSTATE ss) = 0;
    508     virtual HRESULT WINAPI GetScriptState(SCRIPTSTATE *pssState) = 0;
    509     virtual HRESULT WINAPI Close(void) = 0;
    510     virtual HRESULT WINAPI AddNamedItem(LPCOLESTR pstrName,DWORD dwFlags) = 0;
    511     virtual HRESULT WINAPI AddTypeLib(REFGUID rguidTypeLib,DWORD dwMajor,DWORD dwMinor,DWORD dwFlags) = 0;
    512     virtual HRESULT WINAPI GetScriptDispatch(LPCOLESTR pstrItemName,IDispatch **ppdisp) = 0;
    513     virtual HRESULT WINAPI GetCurrentScriptThreadID(SCRIPTTHREADID *pstidThread) = 0;
    514     virtual HRESULT WINAPI GetScriptThreadID(DWORD dwWin32ThreadId,SCRIPTTHREADID *pstidThread) = 0;
    515     virtual HRESULT WINAPI GetScriptThreadState(SCRIPTTHREADID stidThread,SCRIPTTHREADSTATE *pstsState) = 0;
    516     virtual HRESULT WINAPI InterruptScriptThread(SCRIPTTHREADID stidThread,const EXCEPINFO *pexcepinfo,DWORD dwFlags) = 0;
    517     virtual HRESULT WINAPI Clone(IActiveScript **ppscript) = 0;
    518   };
    519 #else
    520   typedef struct IActiveScriptVtbl {
    521     BEGIN_INTERFACE
    522       HRESULT (WINAPI *QueryInterface)(IActiveScript *This,REFIID riid,void **ppvObject);
    523       ULONG (WINAPI *AddRef)(IActiveScript *This);
    524       ULONG (WINAPI *Release)(IActiveScript *This);
    525       HRESULT (WINAPI *SetScriptSite)(IActiveScript *This,IActiveScriptSite *pass);
    526       HRESULT (WINAPI *GetScriptSite)(IActiveScript *This,REFIID riid,void **ppvObject);
    527       HRESULT (WINAPI *SetScriptState)(IActiveScript *This,SCRIPTSTATE ss);
    528       HRESULT (WINAPI *GetScriptState)(IActiveScript *This,SCRIPTSTATE *pssState);
    529       HRESULT (WINAPI *Close)(IActiveScript *This);
    530       HRESULT (WINAPI *AddNamedItem)(IActiveScript *This,LPCOLESTR pstrName,DWORD dwFlags);
    531       HRESULT (WINAPI *AddTypeLib)(IActiveScript *This,REFGUID rguidTypeLib,DWORD dwMajor,DWORD dwMinor,DWORD dwFlags);
    532       HRESULT (WINAPI *GetScriptDispatch)(IActiveScript *This,LPCOLESTR pstrItemName,IDispatch **ppdisp);
    533       HRESULT (WINAPI *GetCurrentScriptThreadID)(IActiveScript *This,SCRIPTTHREADID *pstidThread);
    534       HRESULT (WINAPI *GetScriptThreadID)(IActiveScript *This,DWORD dwWin32ThreadId,SCRIPTTHREADID *pstidThread);
    535       HRESULT (WINAPI *GetScriptThreadState)(IActiveScript *This,SCRIPTTHREADID stidThread,SCRIPTTHREADSTATE *pstsState);
    536       HRESULT (WINAPI *InterruptScriptThread)(IActiveScript *This,SCRIPTTHREADID stidThread,const EXCEPINFO *pexcepinfo,DWORD dwFlags);
    537       HRESULT (WINAPI *Clone)(IActiveScript *This,IActiveScript **ppscript);
    538     END_INTERFACE
    539   } IActiveScriptVtbl;
    540   struct IActiveScript {
    541     CONST_VTBL struct IActiveScriptVtbl *lpVtbl;
    542   };
    543 #ifdef COBJMACROS
    544 #define IActiveScript_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    545 #define IActiveScript_AddRef(This) (This)->lpVtbl->AddRef(This)
    546 #define IActiveScript_Release(This) (This)->lpVtbl->Release(This)
    547 #define IActiveScript_SetScriptSite(This,pass) (This)->lpVtbl->SetScriptSite(This,pass)
    548 #define IActiveScript_GetScriptSite(This,riid,ppvObject) (This)->lpVtbl->GetScriptSite(This,riid,ppvObject)
    549 #define IActiveScript_SetScriptState(This,ss) (This)->lpVtbl->SetScriptState(This,ss)
    550 #define IActiveScript_GetScriptState(This,pssState) (This)->lpVtbl->GetScriptState(This,pssState)
    551 #define IActiveScript_Close(This) (This)->lpVtbl->Close(This)
    552 #define IActiveScript_AddNamedItem(This,pstrName,dwFlags) (This)->lpVtbl->AddNamedItem(This,pstrName,dwFlags)
    553 #define IActiveScript_AddTypeLib(This,rguidTypeLib,dwMajor,dwMinor,dwFlags) (This)->lpVtbl->AddTypeLib(This,rguidTypeLib,dwMajor,dwMinor,dwFlags)
    554 #define IActiveScript_GetScriptDispatch(This,pstrItemName,ppdisp) (This)->lpVtbl->GetScriptDispatch(This,pstrItemName,ppdisp)
    555 #define IActiveScript_GetCurrentScriptThreadID(This,pstidThread) (This)->lpVtbl->GetCurrentScriptThreadID(This,pstidThread)
    556 #define IActiveScript_GetScriptThreadID(This,dwWin32ThreadId,pstidThread) (This)->lpVtbl->GetScriptThreadID(This,dwWin32ThreadId,pstidThread)
    557 #define IActiveScript_GetScriptThreadState(This,stidThread,pstsState) (This)->lpVtbl->GetScriptThreadState(This,stidThread,pstsState)
    558 #define IActiveScript_InterruptScriptThread(This,stidThread,pexcepinfo,dwFlags) (This)->lpVtbl->InterruptScriptThread(This,stidThread,pexcepinfo,dwFlags)
    559 #define IActiveScript_Clone(This,ppscript) (This)->lpVtbl->Clone(This,ppscript)
    560 #endif
    561 #endif
    562 
    563   HRESULT WINAPI IActiveScript_SetScriptSite_Proxy(IActiveScript *This,IActiveScriptSite *pass);
    564   void __RPC_STUB IActiveScript_SetScriptSite_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    565   HRESULT WINAPI IActiveScript_GetScriptSite_Proxy(IActiveScript *This,REFIID riid,void **ppvObject);
    566   void __RPC_STUB IActiveScript_GetScriptSite_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    567   HRESULT WINAPI IActiveScript_SetScriptState_Proxy(IActiveScript *This,SCRIPTSTATE ss);
    568   void __RPC_STUB IActiveScript_SetScriptState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    569   HRESULT WINAPI IActiveScript_GetScriptState_Proxy(IActiveScript *This,SCRIPTSTATE *pssState);
    570   void __RPC_STUB IActiveScript_GetScriptState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    571   HRESULT WINAPI IActiveScript_Close_Proxy(IActiveScript *This);
    572   void __RPC_STUB IActiveScript_Close_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    573   HRESULT WINAPI IActiveScript_AddNamedItem_Proxy(IActiveScript *This,LPCOLESTR pstrName,DWORD dwFlags);
    574   void __RPC_STUB IActiveScript_AddNamedItem_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    575   HRESULT WINAPI IActiveScript_AddTypeLib_Proxy(IActiveScript *This,REFGUID rguidTypeLib,DWORD dwMajor,DWORD dwMinor,DWORD dwFlags);
    576   void __RPC_STUB IActiveScript_AddTypeLib_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    577   HRESULT WINAPI IActiveScript_GetScriptDispatch_Proxy(IActiveScript *This,LPCOLESTR pstrItemName,IDispatch **ppdisp);
    578   void __RPC_STUB IActiveScript_GetScriptDispatch_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    579   HRESULT WINAPI IActiveScript_GetCurrentScriptThreadID_Proxy(IActiveScript *This,SCRIPTTHREADID *pstidThread);
    580   void __RPC_STUB IActiveScript_GetCurrentScriptThreadID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    581   HRESULT WINAPI IActiveScript_GetScriptThreadID_Proxy(IActiveScript *This,DWORD dwWin32ThreadId,SCRIPTTHREADID *pstidThread);
    582   void __RPC_STUB IActiveScript_GetScriptThreadID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    583   HRESULT WINAPI IActiveScript_GetScriptThreadState_Proxy(IActiveScript *This,SCRIPTTHREADID stidThread,SCRIPTTHREADSTATE *pstsState);
    584   void __RPC_STUB IActiveScript_GetScriptThreadState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    585   HRESULT WINAPI IActiveScript_InterruptScriptThread_Proxy(IActiveScript *This,SCRIPTTHREADID stidThread,const EXCEPINFO *pexcepinfo,DWORD dwFlags);
    586   void __RPC_STUB IActiveScript_InterruptScriptThread_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    587   HRESULT WINAPI IActiveScript_Clone_Proxy(IActiveScript *This,IActiveScript **ppscript);
    588   void __RPC_STUB IActiveScript_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    589 #endif
    590 
    591 #ifndef __IActiveScriptParse32_INTERFACE_DEFINED__
    592 #define __IActiveScriptParse32_INTERFACE_DEFINED__
    593   EXTERN_C const IID IID_IActiveScriptParse32;
    594 #if defined(__cplusplus) && !defined(CINTERFACE)
    595   struct IActiveScriptParse32 : public IUnknown {
    596   public:
    597     virtual HRESULT WINAPI InitNew(void) = 0;
    598     virtual HRESULT WINAPI AddScriptlet(LPCOLESTR pstrDefaultName,LPCOLESTR pstrCode,LPCOLESTR pstrItemName,LPCOLESTR pstrSubItemName,LPCOLESTR pstrEventName,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,BSTR *pbstrName,EXCEPINFO *pexcepinfo) = 0;
    599     virtual HRESULT WINAPI ParseScriptText(LPCOLESTR pstrCode,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,VARIANT *pvarResult,EXCEPINFO *pexcepinfo) = 0;
    600   };
    601 #else
    602   typedef struct IActiveScriptParse32Vtbl {
    603     BEGIN_INTERFACE
    604       HRESULT (WINAPI *QueryInterface)(IActiveScriptParse32 *This,REFIID riid,void **ppvObject);
    605       ULONG (WINAPI *AddRef)(IActiveScriptParse32 *This);
    606       ULONG (WINAPI *Release)(IActiveScriptParse32 *This);
    607       HRESULT (WINAPI *InitNew)(IActiveScriptParse32 *This);
    608       HRESULT (WINAPI *AddScriptlet)(IActiveScriptParse32 *This,LPCOLESTR pstrDefaultName,LPCOLESTR pstrCode,LPCOLESTR pstrItemName,LPCOLESTR pstrSubItemName,LPCOLESTR pstrEventName,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,BSTR *pbstrName,EXCEPINFO *pexcepinfo);
    609       HRESULT (WINAPI *ParseScriptText)(IActiveScriptParse32 *This,LPCOLESTR pstrCode,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,VARIANT *pvarResult,EXCEPINFO *pexcepinfo);
    610     END_INTERFACE
    611   } IActiveScriptParse32Vtbl;
    612   struct IActiveScriptParse32 {
    613     CONST_VTBL struct IActiveScriptParse32Vtbl *lpVtbl;
    614   };
    615 #ifdef COBJMACROS
    616 #define IActiveScriptParse32_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    617 #define IActiveScriptParse32_AddRef(This) (This)->lpVtbl->AddRef(This)
    618 #define IActiveScriptParse32_Release(This) (This)->lpVtbl->Release(This)
    619 #define IActiveScriptParse32_InitNew(This) (This)->lpVtbl->InitNew(This)
    620 #define IActiveScriptParse32_AddScriptlet(This,pstrDefaultName,pstrCode,pstrItemName,pstrSubItemName,pstrEventName,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pbstrName,pexcepinfo) (This)->lpVtbl->AddScriptlet(This,pstrDefaultName,pstrCode,pstrItemName,pstrSubItemName,pstrEventName,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pbstrName,pexcepinfo)
    621 #define IActiveScriptParse32_ParseScriptText(This,pstrCode,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pvarResult,pexcepinfo) (This)->lpVtbl->ParseScriptText(This,pstrCode,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pvarResult,pexcepinfo)
    622 #endif
    623 #endif
    624 
    625   HRESULT WINAPI IActiveScriptParse32_InitNew_Proxy(IActiveScriptParse32 *This);
    626   void __RPC_STUB IActiveScriptParse32_InitNew_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    627   HRESULT WINAPI IActiveScriptParse32_AddScriptlet_Proxy(IActiveScriptParse32 *This,LPCOLESTR pstrDefaultName,LPCOLESTR pstrCode,LPCOLESTR pstrItemName,LPCOLESTR pstrSubItemName,LPCOLESTR pstrEventName,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,BSTR *pbstrName,EXCEPINFO *pexcepinfo);
    628   void __RPC_STUB IActiveScriptParse32_AddScriptlet_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    629   HRESULT WINAPI IActiveScriptParse32_ParseScriptText_Proxy(IActiveScriptParse32 *This,LPCOLESTR pstrCode,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,VARIANT *pvarResult,EXCEPINFO *pexcepinfo);
    630   void __RPC_STUB IActiveScriptParse32_ParseScriptText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    631 #endif
    632 
    633 #ifndef __IActiveScriptParse64_INTERFACE_DEFINED__
    634 #define __IActiveScriptParse64_INTERFACE_DEFINED__
    635   EXTERN_C const IID IID_IActiveScriptParse64;
    636 #if defined(__cplusplus) && !defined(CINTERFACE)
    637   struct IActiveScriptParse64 : public IUnknown {
    638   public:
    639     virtual HRESULT WINAPI InitNew(void) = 0;
    640     virtual HRESULT WINAPI AddScriptlet(LPCOLESTR pstrDefaultName,LPCOLESTR pstrCode,LPCOLESTR pstrItemName,LPCOLESTR pstrSubItemName,LPCOLESTR pstrEventName,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,BSTR *pbstrName,EXCEPINFO *pexcepinfo) = 0;
    641     virtual HRESULT WINAPI ParseScriptText(LPCOLESTR pstrCode,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,VARIANT *pvarResult,EXCEPINFO *pexcepinfo) = 0;
    642   };
    643 #else
    644   typedef struct IActiveScriptParse64Vtbl {
    645     BEGIN_INTERFACE
    646       HRESULT (WINAPI *QueryInterface)(IActiveScriptParse64 *This,REFIID riid,void **ppvObject);
    647       ULONG (WINAPI *AddRef)(IActiveScriptParse64 *This);
    648       ULONG (WINAPI *Release)(IActiveScriptParse64 *This);
    649       HRESULT (WINAPI *InitNew)(IActiveScriptParse64 *This);
    650       HRESULT (WINAPI *AddScriptlet)(IActiveScriptParse64 *This,LPCOLESTR pstrDefaultName,LPCOLESTR pstrCode,LPCOLESTR pstrItemName,LPCOLESTR pstrSubItemName,LPCOLESTR pstrEventName,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,BSTR *pbstrName,EXCEPINFO *pexcepinfo);
    651       HRESULT (WINAPI *ParseScriptText)(IActiveScriptParse64 *This,LPCOLESTR pstrCode,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,VARIANT *pvarResult,EXCEPINFO *pexcepinfo);
    652     END_INTERFACE
    653   } IActiveScriptParse64Vtbl;
    654   struct IActiveScriptParse64 {
    655     CONST_VTBL struct IActiveScriptParse64Vtbl *lpVtbl;
    656   };
    657 #ifdef COBJMACROS
    658 #define IActiveScriptParse64_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    659 #define IActiveScriptParse64_AddRef(This) (This)->lpVtbl->AddRef(This)
    660 #define IActiveScriptParse64_Release(This) (This)->lpVtbl->Release(This)
    661 #define IActiveScriptParse64_InitNew(This) (This)->lpVtbl->InitNew(This)
    662 #define IActiveScriptParse64_AddScriptlet(This,pstrDefaultName,pstrCode,pstrItemName,pstrSubItemName,pstrEventName,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pbstrName,pexcepinfo) (This)->lpVtbl->AddScriptlet(This,pstrDefaultName,pstrCode,pstrItemName,pstrSubItemName,pstrEventName,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pbstrName,pexcepinfo)
    663 #define IActiveScriptParse64_ParseScriptText(This,pstrCode,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pvarResult,pexcepinfo) (This)->lpVtbl->ParseScriptText(This,pstrCode,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pvarResult,pexcepinfo)
    664 #endif
    665 #endif
    666 
    667   HRESULT WINAPI IActiveScriptParse64_InitNew_Proxy(IActiveScriptParse64 *This);
    668   void __RPC_STUB IActiveScriptParse64_InitNew_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    669   HRESULT WINAPI IActiveScriptParse64_AddScriptlet_Proxy(IActiveScriptParse64 *This,LPCOLESTR pstrDefaultName,LPCOLESTR pstrCode,LPCOLESTR pstrItemName,LPCOLESTR pstrSubItemName,LPCOLESTR pstrEventName,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,BSTR *pbstrName,EXCEPINFO *pexcepinfo);
    670   void __RPC_STUB IActiveScriptParse64_AddScriptlet_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    671   HRESULT WINAPI IActiveScriptParse64_ParseScriptText_Proxy(IActiveScriptParse64 *This,LPCOLESTR pstrCode,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,VARIANT *pvarResult,EXCEPINFO *pexcepinfo);
    672   void __RPC_STUB IActiveScriptParse64_ParseScriptText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    673 #endif
    674 
    675 #ifdef _WIN64
    676 #define IActiveScriptParse IActiveScriptParse64
    677 #define IID_IActiveScriptParse IID_IActiveScriptParse64
    678 #else
    679 #define IActiveScriptParse IActiveScriptParse32
    680 #define IID_IActiveScriptParse IID_IActiveScriptParse32
    681 #endif
    682   typedef IActiveScriptParse *PIActiveScriptParse;
    683 
    684   extern RPC_IF_HANDLE __MIDL_itf_activscp_0270_v0_0_c_ifspec;
    685   extern RPC_IF_HANDLE __MIDL_itf_activscp_0270_v0_0_s_ifspec;
    686 
    687 #ifndef __IActiveScriptParseProcedureOld32_INTERFACE_DEFINED__
    688 #define __IActiveScriptParseProcedureOld32_INTERFACE_DEFINED__
    689   EXTERN_C const IID IID_IActiveScriptParseProcedureOld32;
    690 #if defined(__cplusplus) && !defined(CINTERFACE)
    691   struct IActiveScriptParseProcedureOld32 : public IUnknown {
    692   public:
    693     virtual HRESULT WINAPI ParseProcedureText(LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp) = 0;
    694   };
    695 #else
    696   typedef struct IActiveScriptParseProcedureOld32Vtbl {
    697     BEGIN_INTERFACE
    698       HRESULT (WINAPI *QueryInterface)(IActiveScriptParseProcedureOld32 *This,REFIID riid,void **ppvObject);
    699       ULONG (WINAPI *AddRef)(IActiveScriptParseProcedureOld32 *This);
    700       ULONG (WINAPI *Release)(IActiveScriptParseProcedureOld32 *This);
    701       HRESULT (WINAPI *ParseProcedureText)(IActiveScriptParseProcedureOld32 *This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp);
    702     END_INTERFACE
    703   } IActiveScriptParseProcedureOld32Vtbl;
    704   struct IActiveScriptParseProcedureOld32 {
    705     CONST_VTBL struct IActiveScriptParseProcedureOld32Vtbl *lpVtbl;
    706   };
    707 #ifdef COBJMACROS
    708 #define IActiveScriptParseProcedureOld32_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    709 #define IActiveScriptParseProcedureOld32_AddRef(This) (This)->lpVtbl->AddRef(This)
    710 #define IActiveScriptParseProcedureOld32_Release(This) (This)->lpVtbl->Release(This)
    711 #define IActiveScriptParseProcedureOld32_ParseProcedureText(This,pstrCode,pstrFormalParams,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) (This)->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp)
    712 #endif
    713 #endif
    714 
    715   HRESULT WINAPI IActiveScriptParseProcedureOld32_ParseProcedureText_Proxy(IActiveScriptParseProcedureOld32 *This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp);
    716   void __RPC_STUB IActiveScriptParseProcedureOld32_ParseProcedureText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    717 #endif
    718 
    719 #ifndef __IActiveScriptParseProcedureOld64_INTERFACE_DEFINED__
    720 #define __IActiveScriptParseProcedureOld64_INTERFACE_DEFINED__
    721   EXTERN_C const IID IID_IActiveScriptParseProcedureOld64;
    722 #if defined(__cplusplus) && !defined(CINTERFACE)
    723   struct IActiveScriptParseProcedureOld64 : public IUnknown {
    724   public:
    725     virtual HRESULT WINAPI ParseProcedureText(LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp) = 0;
    726   };
    727 #else
    728   typedef struct IActiveScriptParseProcedureOld64Vtbl {
    729     BEGIN_INTERFACE
    730       HRESULT (WINAPI *QueryInterface)(IActiveScriptParseProcedureOld64 *This,REFIID riid,void **ppvObject);
    731       ULONG (WINAPI *AddRef)(IActiveScriptParseProcedureOld64 *This);
    732       ULONG (WINAPI *Release)(IActiveScriptParseProcedureOld64 *This);
    733       HRESULT (WINAPI *ParseProcedureText)(IActiveScriptParseProcedureOld64 *This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp);
    734     END_INTERFACE
    735   } IActiveScriptParseProcedureOld64Vtbl;
    736   struct IActiveScriptParseProcedureOld64 {
    737     CONST_VTBL struct IActiveScriptParseProcedureOld64Vtbl *lpVtbl;
    738   };
    739 #ifdef COBJMACROS
    740 #define IActiveScriptParseProcedureOld64_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    741 #define IActiveScriptParseProcedureOld64_AddRef(This) (This)->lpVtbl->AddRef(This)
    742 #define IActiveScriptParseProcedureOld64_Release(This) (This)->lpVtbl->Release(This)
    743 #define IActiveScriptParseProcedureOld64_ParseProcedureText(This,pstrCode,pstrFormalParams,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) (This)->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp)
    744 #endif
    745 #endif
    746 
    747   HRESULT WINAPI IActiveScriptParseProcedureOld64_ParseProcedureText_Proxy(IActiveScriptParseProcedureOld64 *This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp);
    748   void __RPC_STUB IActiveScriptParseProcedureOld64_ParseProcedureText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    749 #endif
    750 
    751 #ifdef _WIN64
    752 #define IActiveScriptParseProcedureOld IActiveScriptParseProcedureOld64
    753 #define IID_IActiveScriptParseProcedureOld IID_IActiveScriptParseProcedureOld64
    754 #else
    755 #define IActiveScriptParseProcedureOld IActiveScriptParseProcedureOld32
    756 #define IID_IActiveScriptParseProcedureOld IID_IActiveScriptParseProcedureOld32
    757 #endif
    758   typedef IActiveScriptParseProcedureOld *PIActiveScriptParseProcedureOld;
    759 
    760   extern RPC_IF_HANDLE __MIDL_itf_activscp_0272_v0_0_c_ifspec;
    761   extern RPC_IF_HANDLE __MIDL_itf_activscp_0272_v0_0_s_ifspec;
    762 
    763 #ifndef __IActiveScriptParseProcedure32_INTERFACE_DEFINED__
    764 #define __IActiveScriptParseProcedure32_INTERFACE_DEFINED__
    765   EXTERN_C const IID IID_IActiveScriptParseProcedure32;
    766 #if defined(__cplusplus) && !defined(CINTERFACE)
    767   struct IActiveScriptParseProcedure32 : public IUnknown {
    768   public:
    769     virtual HRESULT WINAPI ParseProcedureText(LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrProcedureName,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp) = 0;
    770   };
    771 #else
    772   typedef struct IActiveScriptParseProcedure32Vtbl {
    773     BEGIN_INTERFACE
    774       HRESULT (WINAPI *QueryInterface)(IActiveScriptParseProcedure32 *This,REFIID riid,void **ppvObject);
    775       ULONG (WINAPI *AddRef)(IActiveScriptParseProcedure32 *This);
    776       ULONG (WINAPI *Release)(IActiveScriptParseProcedure32 *This);
    777       HRESULT (WINAPI *ParseProcedureText)(IActiveScriptParseProcedure32 *This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrProcedureName,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp);
    778     END_INTERFACE
    779   } IActiveScriptParseProcedure32Vtbl;
    780   struct IActiveScriptParseProcedure32 {
    781     CONST_VTBL struct IActiveScriptParseProcedure32Vtbl *lpVtbl;
    782   };
    783 #ifdef COBJMACROS
    784 #define IActiveScriptParseProcedure32_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    785 #define IActiveScriptParseProcedure32_AddRef(This) (This)->lpVtbl->AddRef(This)
    786 #define IActiveScriptParseProcedure32_Release(This) (This)->lpVtbl->Release(This)
    787 #define IActiveScriptParseProcedure32_ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) (This)->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp)
    788 #endif
    789 #endif
    790 
    791   HRESULT WINAPI IActiveScriptParseProcedure32_ParseProcedureText_Proxy(IActiveScriptParseProcedure32 *This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrProcedureName,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp);
    792   void __RPC_STUB IActiveScriptParseProcedure32_ParseProcedureText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    793 #endif
    794 
    795 #ifndef __IActiveScriptParseProcedure64_INTERFACE_DEFINED__
    796 #define __IActiveScriptParseProcedure64_INTERFACE_DEFINED__
    797   EXTERN_C const IID IID_IActiveScriptParseProcedure64;
    798 #if defined(__cplusplus) && !defined(CINTERFACE)
    799   struct IActiveScriptParseProcedure64 : public IUnknown {
    800   public:
    801     virtual HRESULT WINAPI ParseProcedureText(LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrProcedureName,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp) = 0;
    802   };
    803 #else
    804   typedef struct IActiveScriptParseProcedure64Vtbl {
    805     BEGIN_INTERFACE
    806       HRESULT (WINAPI *QueryInterface)(IActiveScriptParseProcedure64 *This,REFIID riid,void **ppvObject);
    807       ULONG (WINAPI *AddRef)(IActiveScriptParseProcedure64 *This);
    808       ULONG (WINAPI *Release)(IActiveScriptParseProcedure64 *This);
    809       HRESULT (WINAPI *ParseProcedureText)(IActiveScriptParseProcedure64 *This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrProcedureName,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp);
    810     END_INTERFACE
    811   } IActiveScriptParseProcedure64Vtbl;
    812   struct IActiveScriptParseProcedure64 {
    813     CONST_VTBL struct IActiveScriptParseProcedure64Vtbl *lpVtbl;
    814   };
    815 #ifdef COBJMACROS
    816 #define IActiveScriptParseProcedure64_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    817 #define IActiveScriptParseProcedure64_AddRef(This) (This)->lpVtbl->AddRef(This)
    818 #define IActiveScriptParseProcedure64_Release(This) (This)->lpVtbl->Release(This)
    819 #define IActiveScriptParseProcedure64_ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) (This)->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp)
    820 #endif
    821 #endif
    822 
    823   HRESULT WINAPI IActiveScriptParseProcedure64_ParseProcedureText_Proxy(IActiveScriptParseProcedure64 *This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrProcedureName,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp);
    824   void __RPC_STUB IActiveScriptParseProcedure64_ParseProcedureText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    825 #endif
    826 
    827 #ifdef _WIN64
    828 #define IActiveScriptParseProcedure IActiveScriptParseProcedure64
    829 #define IID_IActiveScriptParseProcedure IID_IActiveScriptParseProcedure64
    830 #else
    831 #define IActiveScriptParseProcedure IActiveScriptParseProcedure32
    832 #define IID_IActiveScriptParseProcedure IID_IActiveScriptParseProcedure32
    833 #endif
    834   typedef IActiveScriptParseProcedure *PIActiveScriptParseProcedure;
    835 
    836   extern RPC_IF_HANDLE __MIDL_itf_activscp_0274_v0_0_c_ifspec;
    837   extern RPC_IF_HANDLE __MIDL_itf_activscp_0274_v0_0_s_ifspec;
    838 
    839 #ifndef __IActiveScriptParseProcedure2_32_INTERFACE_DEFINED__
    840 #define __IActiveScriptParseProcedure2_32_INTERFACE_DEFINED__
    841   EXTERN_C const IID IID_IActiveScriptParseProcedure2_32;
    842 #if defined(__cplusplus) && !defined(CINTERFACE)
    843   struct IActiveScriptParseProcedure2_32 : public IActiveScriptParseProcedure32 {
    844   public:
    845   };
    846 #else
    847   typedef struct IActiveScriptParseProcedure2_32Vtbl {
    848     BEGIN_INTERFACE
    849       HRESULT (WINAPI *QueryInterface)(IActiveScriptParseProcedure2_32 *This,REFIID riid,void **ppvObject);
    850       ULONG (WINAPI *AddRef)(IActiveScriptParseProcedure2_32 *This);
    851       ULONG (WINAPI *Release)(IActiveScriptParseProcedure2_32 *This);
    852       HRESULT (WINAPI *ParseProcedureText)(IActiveScriptParseProcedure2_32 *This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrProcedureName,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp);
    853     END_INTERFACE
    854   } IActiveScriptParseProcedure2_32Vtbl;
    855   struct IActiveScriptParseProcedure2_32 {
    856     CONST_VTBL struct IActiveScriptParseProcedure2_32Vtbl *lpVtbl;
    857   };
    858 #ifdef COBJMACROS
    859 #define IActiveScriptParseProcedure2_32_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    860 #define IActiveScriptParseProcedure2_32_AddRef(This) (This)->lpVtbl->AddRef(This)
    861 #define IActiveScriptParseProcedure2_32_Release(This) (This)->lpVtbl->Release(This)
    862 #define IActiveScriptParseProcedure2_32_ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) (This)->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp)
    863 #endif
    864 #endif
    865 #endif
    866 
    867 #ifndef __IActiveScriptParseProcedure2_64_INTERFACE_DEFINED__
    868 #define __IActiveScriptParseProcedure2_64_INTERFACE_DEFINED__
    869   EXTERN_C const IID IID_IActiveScriptParseProcedure2_64;
    870 #if defined(__cplusplus) && !defined(CINTERFACE)
    871   struct IActiveScriptParseProcedure2_64 : public IActiveScriptParseProcedure64 {
    872   public:
    873   };
    874 #else
    875   typedef struct IActiveScriptParseProcedure2_64Vtbl {
    876     BEGIN_INTERFACE
    877       HRESULT (WINAPI *QueryInterface)(IActiveScriptParseProcedure2_64 *This,REFIID riid,void **ppvObject);
    878       ULONG (WINAPI *AddRef)(IActiveScriptParseProcedure2_64 *This);
    879       ULONG (WINAPI *Release)(IActiveScriptParseProcedure2_64 *This);
    880       HRESULT (WINAPI *ParseProcedureText)(IActiveScriptParseProcedure2_64 *This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrProcedureName,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp);
    881     END_INTERFACE
    882   } IActiveScriptParseProcedure2_64Vtbl;
    883   struct IActiveScriptParseProcedure2_64 {
    884     CONST_VTBL struct IActiveScriptParseProcedure2_64Vtbl *lpVtbl;
    885   };
    886 #ifdef COBJMACROS
    887 #define IActiveScriptParseProcedure2_64_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    888 #define IActiveScriptParseProcedure2_64_AddRef(This) (This)->lpVtbl->AddRef(This)
    889 #define IActiveScriptParseProcedure2_64_Release(This) (This)->lpVtbl->Release(This)
    890 #define IActiveScriptParseProcedure2_64_ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) (This)->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp)
    891 #endif
    892 #endif
    893 #endif
    894 
    895 #ifdef _WIN64
    896 #define IActiveScriptParseProcedure2 IActiveScriptParseProcedure2_64
    897 #define IID_IActiveScriptParseProcedure2 IID_IActiveScriptParseProcedure2_64
    898 #else
    899 #define IActiveScriptParseProcedure2 IActiveScriptParseProcedure2_32
    900 #define IID_IActiveScriptParseProcedure2 IID_IActiveScriptParseProcedure2_32
    901 #endif
    902   typedef IActiveScriptParseProcedure2 *PIActiveScriptParseProcedure2;
    903 
    904   extern RPC_IF_HANDLE __MIDL_itf_activscp_0276_v0_0_c_ifspec;
    905   extern RPC_IF_HANDLE __MIDL_itf_activscp_0276_v0_0_s_ifspec;
    906 
    907 #ifndef __IActiveScriptEncode_INTERFACE_DEFINED__
    908 #define __IActiveScriptEncode_INTERFACE_DEFINED__
    909   EXTERN_C const IID IID_IActiveScriptEncode;
    910 #if defined(__cplusplus) && !defined(CINTERFACE)
    911   struct IActiveScriptEncode : public IUnknown {
    912   public:
    913     virtual HRESULT WINAPI EncodeSection(LPCOLESTR pchIn,DWORD cchIn,LPOLESTR pchOut,DWORD cchOut,DWORD *pcchRet) = 0;
    914     virtual HRESULT WINAPI DecodeScript(LPCOLESTR pchIn,DWORD cchIn,LPOLESTR pchOut,DWORD cchOut,DWORD *pcchRet) = 0;
    915     virtual HRESULT WINAPI GetEncodeProgId(BSTR *pbstrOut) = 0;
    916   };
    917 #else
    918   typedef struct IActiveScriptEncodeVtbl {
    919     BEGIN_INTERFACE
    920       HRESULT (WINAPI *QueryInterface)(IActiveScriptEncode *This,REFIID riid,void **ppvObject);
    921       ULONG (WINAPI *AddRef)(IActiveScriptEncode *This);
    922       ULONG (WINAPI *Release)(IActiveScriptEncode *This);
    923       HRESULT (WINAPI *EncodeSection)(IActiveScriptEncode *This,LPCOLESTR pchIn,DWORD cchIn,LPOLESTR pchOut,DWORD cchOut,DWORD *pcchRet);
    924       HRESULT (WINAPI *DecodeScript)(IActiveScriptEncode *This,LPCOLESTR pchIn,DWORD cchIn,LPOLESTR pchOut,DWORD cchOut,DWORD *pcchRet);
    925       HRESULT (WINAPI *GetEncodeProgId)(IActiveScriptEncode *This,BSTR *pbstrOut);
    926     END_INTERFACE
    927   } IActiveScriptEncodeVtbl;
    928   struct IActiveScriptEncode {
    929     CONST_VTBL struct IActiveScriptEncodeVtbl *lpVtbl;
    930   };
    931 #ifdef COBJMACROS
    932 #define IActiveScriptEncode_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    933 #define IActiveScriptEncode_AddRef(This) (This)->lpVtbl->AddRef(This)
    934 #define IActiveScriptEncode_Release(This) (This)->lpVtbl->Release(This)
    935 #define IActiveScriptEncode_EncodeSection(This,pchIn,cchIn,pchOut,cchOut,pcchRet) (This)->lpVtbl->EncodeSection(This,pchIn,cchIn,pchOut,cchOut,pcchRet)
    936 #define IActiveScriptEncode_DecodeScript(This,pchIn,cchIn,pchOut,cchOut,pcchRet) (This)->lpVtbl->DecodeScript(This,pchIn,cchIn,pchOut,cchOut,pcchRet)
    937 #define IActiveScriptEncode_GetEncodeProgId(This,pbstrOut) (This)->lpVtbl->GetEncodeProgId(This,pbstrOut)
    938 #endif
    939 #endif
    940 
    941   HRESULT WINAPI IActiveScriptEncode_EncodeSection_Proxy(IActiveScriptEncode *This,LPCOLESTR pchIn,DWORD cchIn,LPOLESTR pchOut,DWORD cchOut,DWORD *pcchRet);
    942   void __RPC_STUB IActiveScriptEncode_EncodeSection_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    943   HRESULT WINAPI IActiveScriptEncode_DecodeScript_Proxy(IActiveScriptEncode *This,LPCOLESTR pchIn,DWORD cchIn,LPOLESTR pchOut,DWORD cchOut,DWORD *pcchRet);
    944   void __RPC_STUB IActiveScriptEncode_DecodeScript_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    945   HRESULT WINAPI IActiveScriptEncode_GetEncodeProgId_Proxy(IActiveScriptEncode *This,BSTR *pbstrOut);
    946   void __RPC_STUB IActiveScriptEncode_GetEncodeProgId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    947 #endif
    948 
    949 #ifndef __IActiveScriptHostEncode_INTERFACE_DEFINED__
    950 #define __IActiveScriptHostEncode_INTERFACE_DEFINED__
    951   EXTERN_C const IID IID_IActiveScriptHostEncode;
    952 #if defined(__cplusplus) && !defined(CINTERFACE)
    953   struct IActiveScriptHostEncode : public IUnknown {
    954   public:
    955     virtual HRESULT WINAPI EncodeScriptHostFile(BSTR bstrInFile,BSTR *pbstrOutFile,unsigned __LONG32 cFlags,BSTR bstrDefaultLang) = 0;
    956   };
    957 #else
    958   typedef struct IActiveScriptHostEncodeVtbl {
    959     BEGIN_INTERFACE
    960       HRESULT (WINAPI *QueryInterface)(IActiveScriptHostEncode *This,REFIID riid,void **ppvObject);
    961       ULONG (WINAPI *AddRef)(IActiveScriptHostEncode *This);
    962       ULONG (WINAPI *Release)(IActiveScriptHostEncode *This);
    963       HRESULT (WINAPI *EncodeScriptHostFile)(IActiveScriptHostEncode *This,BSTR bstrInFile,BSTR *pbstrOutFile,unsigned __LONG32 cFlags,BSTR bstrDefaultLang);
    964     END_INTERFACE
    965   } IActiveScriptHostEncodeVtbl;
    966   struct IActiveScriptHostEncode {
    967     CONST_VTBL struct IActiveScriptHostEncodeVtbl *lpVtbl;
    968   };
    969 #ifdef COBJMACROS
    970 #define IActiveScriptHostEncode_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    971 #define IActiveScriptHostEncode_AddRef(This) (This)->lpVtbl->AddRef(This)
    972 #define IActiveScriptHostEncode_Release(This) (This)->lpVtbl->Release(This)
    973 #define IActiveScriptHostEncode_EncodeScriptHostFile(This,bstrInFile,pbstrOutFile,cFlags,bstrDefaultLang) (This)->lpVtbl->EncodeScriptHostFile(This,bstrInFile,pbstrOutFile,cFlags,bstrDefaultLang)
    974 #endif
    975 #endif
    976 
    977   HRESULT WINAPI IActiveScriptHostEncode_EncodeScriptHostFile_Proxy(IActiveScriptHostEncode *This,BSTR bstrInFile,BSTR *pbstrOutFile,unsigned __LONG32 cFlags,BSTR bstrDefaultLang);
    978   void __RPC_STUB IActiveScriptHostEncode_EncodeScriptHostFile_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    979 #endif
    980 
    981 #ifndef __IBindEventHandler_INTERFACE_DEFINED__
    982 #define __IBindEventHandler_INTERFACE_DEFINED__
    983   EXTERN_C const IID IID_IBindEventHandler;
    984 #if defined(__cplusplus) && !defined(CINTERFACE)
    985   struct IBindEventHandler : public IUnknown {
    986   public:
    987     virtual HRESULT WINAPI BindHandler(LPCOLESTR pstrEvent,IDispatch *pdisp) = 0;
    988 
    989   };
    990 #else
    991   typedef struct IBindEventHandlerVtbl {
    992     BEGIN_INTERFACE
    993       HRESULT (WINAPI *QueryInterface)(IBindEventHandler *This,REFIID riid,void **ppvObject);
    994       ULONG (WINAPI *AddRef)(IBindEventHandler *This);
    995       ULONG (WINAPI *Release)(IBindEventHandler *This);
    996       HRESULT (WINAPI *BindHandler)(IBindEventHandler *This,LPCOLESTR pstrEvent,IDispatch *pdisp);
    997     END_INTERFACE
    998   } IBindEventHandlerVtbl;
    999   struct IBindEventHandler {
   1000     CONST_VTBL struct IBindEventHandlerVtbl *lpVtbl;
   1001   };
   1002 #ifdef COBJMACROS
   1003 #define IBindEventHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1004 #define IBindEventHandler_AddRef(This) (This)->lpVtbl->AddRef(This)
   1005 #define IBindEventHandler_Release(This) (This)->lpVtbl->Release(This)
   1006 #define IBindEventHandler_BindHandler(This,pstrEvent,pdisp) (This)->lpVtbl->BindHandler(This,pstrEvent,pdisp)
   1007 #endif
   1008 #endif
   1009 
   1010   HRESULT WINAPI IBindEventHandler_BindHandler_Proxy(IBindEventHandler *This,LPCOLESTR pstrEvent,IDispatch *pdisp);
   1011   void __RPC_STUB IBindEventHandler_BindHandler_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1012 #endif
   1013 
   1014 #ifndef __IActiveScriptStats_INTERFACE_DEFINED__
   1015 #define __IActiveScriptStats_INTERFACE_DEFINED__
   1016   EXTERN_C const IID IID_IActiveScriptStats;
   1017 #if defined(__cplusplus) && !defined(CINTERFACE)
   1018   struct IActiveScriptStats : public IUnknown {
   1019   public:
   1020     virtual HRESULT WINAPI GetStat(DWORD stid,ULONG *pluHi,ULONG *pluLo) = 0;
   1021     virtual HRESULT WINAPI GetStatEx(REFGUID guid,ULONG *pluHi,ULONG *pluLo) = 0;
   1022     virtual HRESULT WINAPI ResetStats(void) = 0;
   1023   };
   1024 #else
   1025   typedef struct IActiveScriptStatsVtbl {
   1026     BEGIN_INTERFACE
   1027       HRESULT (WINAPI *QueryInterface)(IActiveScriptStats *This,REFIID riid,void **ppvObject);
   1028       ULONG (WINAPI *AddRef)(IActiveScriptStats *This);
   1029       ULONG (WINAPI *Release)(IActiveScriptStats *This);
   1030       HRESULT (WINAPI *GetStat)(IActiveScriptStats *This,DWORD stid,ULONG *pluHi,ULONG *pluLo);
   1031       HRESULT (WINAPI *GetStatEx)(IActiveScriptStats *This,REFGUID guid,ULONG *pluHi,ULONG *pluLo);
   1032       HRESULT (WINAPI *ResetStats)(IActiveScriptStats *This);
   1033     END_INTERFACE
   1034   } IActiveScriptStatsVtbl;
   1035   struct IActiveScriptStats {
   1036     CONST_VTBL struct IActiveScriptStatsVtbl *lpVtbl;
   1037   };
   1038 #ifdef COBJMACROS
   1039 #define IActiveScriptStats_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1040 #define IActiveScriptStats_AddRef(This) (This)->lpVtbl->AddRef(This)
   1041 #define IActiveScriptStats_Release(This) (This)->lpVtbl->Release(This)
   1042 #define IActiveScriptStats_GetStat(This,stid,pluHi,pluLo) (This)->lpVtbl->GetStat(This,stid,pluHi,pluLo)
   1043 #define IActiveScriptStats_GetStatEx(This,guid,pluHi,pluLo) (This)->lpVtbl->GetStatEx(This,guid,pluHi,pluLo)
   1044 #define IActiveScriptStats_ResetStats(This) (This)->lpVtbl->ResetStats(This)
   1045 #endif
   1046 #endif
   1047 
   1048   HRESULT WINAPI IActiveScriptStats_GetStat_Proxy(IActiveScriptStats *This,DWORD stid,ULONG *pluHi,ULONG *pluLo);
   1049   void __RPC_STUB IActiveScriptStats_GetStat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1050   HRESULT WINAPI IActiveScriptStats_GetStatEx_Proxy(IActiveScriptStats *This,REFGUID guid,ULONG *pluHi,ULONG *pluLo);
   1051   void __RPC_STUB IActiveScriptStats_GetStatEx_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1052   HRESULT WINAPI IActiveScriptStats_ResetStats_Proxy(IActiveScriptStats *This);
   1053   void __RPC_STUB IActiveScriptStats_ResetStats_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1054 #endif
   1055 
   1056 #ifndef __IActiveScriptProperty_INTERFACE_DEFINED__
   1057 #define __IActiveScriptProperty_INTERFACE_DEFINED__
   1058   EXTERN_C const IID IID_IActiveScriptProperty;
   1059 #if defined(__cplusplus) && !defined(CINTERFACE)
   1060   struct IActiveScriptProperty : public IUnknown {
   1061   public:
   1062     virtual HRESULT WINAPI GetProperty(DWORD dwProperty,VARIANT *pvarIndex,VARIANT *pvarValue) = 0;
   1063     virtual HRESULT WINAPI SetProperty(DWORD dwProperty,VARIANT *pvarIndex,VARIANT *pvarValue) = 0;
   1064   };
   1065 #else
   1066   typedef struct IActiveScriptPropertyVtbl {
   1067     BEGIN_INTERFACE
   1068       HRESULT (WINAPI *QueryInterface)(IActiveScriptProperty *This,REFIID riid,void **ppvObject);
   1069       ULONG (WINAPI *AddRef)(IActiveScriptProperty *This);
   1070       ULONG (WINAPI *Release)(IActiveScriptProperty *This);
   1071       HRESULT (WINAPI *GetProperty)(IActiveScriptProperty *This,DWORD dwProperty,VARIANT *pvarIndex,VARIANT *pvarValue);
   1072       HRESULT (WINAPI *SetProperty)(IActiveScriptProperty *This,DWORD dwProperty,VARIANT *pvarIndex,VARIANT *pvarValue);
   1073     END_INTERFACE
   1074   } IActiveScriptPropertyVtbl;
   1075   struct IActiveScriptProperty {
   1076     CONST_VTBL struct IActiveScriptPropertyVtbl *lpVtbl;
   1077   };
   1078 #ifdef COBJMACROS
   1079 #define IActiveScriptProperty_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1080 #define IActiveScriptProperty_AddRef(This) (This)->lpVtbl->AddRef(This)
   1081 #define IActiveScriptProperty_Release(This) (This)->lpVtbl->Release(This)
   1082 #define IActiveScriptProperty_GetProperty(This,dwProperty,pvarIndex,pvarValue) (This)->lpVtbl->GetProperty(This,dwProperty,pvarIndex,pvarValue)
   1083 #define IActiveScriptProperty_SetProperty(This,dwProperty,pvarIndex,pvarValue) (This)->lpVtbl->SetProperty(This,dwProperty,pvarIndex,pvarValue)
   1084 #endif
   1085 #endif
   1086 
   1087   HRESULT WINAPI IActiveScriptProperty_GetProperty_Proxy(IActiveScriptProperty *This,DWORD dwProperty,VARIANT *pvarIndex,VARIANT *pvarValue);
   1088   void __RPC_STUB IActiveScriptProperty_GetProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1089   HRESULT WINAPI IActiveScriptProperty_SetProperty_Proxy(IActiveScriptProperty *This,DWORD dwProperty,VARIANT *pvarIndex,VARIANT *pvarValue);
   1090   void __RPC_STUB IActiveScriptProperty_SetProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1091 #endif
   1092 
   1093 #ifndef __ITridentEventSink_INTERFACE_DEFINED__
   1094 #define __ITridentEventSink_INTERFACE_DEFINED__
   1095   EXTERN_C const IID IID_ITridentEventSink;
   1096 #if defined(__cplusplus) && !defined(CINTERFACE)
   1097   struct ITridentEventSink : public IUnknown {
   1098   public:
   1099     virtual HRESULT WINAPI FireEvent(LPCOLESTR pstrEvent,DISPPARAMS *pdp,VARIANT *pvarRes,EXCEPINFO *pei) = 0;
   1100   };
   1101 #else
   1102   typedef struct ITridentEventSinkVtbl {
   1103     BEGIN_INTERFACE
   1104       HRESULT (WINAPI *QueryInterface)(ITridentEventSink *This,REFIID riid,void **ppvObject);
   1105       ULONG (WINAPI *AddRef)(ITridentEventSink *This);
   1106       ULONG (WINAPI *Release)(ITridentEventSink *This);
   1107       HRESULT (WINAPI *FireEvent)(ITridentEventSink *This,LPCOLESTR pstrEvent,DISPPARAMS *pdp,VARIANT *pvarRes,EXCEPINFO *pei);
   1108     END_INTERFACE
   1109   } ITridentEventSinkVtbl;
   1110   struct ITridentEventSink {
   1111     CONST_VTBL struct ITridentEventSinkVtbl *lpVtbl;
   1112   };
   1113 #ifdef COBJMACROS
   1114 #define ITridentEventSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1115 #define ITridentEventSink_AddRef(This) (This)->lpVtbl->AddRef(This)
   1116 #define ITridentEventSink_Release(This) (This)->lpVtbl->Release(This)
   1117 #define ITridentEventSink_FireEvent(This,pstrEvent,pdp,pvarRes,pei) (This)->lpVtbl->FireEvent(This,pstrEvent,pdp,pvarRes,pei)
   1118 #endif
   1119 #endif
   1120 
   1121   HRESULT WINAPI ITridentEventSink_FireEvent_Proxy(ITridentEventSink *This,LPCOLESTR pstrEvent,DISPPARAMS *pdp,VARIANT *pvarRes,EXCEPINFO *pei);
   1122   void __RPC_STUB ITridentEventSink_FireEvent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1123 #endif
   1124 
   1125 #ifndef __IActiveScriptGarbageCollector_INTERFACE_DEFINED__
   1126 #define __IActiveScriptGarbageCollector_INTERFACE_DEFINED__
   1127   EXTERN_C const IID IID_IActiveScriptGarbageCollector;
   1128 #if defined(__cplusplus) && !defined(CINTERFACE)
   1129   struct IActiveScriptGarbageCollector : public IUnknown {
   1130   public:
   1131     virtual HRESULT WINAPI CollectGarbage(SCRIPTGCTYPE scriptgctype) = 0;
   1132   };
   1133 #else
   1134   typedef struct IActiveScriptGarbageCollectorVtbl {
   1135     BEGIN_INTERFACE
   1136       HRESULT (WINAPI *QueryInterface)(IActiveScriptGarbageCollector *This,REFIID riid,void **ppvObject);
   1137       ULONG (WINAPI *AddRef)(IActiveScriptGarbageCollector *This);
   1138       ULONG (WINAPI *Release)(IActiveScriptGarbageCollector *This);
   1139       HRESULT (WINAPI *CollectGarbage)(IActiveScriptGarbageCollector *This,SCRIPTGCTYPE scriptgctype);
   1140     END_INTERFACE
   1141   } IActiveScriptGarbageCollectorVtbl;
   1142   struct IActiveScriptGarbageCollector {
   1143     CONST_VTBL struct IActiveScriptGarbageCollectorVtbl *lpVtbl;
   1144   };
   1145 #ifdef COBJMACROS
   1146 #define IActiveScriptGarbageCollector_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1147 #define IActiveScriptGarbageCollector_AddRef(This) (This)->lpVtbl->AddRef(This)
   1148 #define IActiveScriptGarbageCollector_Release(This) (This)->lpVtbl->Release(This)
   1149 #define IActiveScriptGarbageCollector_CollectGarbage(This,scriptgctype) (This)->lpVtbl->CollectGarbage(This,scriptgctype)
   1150 #endif
   1151 #endif
   1152 
   1153   HRESULT WINAPI IActiveScriptGarbageCollector_CollectGarbage_Proxy(IActiveScriptGarbageCollector *This,SCRIPTGCTYPE scriptgctype);
   1154   void __RPC_STUB IActiveScriptGarbageCollector_CollectGarbage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1155 #endif
   1156 
   1157 #ifndef __IActiveScriptSIPInfo_INTERFACE_DEFINED__
   1158 #define __IActiveScriptSIPInfo_INTERFACE_DEFINED__
   1159   EXTERN_C const IID IID_IActiveScriptSIPInfo;
   1160 #if defined(__cplusplus) && !defined(CINTERFACE)
   1161   struct IActiveScriptSIPInfo : public IUnknown {
   1162   public:
   1163     virtual HRESULT WINAPI GetSIPOID(GUID *poid_sip) = 0;
   1164   };
   1165 #else
   1166   typedef struct IActiveScriptSIPInfoVtbl {
   1167     BEGIN_INTERFACE
   1168       HRESULT (WINAPI *QueryInterface)(IActiveScriptSIPInfo *This,REFIID riid,void **ppvObject);
   1169       ULONG (WINAPI *AddRef)(IActiveScriptSIPInfo *This);
   1170       ULONG (WINAPI *Release)(IActiveScriptSIPInfo *This);
   1171       HRESULT (WINAPI *GetSIPOID)(IActiveScriptSIPInfo *This,GUID *poid_sip);
   1172     END_INTERFACE
   1173   } IActiveScriptSIPInfoVtbl;
   1174   struct IActiveScriptSIPInfo {
   1175     CONST_VTBL struct IActiveScriptSIPInfoVtbl *lpVtbl;
   1176   };
   1177 #ifdef COBJMACROS
   1178 #define IActiveScriptSIPInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1179 #define IActiveScriptSIPInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
   1180 #define IActiveScriptSIPInfo_Release(This) (This)->lpVtbl->Release(This)
   1181 #define IActiveScriptSIPInfo_GetSIPOID(This,poid_sip) (This)->lpVtbl->GetSIPOID(This,poid_sip)
   1182 #endif
   1183 #endif
   1184 
   1185   HRESULT WINAPI IActiveScriptSIPInfo_GetSIPOID_Proxy(IActiveScriptSIPInfo *This,GUID *poid_sip);
   1186   void __RPC_STUB IActiveScriptSIPInfo_GetSIPOID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1187 #endif
   1188 
   1189 #ifndef __IActiveScriptSiteTraceInfo_INTERFACE_DEFINED__
   1190 #define __IActiveScriptSiteTraceInfo_INTERFACE_DEFINED__
   1191   EXTERN_C const IID IID_IActiveScriptSiteTraceInfo;
   1192 #if defined(__cplusplus) && !defined(CINTERFACE)
   1193   struct IActiveScriptSiteTraceInfo : public IUnknown {
   1194   public:
   1195     virtual HRESULT WINAPI SendScriptTraceInfo(SCRIPTTRACEINFO stiEventType,GUID guidContextID,DWORD dwScriptContextCookie,LONG lScriptStatementStart,LONG lScriptStatementEnd,DWORD64 dwReserved) = 0;
   1196   };
   1197 #else
   1198   typedef struct IActiveScriptSiteTraceInfoVtbl {
   1199     BEGIN_INTERFACE
   1200       HRESULT (WINAPI *QueryInterface)(IActiveScriptSiteTraceInfo *This,REFIID riid,void **ppvObject);
   1201       ULONG (WINAPI *AddRef)(IActiveScriptSiteTraceInfo *This);
   1202       ULONG (WINAPI *Release)(IActiveScriptSiteTraceInfo *This);
   1203       HRESULT (WINAPI *SendScriptTraceInfo)(IActiveScriptSiteTraceInfo *This,SCRIPTTRACEINFO stiEventType,GUID guidContextID,DWORD dwScriptContextCookie,LONG lScriptStatementStart,LONG lScriptStatementEnd,DWORD64 dwReserved);
   1204     END_INTERFACE
   1205   } IActiveScriptSiteTraceInfoVtbl;
   1206   struct IActiveScriptSiteTraceInfo {
   1207     CONST_VTBL struct IActiveScriptSiteTraceInfoVtbl *lpVtbl;
   1208   };
   1209 #ifdef COBJMACROS
   1210 #define IActiveScriptSiteTraceInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1211 #define IActiveScriptSiteTraceInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
   1212 #define IActiveScriptSiteTraceInfo_Release(This) (This)->lpVtbl->Release(This)
   1213 #define IActiveScriptSiteTraceInfo_SendScriptTraceInfo(This,stiEventType,guidContextID,dwScriptContextCookie,lScriptStatementStart,lScriptStatementEnd,dwReserved) (This)->lpVtbl->SendScriptTraceInfo(This,stiEventType,guidContextID,dwScriptContextCookie,lScriptStatementStart,lScriptStatementEnd,dwReserved)
   1214 #endif
   1215 #endif
   1216 
   1217   HRESULT WINAPI IActiveScriptSiteTraceInfo_SendScriptTraceInfo_Proxy(IActiveScriptSiteTraceInfo *This,SCRIPTTRACEINFO stiEventType,GUID guidContextID,DWORD dwScriptContextCookie,LONG lScriptStatementStart,LONG lScriptStatementEnd,DWORD64 dwReserved);
   1218   void __RPC_STUB IActiveScriptSiteTraceInfo_SendScriptTraceInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1219 #endif
   1220 
   1221 #ifndef __IActiveScriptTraceInfo_INTERFACE_DEFINED__
   1222 #define __IActiveScriptTraceInfo_INTERFACE_DEFINED__
   1223   EXTERN_C const IID IID_IActiveScriptTraceInfo;
   1224 #if defined(__cplusplus) && !defined(CINTERFACE)
   1225   struct IActiveScriptTraceInfo : public IUnknown {
   1226   public:
   1227     virtual HRESULT WINAPI StartScriptTracing(IActiveScriptSiteTraceInfo *pSiteTraceInfo,GUID guidContextID) = 0;
   1228     virtual HRESULT WINAPI StopScriptTracing(void) = 0;
   1229   };
   1230 #else
   1231   typedef struct IActiveScriptTraceInfoVtbl {
   1232     BEGIN_INTERFACE
   1233       HRESULT (WINAPI *QueryInterface)(IActiveScriptTraceInfo *This,REFIID riid,void **ppvObject);
   1234       ULONG (WINAPI *AddRef)(IActiveScriptTraceInfo *This);
   1235       ULONG (WINAPI *Release)(IActiveScriptTraceInfo *This);
   1236       HRESULT (WINAPI *StartScriptTracing)(IActiveScriptTraceInfo *This,IActiveScriptSiteTraceInfo *pSiteTraceInfo,GUID guidContextID);
   1237       HRESULT (WINAPI *StopScriptTracing)(IActiveScriptTraceInfo *This);
   1238     END_INTERFACE
   1239   } IActiveScriptTraceInfoVtbl;
   1240   struct IActiveScriptTraceInfo {
   1241     CONST_VTBL struct IActiveScriptTraceInfoVtbl *lpVtbl;
   1242   };
   1243 #ifdef COBJMACROS
   1244 #define IActiveScriptTraceInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1245 #define IActiveScriptTraceInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
   1246 #define IActiveScriptTraceInfo_Release(This) (This)->lpVtbl->Release(This)
   1247 #define IActiveScriptTraceInfo_StartScriptTracing(This,pSiteTraceInfo,guidContextID) (This)->lpVtbl->StartScriptTracing(This,pSiteTraceInfo,guidContextID)
   1248 #define IActiveScriptTraceInfo_StopScriptTracing(This) (This)->lpVtbl->StopScriptTracing(This)
   1249 #endif
   1250 #endif
   1251 
   1252   HRESULT WINAPI IActiveScriptTraceInfo_StartScriptTracing_Proxy(IActiveScriptTraceInfo *This,IActiveScriptSiteTraceInfo *pSiteTraceInfo,GUID guidContextID);
   1253   void __RPC_STUB IActiveScriptTraceInfo_StartScriptTracing_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1254   HRESULT WINAPI IActiveScriptTraceInfo_StopScriptTracing_Proxy(IActiveScriptTraceInfo *This);
   1255   void __RPC_STUB IActiveScriptTraceInfo_StopScriptTracing_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1256 #endif
   1257 #endif
   1258 
   1259   extern RPC_IF_HANDLE __MIDL_itf_activscp_0286_v0_0_c_ifspec;
   1260   extern RPC_IF_HANDLE __MIDL_itf_activscp_0286_v0_0_s_ifspec;
   1261 
   1262   ULONG __RPC_API BSTR_UserSize(ULONG *,ULONG,BSTR *);
   1263   unsigned char *__RPC_API BSTR_UserMarshal(ULONG *,unsigned char *,BSTR *);
   1264   unsigned char *__RPC_API BSTR_UserUnmarshal(ULONG *,unsigned char *,BSTR *);
   1265   void __RPC_API BSTR_UserFree(ULONG *,BSTR *);
   1266   ULONG __RPC_API HWND_UserSize(ULONG *,ULONG,HWND *);
   1267   unsigned char *__RPC_API HWND_UserMarshal(ULONG *,unsigned char *,HWND *);
   1268   unsigned char *__RPC_API HWND_UserUnmarshal(ULONG *,unsigned char *,HWND *);
   1269   void __RPC_API HWND_UserFree(ULONG *,HWND *);
   1270   ULONG __RPC_API VARIANT_UserSize(ULONG *,ULONG,VARIANT *);
   1271   unsigned char *__RPC_API VARIANT_UserMarshal(ULONG *,unsigned char *,VARIANT *);
   1272   unsigned char *__RPC_API VARIANT_UserUnmarshal(ULONG *,unsigned char *,VARIANT *);
   1273   void __RPC_API VARIANT_UserFree(ULONG *,VARIANT *);
   1274 
   1275   HRESULT WINAPI IActiveScriptError_GetExceptionInfo_Proxy(IActiveScriptError *This,EXCEPINFO *pexcepinfo);
   1276   HRESULT WINAPI IActiveScriptError_GetExceptionInfo_Stub(IActiveScriptError *This,EXCEPINFO *pexcepinfo);
   1277 
   1278 #ifdef __cplusplus
   1279 }
   1280 #endif
   1281 #endif
   1282