Home | History | Annotate | Download | only in include
      1 /*** Autogenerated by WIDL 1.6 from include/activscp.idl - Do not edit ***/
      2 
      3 #ifndef __REQUIRED_RPCNDR_H_VERSION__
      4 #define __REQUIRED_RPCNDR_H_VERSION__ 475
      5 #endif
      6 
      7 #include <rpc.h>
      8 #include <rpcndr.h>
      9 
     10 #ifndef COM_NO_WINDOWS_H
     11 #include <windows.h>
     12 #include <ole2.h>
     13 #endif
     14 
     15 #ifndef __activscp_h__
     16 #define __activscp_h__
     17 
     18 /* Forward declarations */
     19 
     20 #ifndef __IActiveScriptSite_FWD_DEFINED__
     21 #define __IActiveScriptSite_FWD_DEFINED__
     22 typedef interface IActiveScriptSite IActiveScriptSite;
     23 #endif
     24 
     25 #ifndef __IActiveScriptError_FWD_DEFINED__
     26 #define __IActiveScriptError_FWD_DEFINED__
     27 typedef interface IActiveScriptError IActiveScriptError;
     28 #endif
     29 
     30 #ifndef __IActiveScriptError64_FWD_DEFINED__
     31 #define __IActiveScriptError64_FWD_DEFINED__
     32 typedef interface IActiveScriptError64 IActiveScriptError64;
     33 #endif
     34 
     35 #ifndef __IActiveScriptSiteWindow_FWD_DEFINED__
     36 #define __IActiveScriptSiteWindow_FWD_DEFINED__
     37 typedef interface IActiveScriptSiteWindow IActiveScriptSiteWindow;
     38 #endif
     39 
     40 #ifndef __IActiveScriptSiteUIControl_FWD_DEFINED__
     41 #define __IActiveScriptSiteUIControl_FWD_DEFINED__
     42 typedef interface IActiveScriptSiteUIControl IActiveScriptSiteUIControl;
     43 #endif
     44 
     45 #ifndef __IActiveScriptSiteInterruptPoll_FWD_DEFINED__
     46 #define __IActiveScriptSiteInterruptPoll_FWD_DEFINED__
     47 typedef interface IActiveScriptSiteInterruptPoll IActiveScriptSiteInterruptPoll;
     48 #endif
     49 
     50 #ifndef __IActiveScript_FWD_DEFINED__
     51 #define __IActiveScript_FWD_DEFINED__
     52 typedef interface IActiveScript IActiveScript;
     53 #endif
     54 
     55 #ifndef __IActiveScriptParse32_FWD_DEFINED__
     56 #define __IActiveScriptParse32_FWD_DEFINED__
     57 typedef interface IActiveScriptParse32 IActiveScriptParse32;
     58 #endif
     59 
     60 #ifndef __IActiveScriptParse64_FWD_DEFINED__
     61 #define __IActiveScriptParse64_FWD_DEFINED__
     62 typedef interface IActiveScriptParse64 IActiveScriptParse64;
     63 #endif
     64 
     65 #ifndef __IActiveScriptParseProcedureOld32_FWD_DEFINED__
     66 #define __IActiveScriptParseProcedureOld32_FWD_DEFINED__
     67 typedef interface IActiveScriptParseProcedureOld32 IActiveScriptParseProcedureOld32;
     68 #endif
     69 
     70 #ifndef __IActiveScriptParseProcedureOld64_FWD_DEFINED__
     71 #define __IActiveScriptParseProcedureOld64_FWD_DEFINED__
     72 typedef interface IActiveScriptParseProcedureOld64 IActiveScriptParseProcedureOld64;
     73 #endif
     74 
     75 #ifndef __IActiveScriptParseProcedure32_FWD_DEFINED__
     76 #define __IActiveScriptParseProcedure32_FWD_DEFINED__
     77 typedef interface IActiveScriptParseProcedure32 IActiveScriptParseProcedure32;
     78 #endif
     79 
     80 #ifndef __IActiveScriptParseProcedure64_FWD_DEFINED__
     81 #define __IActiveScriptParseProcedure64_FWD_DEFINED__
     82 typedef interface IActiveScriptParseProcedure64 IActiveScriptParseProcedure64;
     83 #endif
     84 
     85 #ifndef __IActiveScriptParseProcedure2_32_FWD_DEFINED__
     86 #define __IActiveScriptParseProcedure2_32_FWD_DEFINED__
     87 typedef interface IActiveScriptParseProcedure2_32 IActiveScriptParseProcedure2_32;
     88 #endif
     89 
     90 #ifndef __IActiveScriptParseProcedure2_64_FWD_DEFINED__
     91 #define __IActiveScriptParseProcedure2_64_FWD_DEFINED__
     92 typedef interface IActiveScriptParseProcedure2_64 IActiveScriptParseProcedure2_64;
     93 #endif
     94 
     95 #ifndef __IActiveScriptEncode_FWD_DEFINED__
     96 #define __IActiveScriptEncode_FWD_DEFINED__
     97 typedef interface IActiveScriptEncode IActiveScriptEncode;
     98 #endif
     99 
    100 #ifndef __IActiveScriptHostEncode_FWD_DEFINED__
    101 #define __IActiveScriptHostEncode_FWD_DEFINED__
    102 typedef interface IActiveScriptHostEncode IActiveScriptHostEncode;
    103 #endif
    104 
    105 #ifndef __IBindEventHandler_FWD_DEFINED__
    106 #define __IBindEventHandler_FWD_DEFINED__
    107 typedef interface IBindEventHandler IBindEventHandler;
    108 #endif
    109 
    110 #ifndef __IActiveScriptStats_FWD_DEFINED__
    111 #define __IActiveScriptStats_FWD_DEFINED__
    112 typedef interface IActiveScriptStats IActiveScriptStats;
    113 #endif
    114 
    115 #ifndef __IActiveScriptProperty_FWD_DEFINED__
    116 #define __IActiveScriptProperty_FWD_DEFINED__
    117 typedef interface IActiveScriptProperty IActiveScriptProperty;
    118 #endif
    119 
    120 #ifndef __ITridentEventSink_FWD_DEFINED__
    121 #define __ITridentEventSink_FWD_DEFINED__
    122 typedef interface ITridentEventSink ITridentEventSink;
    123 #endif
    124 
    125 #ifndef __IActiveScriptGarbageCollector_FWD_DEFINED__
    126 #define __IActiveScriptGarbageCollector_FWD_DEFINED__
    127 typedef interface IActiveScriptGarbageCollector IActiveScriptGarbageCollector;
    128 #endif
    129 
    130 #ifndef __IActiveScriptSIPInfo_FWD_DEFINED__
    131 #define __IActiveScriptSIPInfo_FWD_DEFINED__
    132 typedef interface IActiveScriptSIPInfo IActiveScriptSIPInfo;
    133 #endif
    134 
    135 #ifndef __IActiveScriptSiteTraceInfo_FWD_DEFINED__
    136 #define __IActiveScriptSiteTraceInfo_FWD_DEFINED__
    137 typedef interface IActiveScriptSiteTraceInfo IActiveScriptSiteTraceInfo;
    138 #endif
    139 
    140 #ifndef __IActiveScriptTraceInfo_FWD_DEFINED__
    141 #define __IActiveScriptTraceInfo_FWD_DEFINED__
    142 typedef interface IActiveScriptTraceInfo IActiveScriptTraceInfo;
    143 #endif
    144 
    145 #ifndef __IActiveScriptStringCompare_FWD_DEFINED__
    146 #define __IActiveScriptStringCompare_FWD_DEFINED__
    147 typedef interface IActiveScriptStringCompare IActiveScriptStringCompare;
    148 #endif
    149 
    150 /* Headers for imported files */
    151 
    152 #include <ocidl.h>
    153 #include <oleidl.h>
    154 #include <oaidl.h>
    155 
    156 #ifdef __cplusplus
    157 extern "C" {
    158 #endif
    159 
    160 /**
    161  * This file is part of the mingw-w64 runtime package.
    162  * No warranty is given; refer to the file DISCLAIMER within this package.
    163  */
    164 
    165 #ifndef __ActivScp_h
    166 #define __ActivScp_h
    167 
    168 #include <winapifamily.h>
    169 
    170 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
    171 
    172 
    173 #ifndef _NO_SCRIPT_GUIDS
    174 
    175 DEFINE_GUID(CATID_ActiveScript, 0xf0b7a1a1, 0x9847, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
    176 DEFINE_GUID(CATID_ActiveScriptParse, 0xf0b7a1a2, 0x9847, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
    177 DEFINE_GUID(CATID_ActiveScriptEncode, 0xf0b7a1a3, 0x9847, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
    178 DEFINE_GUID(OID_VBSSIP, 0x1629f04e, 0x2799, 0x4db5, 0x8f, 0xe5, 0xac, 0xe1, 0x0f, 0x17, 0xeb, 0xab);
    179 DEFINE_GUID(OID_JSSIP,  0x6c9e010, 0x38ce, 0x11d4, 0xa2, 0xa3, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);
    180 DEFINE_GUID(OID_WSFSIP, 0x1a610570, 0x38ce, 0x11d4, 0xa2, 0xa3, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);
    181 #endif
    182 
    183 #define SCRIPTITEM_ISVISIBLE 0x00000002
    184 #define SCRIPTITEM_ISSOURCE 0x00000004
    185 #define SCRIPTITEM_GLOBALMEMBERS 0x00000008
    186 #define SCRIPTITEM_ISPERSISTENT 0x00000040
    187 #define SCRIPTITEM_CODEONLY 0x00000200
    188 #define SCRIPTITEM_NOCODE 0x00000400
    189 
    190 #define SCRIPTITEM_ALL_FLAGS (SCRIPTITEM_ISSOURCE | SCRIPTITEM_ISVISIBLE | SCRIPTITEM_ISPERSISTENT | SCRIPTITEM_GLOBALMEMBERS | SCRIPTITEM_NOCODE | SCRIPTITEM_CODEONLY)
    191 
    192 #define SCRIPTTYPELIB_ISCONTROL 0x00000010
    193 #define SCRIPTTYPELIB_ISPERSISTENT 0x00000040
    194 
    195 #define SCRIPTTYPELIB_ALL_FLAGS (SCRIPTTYPELIB_ISCONTROL | SCRIPTTYPELIB_ISPERSISTENT)
    196 
    197 #define SCRIPTTEXT_DELAYEXECUTION 0x00000001
    198 #define SCRIPTTEXT_ISVISIBLE 0x00000002
    199 #define SCRIPTTEXT_ISEXPRESSION 0x00000020
    200 #define SCRIPTTEXT_ISPERSISTENT 0x00000040
    201 #define SCRIPTTEXT_HOSTMANAGESSOURCE 0x00000080
    202 #define SCRIPTTEXT_ISXDOMAIN 0x00000100
    203 
    204 #define SCRIPTTEXT_ALL_FLAGS (SCRIPTTEXT_DELAYEXECUTION | SCRIPTTEXT_ISVISIBLE | SCRIPTTEXT_ISEXPRESSION | SCRIPTTEXT_ISPERSISTENT | SCRIPTTEXT_HOSTMANAGESSOURCE | SCRIPTTEXT_ISXDOMAIN)
    205 
    206 #define SCRIPTPROC_ISEXPRESSION 0x00000020
    207 #define SCRIPTPROC_HOSTMANAGESSOURCE 0x00000080
    208 #define SCRIPTPROC_IMPLICIT_THIS 0x00000100
    209 #define SCRIPTPROC_IMPLICIT_PARENTS 0x00000200
    210 #define SCRIPTPROC_ISXDOMAIN 0x00000400
    211 
    212 #define SCRIPTPROC_ALL_FLAGS (SCRIPTPROC_HOSTMANAGESSOURCE | SCRIPTPROC_ISEXPRESSION | SCRIPTPROC_IMPLICIT_THIS | SCRIPTPROC_IMPLICIT_PARENTS | SCRIPTPROC_ISXDOMAIN)
    213 
    214 #define SCRIPTINFO_IUNKNOWN 0x00000001
    215 #define SCRIPTINFO_ITYPEINFO 0x00000002
    216 
    217 #define SCRIPTINFO_ALL_FLAGS (SCRIPTINFO_IUNKNOWN | SCRIPTINFO_ITYPEINFO)
    218 
    219 #define SCRIPTINTERRUPT_DEBUG 0x00000001
    220 #define SCRIPTINTERRUPT_RAISEEXCEPTION 0x00000002
    221 
    222 #define SCRIPTINTERRUPT_ALL_FLAGS (SCRIPTINTERRUPT_DEBUG | SCRIPTINTERRUPT_RAISEEXCEPTION)
    223 
    224 #define SCRIPTSTAT_STATEMENT_COUNT 0x1
    225 #define SCRIPTSTAT_INSTRUCTION_COUNT 0x2
    226 #define SCRIPTSTAT_INTSTRUCTION_TIME 0x3
    227 #define SCRIPTSTAT_TOTAL_TIME 0x4
    228 
    229 #define SCRIPT_ENCODE_SECTION 0x1
    230 
    231 #define SCRIPT_ENCODE_DEFAULT_LANGUAGE 0x1
    232 #define SCRIPT_ENCODE_NO_ASP_LANGUAGE 0x2
    233 
    234 #define SCRIPTPROP_NAME 0x0
    235 #define SCRIPTPROP_MAJORVERSION 0x1
    236 #define SCRIPTPROP_MINORVERSION 0x2
    237 #define SCRIPTPROP_BUILDNUMBER 0x3
    238 
    239 #define SCRIPTPROP_DELAYEDEVENTSINKING 0x1000
    240 #define SCRIPTPROP_CATCHEXCEPTION 0x1001
    241 #define SCRIPTPROP_CONVERSIONLCID 0x1002
    242 #define SCRIPTPROP_HOSTSTACKREQUIRED 0x1003
    243 
    244 #define SCRIPTPROP_DEBUGGER 0x1100
    245 #define SCRIPTPROP_JITDEBUG 0x1101
    246 
    247 #define SCRIPTPROP_GCCONTROLSOFTCLOSE 0x2000
    248 
    249 #define SCRIPTPROP_INTEGERMODE 0x3000
    250 #define SCRIPTPROP_STRINGCOMPAREINSTANCE 0x3001
    251 
    252 #define SCRIPTPROP_INVOKEVERSIONING 0x4000
    253 
    254 #define SCRIPTPROP_HACK_FIBERSUPPORT 0x70000000
    255 #define SCRIPTPROP_HACK_TRIDENTEVENTSINK 0x70000001
    256 #define SCRIPTPROP_ABBREVIATE_GLOBALNAME_RESOLUTION 0x70000002
    257 #define SCRIPTPROP_HOSTKEEPALIVE 0x70000004
    258 
    259 #define SCRIPT_E_RECORDED __MSABI_LONG(0x86664004)
    260 #define SCRIPT_E_REPORTED __MSABI_LONG(0x80020101)
    261 #define SCRIPT_E_PROPAGATE __MSABI_LONG(0x80020102)
    262 
    263 typedef enum tagSCRIPTLANGUAGEVERSION {
    264     SCRIPTLANGUAGEVERSION_DEFAULT = 0,
    265     SCRIPTLANGUAGEVERSION_5_7 = 1,
    266     SCRIPTLANGUAGEVERSION_5_8 = 2,
    267     SCRIPTLANGUAGEVERSION_MAX = 255
    268 } SCRIPTLANGUAGEVERSION;
    269 
    270 typedef enum tagSCRIPTSTATE {
    271     SCRIPTSTATE_UNINITIALIZED = 0,
    272     SCRIPTSTATE_INITIALIZED = 5,
    273     SCRIPTSTATE_STARTED = 1,
    274     SCRIPTSTATE_CONNECTED = 2,
    275     SCRIPTSTATE_DISCONNECTED = 3,
    276     SCRIPTSTATE_CLOSED = 4
    277 } SCRIPTSTATE;
    278 
    279 typedef enum tagSCRIPTTRACEINFO {
    280     SCRIPTTRACEINFO_SCRIPTSTART = 0,
    281     SCRIPTTRACEINFO_SCRIPTEND = 1,
    282     SCRIPTTRACEINFO_COMCALLSTART = 2,
    283     SCRIPTTRACEINFO_COMCALLEND = 3,
    284     SCRIPTTRACEINFO_CREATEOBJSTART = 4,
    285     SCRIPTTRACEINFO_CREATEOBJEND = 5,
    286     SCRIPTTRACEINFO_GETOBJSTART = 6,
    287     SCRIPTTRACEINFO_GETOBJEND = 7
    288 } SCRIPTTRACEINFO;
    289 
    290 typedef enum tagSCRIPTTHREADSTATE {
    291     SCRIPTTHREADSTATE_NOTINSCRIPT = 0,
    292     SCRIPTTHREADSTATE_RUNNING = 1
    293 } SCRIPTTHREADSTATE;
    294 
    295 typedef enum tagSCRIPTGCTYPE {
    296     SCRIPTGCTYPE_NORMAL = 0,
    297     SCRIPTGCTYPE_EXHAUSTIVE = 1
    298 } SCRIPTGCTYPE;
    299 
    300 typedef enum tagSCRIPTUICITEM {
    301     SCRIPTUICITEM_INPUTBOX = 1,
    302     SCRIPTUICITEM_MSGBOX = 2
    303 } SCRIPTUICITEM;
    304 
    305 typedef enum tagSCRIPTUICHANDLING {
    306     SCRIPTUICHANDLING_ALLOW = 0,
    307     SCRIPTUICHANDLING_NOUIERROR = 1,
    308     SCRIPTUICHANDLING_NOUIDEFAULT = 2
    309 } SCRIPTUICHANDLING;
    310 
    311 typedef DWORD SCRIPTTHREADID;
    312 
    313 #define SCRIPTTHREADID_CURRENT ((SCRIPTTHREADID)-1)
    314 #define SCRIPTTHREADID_BASE    ((SCRIPTTHREADID)-2)
    315 #define SCRIPTTHREADID_ALL     ((SCRIPTTHREADID)-3)
    316 
    317 #ifndef __IActiveScriptSite_FWD_DEFINED__
    318 #define __IActiveScriptSite_FWD_DEFINED__
    319 typedef interface IActiveScriptSite IActiveScriptSite;
    320 #endif
    321 
    322 #ifndef __IActiveScriptError_FWD_DEFINED__
    323 #define __IActiveScriptError_FWD_DEFINED__
    324 typedef interface IActiveScriptError IActiveScriptError;
    325 #endif
    326 
    327 #ifndef __IActiveScriptError64_FWD_DEFINED__
    328 #define __IActiveScriptError64_FWD_DEFINED__
    329 typedef interface IActiveScriptError64 IActiveScriptError64;
    330 #endif
    331 
    332 #ifndef __IActiveScriptSiteWindow_FWD_DEFINED__
    333 #define __IActiveScriptSiteWindow_FWD_DEFINED__
    334 typedef interface IActiveScriptSiteWindow IActiveScriptSiteWindow;
    335 #endif
    336 
    337 #ifndef __IActiveScriptSiteUIControl_FWD_DEFINED__
    338 #define __IActiveScriptSiteUIControl_FWD_DEFINED__
    339 typedef interface IActiveScriptSiteUIControl IActiveScriptSiteUIControl;
    340 #endif
    341 
    342 #ifndef __IActiveScriptSiteInterruptPoll_FWD_DEFINED__
    343 #define __IActiveScriptSiteInterruptPoll_FWD_DEFINED__
    344 typedef interface IActiveScriptSiteInterruptPoll IActiveScriptSiteInterruptPoll;
    345 #endif
    346 
    347 #ifndef __IActiveScript_FWD_DEFINED__
    348 #define __IActiveScript_FWD_DEFINED__
    349 typedef interface IActiveScript IActiveScript;
    350 #endif
    351 
    352 #ifndef __IActiveScriptParse32_FWD_DEFINED__
    353 #define __IActiveScriptParse32_FWD_DEFINED__
    354 typedef interface IActiveScriptParse32 IActiveScriptParse32;
    355 #endif
    356 
    357 #ifndef __IActiveScriptParse64_FWD_DEFINED__
    358 #define __IActiveScriptParse64_FWD_DEFINED__
    359 typedef interface IActiveScriptParse64 IActiveScriptParse64;
    360 #endif
    361 
    362 #ifndef __IActiveScriptParseProcedureOld32_FWD_DEFINED__
    363 #define __IActiveScriptParseProcedureOld32_FWD_DEFINED__
    364 typedef interface IActiveScriptParseProcedureOld32 IActiveScriptParseProcedureOld32;
    365 #endif
    366 
    367 #ifndef __IActiveScriptParseProcedureOld64_FWD_DEFINED__
    368 #define __IActiveScriptParseProcedureOld64_FWD_DEFINED__
    369 typedef interface IActiveScriptParseProcedureOld64 IActiveScriptParseProcedureOld64;
    370 #endif
    371 
    372 #ifndef __IActiveScriptParseProcedure32_FWD_DEFINED__
    373 #define __IActiveScriptParseProcedure32_FWD_DEFINED__
    374 typedef interface IActiveScriptParseProcedure32 IActiveScriptParseProcedure32;
    375 #endif
    376 
    377 #ifndef __IActiveScriptParseProcedure64_FWD_DEFINED__
    378 #define __IActiveScriptParseProcedure64_FWD_DEFINED__
    379 typedef interface IActiveScriptParseProcedure64 IActiveScriptParseProcedure64;
    380 #endif
    381 
    382 #ifndef __IActiveScriptParseProcedure2_32_FWD_DEFINED__
    383 #define __IActiveScriptParseProcedure2_32_FWD_DEFINED__
    384 typedef interface IActiveScriptParseProcedure2_32 IActiveScriptParseProcedure2_32;
    385 #endif
    386 
    387 #ifndef __IActiveScriptParseProcedure2_64_FWD_DEFINED__
    388 #define __IActiveScriptParseProcedure2_64_FWD_DEFINED__
    389 typedef interface IActiveScriptParseProcedure2_64 IActiveScriptParseProcedure2_64;
    390 #endif
    391 
    392 #ifndef __IActiveScriptEncode_FWD_DEFINED__
    393 #define __IActiveScriptEncode_FWD_DEFINED__
    394 typedef interface IActiveScriptEncode IActiveScriptEncode;
    395 #endif
    396 
    397 #ifndef __IActiveScriptHostEncode_FWD_DEFINED__
    398 #define __IActiveScriptHostEncode_FWD_DEFINED__
    399 typedef interface IActiveScriptHostEncode IActiveScriptHostEncode;
    400 #endif
    401 
    402 #ifndef __IBindEventHandler_FWD_DEFINED__
    403 #define __IBindEventHandler_FWD_DEFINED__
    404 typedef interface IBindEventHandler IBindEventHandler;
    405 #endif
    406 
    407 #ifndef __IActiveScriptStats_FWD_DEFINED__
    408 #define __IActiveScriptStats_FWD_DEFINED__
    409 typedef interface IActiveScriptStats IActiveScriptStats;
    410 #endif
    411 
    412 #ifndef __IActiveScriptProperty_FWD_DEFINED__
    413 #define __IActiveScriptProperty_FWD_DEFINED__
    414 typedef interface IActiveScriptProperty IActiveScriptProperty;
    415 #endif
    416 
    417 #ifndef __ITridentEventSink_FWD_DEFINED__
    418 #define __ITridentEventSink_FWD_DEFINED__
    419 typedef interface ITridentEventSink ITridentEventSink;
    420 #endif
    421 
    422 #ifndef __IActiveScriptGarbageCollector_FWD_DEFINED__
    423 #define __IActiveScriptGarbageCollector_FWD_DEFINED__
    424 typedef interface IActiveScriptGarbageCollector IActiveScriptGarbageCollector;
    425 #endif
    426 
    427 #ifndef __IActiveScriptSIPInfo_FWD_DEFINED__
    428 #define __IActiveScriptSIPInfo_FWD_DEFINED__
    429 typedef interface IActiveScriptSIPInfo IActiveScriptSIPInfo;
    430 #endif
    431 
    432 #ifndef __IActiveScriptStringCompare_FWD_DEFINED__
    433 #define __IActiveScriptStringCompare_FWD_DEFINED__
    434 typedef interface IActiveScriptStringCompare IActiveScriptStringCompare;
    435 #endif
    436 
    437 
    438 /*****************************************************************************
    439  * IActiveScriptSite interface
    440  */
    441 #ifndef __IActiveScriptSite_INTERFACE_DEFINED__
    442 #define __IActiveScriptSite_INTERFACE_DEFINED__
    443 
    444 DEFINE_GUID(IID_IActiveScriptSite, 0xdb01a1e3, 0xa42b, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64);
    445 #if defined(__cplusplus) && !defined(CINTERFACE)
    446 MIDL_INTERFACE("db01a1e3-a42b-11cf-8f20-00805f2cd064")
    447 IActiveScriptSite : public IUnknown
    448 {
    449     virtual HRESULT STDMETHODCALLTYPE GetLCID(
    450         LCID *plcid) = 0;
    451 
    452     virtual HRESULT STDMETHODCALLTYPE GetItemInfo(
    453         LPCOLESTR pstrName,
    454         DWORD dwReturnMask,
    455         IUnknown **ppiunkItem,
    456         ITypeInfo **ppti) = 0;
    457 
    458     virtual HRESULT STDMETHODCALLTYPE GetDocVersionString(
    459         BSTR *pbstrVersion) = 0;
    460 
    461     virtual HRESULT STDMETHODCALLTYPE OnScriptTerminate(
    462         const VARIANT *pvarResult,
    463         const EXCEPINFO *pexcepinfo) = 0;
    464 
    465     virtual HRESULT STDMETHODCALLTYPE OnStateChange(
    466         SCRIPTSTATE ssScriptState) = 0;
    467 
    468     virtual HRESULT STDMETHODCALLTYPE OnScriptError(
    469         IActiveScriptError *pscripterror) = 0;
    470 
    471     virtual HRESULT STDMETHODCALLTYPE OnEnterScript(
    472         ) = 0;
    473 
    474     virtual HRESULT STDMETHODCALLTYPE OnLeaveScript(
    475         ) = 0;
    476 
    477 };
    478 #ifdef __CRT_UUID_DECL
    479 __CRT_UUID_DECL(IActiveScriptSite, 0xdb01a1e3, 0xa42b, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64)
    480 #endif
    481 #else
    482 typedef struct IActiveScriptSiteVtbl {
    483     BEGIN_INTERFACE
    484 
    485     /*** IUnknown methods ***/
    486     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
    487         IActiveScriptSite* This,
    488         REFIID riid,
    489         void **ppvObject);
    490 
    491     ULONG (STDMETHODCALLTYPE *AddRef)(
    492         IActiveScriptSite* This);
    493 
    494     ULONG (STDMETHODCALLTYPE *Release)(
    495         IActiveScriptSite* This);
    496 
    497     /*** IActiveScriptSite methods ***/
    498     HRESULT (STDMETHODCALLTYPE *GetLCID)(
    499         IActiveScriptSite* This,
    500         LCID *plcid);
    501 
    502     HRESULT (STDMETHODCALLTYPE *GetItemInfo)(
    503         IActiveScriptSite* This,
    504         LPCOLESTR pstrName,
    505         DWORD dwReturnMask,
    506         IUnknown **ppiunkItem,
    507         ITypeInfo **ppti);
    508 
    509     HRESULT (STDMETHODCALLTYPE *GetDocVersionString)(
    510         IActiveScriptSite* This,
    511         BSTR *pbstrVersion);
    512 
    513     HRESULT (STDMETHODCALLTYPE *OnScriptTerminate)(
    514         IActiveScriptSite* This,
    515         const VARIANT *pvarResult,
    516         const EXCEPINFO *pexcepinfo);
    517 
    518     HRESULT (STDMETHODCALLTYPE *OnStateChange)(
    519         IActiveScriptSite* This,
    520         SCRIPTSTATE ssScriptState);
    521 
    522     HRESULT (STDMETHODCALLTYPE *OnScriptError)(
    523         IActiveScriptSite* This,
    524         IActiveScriptError *pscripterror);
    525 
    526     HRESULT (STDMETHODCALLTYPE *OnEnterScript)(
    527         IActiveScriptSite* This);
    528 
    529     HRESULT (STDMETHODCALLTYPE *OnLeaveScript)(
    530         IActiveScriptSite* This);
    531 
    532     END_INTERFACE
    533 } IActiveScriptSiteVtbl;
    534 interface IActiveScriptSite {
    535     CONST_VTBL IActiveScriptSiteVtbl* lpVtbl;
    536 };
    537 
    538 #ifdef COBJMACROS
    539 #ifndef WIDL_C_INLINE_WRAPPERS
    540 /*** IUnknown methods ***/
    541 #define IActiveScriptSite_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    542 #define IActiveScriptSite_AddRef(This) (This)->lpVtbl->AddRef(This)
    543 #define IActiveScriptSite_Release(This) (This)->lpVtbl->Release(This)
    544 /*** IActiveScriptSite methods ***/
    545 #define IActiveScriptSite_GetLCID(This,plcid) (This)->lpVtbl->GetLCID(This,plcid)
    546 #define IActiveScriptSite_GetItemInfo(This,pstrName,dwReturnMask,ppiunkItem,ppti) (This)->lpVtbl->GetItemInfo(This,pstrName,dwReturnMask,ppiunkItem,ppti)
    547 #define IActiveScriptSite_GetDocVersionString(This,pbstrVersion) (This)->lpVtbl->GetDocVersionString(This,pbstrVersion)
    548 #define IActiveScriptSite_OnScriptTerminate(This,pvarResult,pexcepinfo) (This)->lpVtbl->OnScriptTerminate(This,pvarResult,pexcepinfo)
    549 #define IActiveScriptSite_OnStateChange(This,ssScriptState) (This)->lpVtbl->OnStateChange(This,ssScriptState)
    550 #define IActiveScriptSite_OnScriptError(This,pscripterror) (This)->lpVtbl->OnScriptError(This,pscripterror)
    551 #define IActiveScriptSite_OnEnterScript(This) (This)->lpVtbl->OnEnterScript(This)
    552 #define IActiveScriptSite_OnLeaveScript(This) (This)->lpVtbl->OnLeaveScript(This)
    553 #else
    554 /*** IUnknown methods ***/
    555 static FORCEINLINE HRESULT IActiveScriptSite_QueryInterface(IActiveScriptSite* This,REFIID riid,void **ppvObject) {
    556     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
    557 }
    558 static FORCEINLINE ULONG IActiveScriptSite_AddRef(IActiveScriptSite* This) {
    559     return This->lpVtbl->AddRef(This);
    560 }
    561 static FORCEINLINE ULONG IActiveScriptSite_Release(IActiveScriptSite* This) {
    562     return This->lpVtbl->Release(This);
    563 }
    564 /*** IActiveScriptSite methods ***/
    565 static FORCEINLINE HRESULT IActiveScriptSite_GetLCID(IActiveScriptSite* This,LCID *plcid) {
    566     return This->lpVtbl->GetLCID(This,plcid);
    567 }
    568 static FORCEINLINE HRESULT IActiveScriptSite_GetItemInfo(IActiveScriptSite* This,LPCOLESTR pstrName,DWORD dwReturnMask,IUnknown **ppiunkItem,ITypeInfo **ppti) {
    569     return This->lpVtbl->GetItemInfo(This,pstrName,dwReturnMask,ppiunkItem,ppti);
    570 }
    571 static FORCEINLINE HRESULT IActiveScriptSite_GetDocVersionString(IActiveScriptSite* This,BSTR *pbstrVersion) {
    572     return This->lpVtbl->GetDocVersionString(This,pbstrVersion);
    573 }
    574 static FORCEINLINE HRESULT IActiveScriptSite_OnScriptTerminate(IActiveScriptSite* This,const VARIANT *pvarResult,const EXCEPINFO *pexcepinfo) {
    575     return This->lpVtbl->OnScriptTerminate(This,pvarResult,pexcepinfo);
    576 }
    577 static FORCEINLINE HRESULT IActiveScriptSite_OnStateChange(IActiveScriptSite* This,SCRIPTSTATE ssScriptState) {
    578     return This->lpVtbl->OnStateChange(This,ssScriptState);
    579 }
    580 static FORCEINLINE HRESULT IActiveScriptSite_OnScriptError(IActiveScriptSite* This,IActiveScriptError *pscripterror) {
    581     return This->lpVtbl->OnScriptError(This,pscripterror);
    582 }
    583 static FORCEINLINE HRESULT IActiveScriptSite_OnEnterScript(IActiveScriptSite* This) {
    584     return This->lpVtbl->OnEnterScript(This);
    585 }
    586 static FORCEINLINE HRESULT IActiveScriptSite_OnLeaveScript(IActiveScriptSite* This) {
    587     return This->lpVtbl->OnLeaveScript(This);
    588 }
    589 #endif
    590 #endif
    591 
    592 #endif
    593 
    594 HRESULT STDMETHODCALLTYPE IActiveScriptSite_GetLCID_Proxy(
    595     IActiveScriptSite* This,
    596     LCID *plcid);
    597 void __RPC_STUB IActiveScriptSite_GetLCID_Stub(
    598     IRpcStubBuffer* This,
    599     IRpcChannelBuffer* pRpcChannelBuffer,
    600     PRPC_MESSAGE pRpcMessage,
    601     DWORD* pdwStubPhase);
    602 HRESULT STDMETHODCALLTYPE IActiveScriptSite_GetItemInfo_Proxy(
    603     IActiveScriptSite* This,
    604     LPCOLESTR pstrName,
    605     DWORD dwReturnMask,
    606     IUnknown **ppiunkItem,
    607     ITypeInfo **ppti);
    608 void __RPC_STUB IActiveScriptSite_GetItemInfo_Stub(
    609     IRpcStubBuffer* This,
    610     IRpcChannelBuffer* pRpcChannelBuffer,
    611     PRPC_MESSAGE pRpcMessage,
    612     DWORD* pdwStubPhase);
    613 HRESULT STDMETHODCALLTYPE IActiveScriptSite_GetDocVersionString_Proxy(
    614     IActiveScriptSite* This,
    615     BSTR *pbstrVersion);
    616 void __RPC_STUB IActiveScriptSite_GetDocVersionString_Stub(
    617     IRpcStubBuffer* This,
    618     IRpcChannelBuffer* pRpcChannelBuffer,
    619     PRPC_MESSAGE pRpcMessage,
    620     DWORD* pdwStubPhase);
    621 HRESULT STDMETHODCALLTYPE IActiveScriptSite_OnScriptTerminate_Proxy(
    622     IActiveScriptSite* This,
    623     const VARIANT *pvarResult,
    624     const EXCEPINFO *pexcepinfo);
    625 void __RPC_STUB IActiveScriptSite_OnScriptTerminate_Stub(
    626     IRpcStubBuffer* This,
    627     IRpcChannelBuffer* pRpcChannelBuffer,
    628     PRPC_MESSAGE pRpcMessage,
    629     DWORD* pdwStubPhase);
    630 HRESULT STDMETHODCALLTYPE IActiveScriptSite_OnStateChange_Proxy(
    631     IActiveScriptSite* This,
    632     SCRIPTSTATE ssScriptState);
    633 void __RPC_STUB IActiveScriptSite_OnStateChange_Stub(
    634     IRpcStubBuffer* This,
    635     IRpcChannelBuffer* pRpcChannelBuffer,
    636     PRPC_MESSAGE pRpcMessage,
    637     DWORD* pdwStubPhase);
    638 HRESULT STDMETHODCALLTYPE IActiveScriptSite_OnScriptError_Proxy(
    639     IActiveScriptSite* This,
    640     IActiveScriptError *pscripterror);
    641 void __RPC_STUB IActiveScriptSite_OnScriptError_Stub(
    642     IRpcStubBuffer* This,
    643     IRpcChannelBuffer* pRpcChannelBuffer,
    644     PRPC_MESSAGE pRpcMessage,
    645     DWORD* pdwStubPhase);
    646 HRESULT STDMETHODCALLTYPE IActiveScriptSite_OnEnterScript_Proxy(
    647     IActiveScriptSite* This);
    648 void __RPC_STUB IActiveScriptSite_OnEnterScript_Stub(
    649     IRpcStubBuffer* This,
    650     IRpcChannelBuffer* pRpcChannelBuffer,
    651     PRPC_MESSAGE pRpcMessage,
    652     DWORD* pdwStubPhase);
    653 HRESULT STDMETHODCALLTYPE IActiveScriptSite_OnLeaveScript_Proxy(
    654     IActiveScriptSite* This);
    655 void __RPC_STUB IActiveScriptSite_OnLeaveScript_Stub(
    656     IRpcStubBuffer* This,
    657     IRpcChannelBuffer* pRpcChannelBuffer,
    658     PRPC_MESSAGE pRpcMessage,
    659     DWORD* pdwStubPhase);
    660 
    661 #endif  /* __IActiveScriptSite_INTERFACE_DEFINED__ */
    662 
    663 
    664 /*****************************************************************************
    665  * IActiveScriptError interface
    666  */
    667 #ifndef __IActiveScriptError_INTERFACE_DEFINED__
    668 #define __IActiveScriptError_INTERFACE_DEFINED__
    669 
    670 DEFINE_GUID(IID_IActiveScriptError, 0xeae1ba61, 0xa4ed, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64);
    671 #if defined(__cplusplus) && !defined(CINTERFACE)
    672 MIDL_INTERFACE("eae1ba61-a4ed-11cf-8f20-00805f2cd064")
    673 IActiveScriptError : public IUnknown
    674 {
    675     virtual HRESULT STDMETHODCALLTYPE GetExceptionInfo(
    676         EXCEPINFO *pexcepinfo) = 0;
    677 
    678     virtual HRESULT STDMETHODCALLTYPE GetSourcePosition(
    679         DWORD *pdwSourceContext,
    680         ULONG *pulLineNumber,
    681         LONG *plCharacterPosition) = 0;
    682 
    683     virtual HRESULT STDMETHODCALLTYPE GetSourceLineText(
    684         BSTR *pbstrSourceLine) = 0;
    685 
    686 };
    687 #ifdef __CRT_UUID_DECL
    688 __CRT_UUID_DECL(IActiveScriptError, 0xeae1ba61, 0xa4ed, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64)
    689 #endif
    690 #else
    691 typedef struct IActiveScriptErrorVtbl {
    692     BEGIN_INTERFACE
    693 
    694     /*** IUnknown methods ***/
    695     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
    696         IActiveScriptError* This,
    697         REFIID riid,
    698         void **ppvObject);
    699 
    700     ULONG (STDMETHODCALLTYPE *AddRef)(
    701         IActiveScriptError* This);
    702 
    703     ULONG (STDMETHODCALLTYPE *Release)(
    704         IActiveScriptError* This);
    705 
    706     /*** IActiveScriptError methods ***/
    707     HRESULT (STDMETHODCALLTYPE *GetExceptionInfo)(
    708         IActiveScriptError* This,
    709         EXCEPINFO *pexcepinfo);
    710 
    711     HRESULT (STDMETHODCALLTYPE *GetSourcePosition)(
    712         IActiveScriptError* This,
    713         DWORD *pdwSourceContext,
    714         ULONG *pulLineNumber,
    715         LONG *plCharacterPosition);
    716 
    717     HRESULT (STDMETHODCALLTYPE *GetSourceLineText)(
    718         IActiveScriptError* This,
    719         BSTR *pbstrSourceLine);
    720 
    721     END_INTERFACE
    722 } IActiveScriptErrorVtbl;
    723 interface IActiveScriptError {
    724     CONST_VTBL IActiveScriptErrorVtbl* lpVtbl;
    725 };
    726 
    727 #ifdef COBJMACROS
    728 #ifndef WIDL_C_INLINE_WRAPPERS
    729 /*** IUnknown methods ***/
    730 #define IActiveScriptError_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    731 #define IActiveScriptError_AddRef(This) (This)->lpVtbl->AddRef(This)
    732 #define IActiveScriptError_Release(This) (This)->lpVtbl->Release(This)
    733 /*** IActiveScriptError methods ***/
    734 #define IActiveScriptError_GetExceptionInfo(This,pexcepinfo) (This)->lpVtbl->GetExceptionInfo(This,pexcepinfo)
    735 #define IActiveScriptError_GetSourcePosition(This,pdwSourceContext,pulLineNumber,plCharacterPosition) (This)->lpVtbl->GetSourcePosition(This,pdwSourceContext,pulLineNumber,plCharacterPosition)
    736 #define IActiveScriptError_GetSourceLineText(This,pbstrSourceLine) (This)->lpVtbl->GetSourceLineText(This,pbstrSourceLine)
    737 #else
    738 /*** IUnknown methods ***/
    739 static FORCEINLINE HRESULT IActiveScriptError_QueryInterface(IActiveScriptError* This,REFIID riid,void **ppvObject) {
    740     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
    741 }
    742 static FORCEINLINE ULONG IActiveScriptError_AddRef(IActiveScriptError* This) {
    743     return This->lpVtbl->AddRef(This);
    744 }
    745 static FORCEINLINE ULONG IActiveScriptError_Release(IActiveScriptError* This) {
    746     return This->lpVtbl->Release(This);
    747 }
    748 /*** IActiveScriptError methods ***/
    749 static FORCEINLINE HRESULT IActiveScriptError_GetExceptionInfo(IActiveScriptError* This,EXCEPINFO *pexcepinfo) {
    750     return This->lpVtbl->GetExceptionInfo(This,pexcepinfo);
    751 }
    752 static FORCEINLINE HRESULT IActiveScriptError_GetSourcePosition(IActiveScriptError* This,DWORD *pdwSourceContext,ULONG *pulLineNumber,LONG *plCharacterPosition) {
    753     return This->lpVtbl->GetSourcePosition(This,pdwSourceContext,pulLineNumber,plCharacterPosition);
    754 }
    755 static FORCEINLINE HRESULT IActiveScriptError_GetSourceLineText(IActiveScriptError* This,BSTR *pbstrSourceLine) {
    756     return This->lpVtbl->GetSourceLineText(This,pbstrSourceLine);
    757 }
    758 #endif
    759 #endif
    760 
    761 #endif
    762 
    763 HRESULT STDMETHODCALLTYPE IActiveScriptError_RemoteGetExceptionInfo_Proxy(
    764     IActiveScriptError* This,
    765     EXCEPINFO *pexcepinfo);
    766 void __RPC_STUB IActiveScriptError_RemoteGetExceptionInfo_Stub(
    767     IRpcStubBuffer* This,
    768     IRpcChannelBuffer* pRpcChannelBuffer,
    769     PRPC_MESSAGE pRpcMessage,
    770     DWORD* pdwStubPhase);
    771 HRESULT STDMETHODCALLTYPE IActiveScriptError_GetSourcePosition_Proxy(
    772     IActiveScriptError* This,
    773     DWORD *pdwSourceContext,
    774     ULONG *pulLineNumber,
    775     LONG *plCharacterPosition);
    776 void __RPC_STUB IActiveScriptError_GetSourcePosition_Stub(
    777     IRpcStubBuffer* This,
    778     IRpcChannelBuffer* pRpcChannelBuffer,
    779     PRPC_MESSAGE pRpcMessage,
    780     DWORD* pdwStubPhase);
    781 HRESULT STDMETHODCALLTYPE IActiveScriptError_GetSourceLineText_Proxy(
    782     IActiveScriptError* This,
    783     BSTR *pbstrSourceLine);
    784 void __RPC_STUB IActiveScriptError_GetSourceLineText_Stub(
    785     IRpcStubBuffer* This,
    786     IRpcChannelBuffer* pRpcChannelBuffer,
    787     PRPC_MESSAGE pRpcMessage,
    788     DWORD* pdwStubPhase);
    789 HRESULT CALLBACK IActiveScriptError_GetExceptionInfo_Proxy(
    790     IActiveScriptError* This,
    791     EXCEPINFO *pexcepinfo);
    792 HRESULT __RPC_STUB IActiveScriptError_GetExceptionInfo_Stub(
    793     IActiveScriptError* This,
    794     EXCEPINFO *pexcepinfo);
    795 
    796 #endif  /* __IActiveScriptError_INTERFACE_DEFINED__ */
    797 
    798 
    799 /*****************************************************************************
    800  * IActiveScriptError64 interface
    801  */
    802 #ifndef __IActiveScriptError64_INTERFACE_DEFINED__
    803 #define __IActiveScriptError64_INTERFACE_DEFINED__
    804 
    805 DEFINE_GUID(IID_IActiveScriptError64, 0xb21fb2a1, 0x5b8f, 0x4963, 0x8c,0x21, 0x21,0x45,0x0f,0x84,0xed,0x7f);
    806 #if defined(__cplusplus) && !defined(CINTERFACE)
    807 MIDL_INTERFACE("b21fb2a1-5b8f-4963-8c21-21450f84ed7f")
    808 IActiveScriptError64 : public IActiveScriptError
    809 {
    810     virtual HRESULT STDMETHODCALLTYPE GetSourcePosition64(
    811         DWORDLONG *pdwSourceContext,
    812         ULONG *pulLineNumber,
    813         LONG *plCharacterPosition) = 0;
    814 
    815 };
    816 #ifdef __CRT_UUID_DECL
    817 __CRT_UUID_DECL(IActiveScriptError64, 0xb21fb2a1, 0x5b8f, 0x4963, 0x8c,0x21, 0x21,0x45,0x0f,0x84,0xed,0x7f)
    818 #endif
    819 #else
    820 typedef struct IActiveScriptError64Vtbl {
    821     BEGIN_INTERFACE
    822 
    823     /*** IUnknown methods ***/
    824     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
    825         IActiveScriptError64* This,
    826         REFIID riid,
    827         void **ppvObject);
    828 
    829     ULONG (STDMETHODCALLTYPE *AddRef)(
    830         IActiveScriptError64* This);
    831 
    832     ULONG (STDMETHODCALLTYPE *Release)(
    833         IActiveScriptError64* This);
    834 
    835     /*** IActiveScriptError methods ***/
    836     HRESULT (STDMETHODCALLTYPE *GetExceptionInfo)(
    837         IActiveScriptError64* This,
    838         EXCEPINFO *pexcepinfo);
    839 
    840     HRESULT (STDMETHODCALLTYPE *GetSourcePosition)(
    841         IActiveScriptError64* This,
    842         DWORD *pdwSourceContext,
    843         ULONG *pulLineNumber,
    844         LONG *plCharacterPosition);
    845 
    846     HRESULT (STDMETHODCALLTYPE *GetSourceLineText)(
    847         IActiveScriptError64* This,
    848         BSTR *pbstrSourceLine);
    849 
    850     /*** IActiveScriptError64 methods ***/
    851     HRESULT (STDMETHODCALLTYPE *GetSourcePosition64)(
    852         IActiveScriptError64* This,
    853         DWORDLONG *pdwSourceContext,
    854         ULONG *pulLineNumber,
    855         LONG *plCharacterPosition);
    856 
    857     END_INTERFACE
    858 } IActiveScriptError64Vtbl;
    859 interface IActiveScriptError64 {
    860     CONST_VTBL IActiveScriptError64Vtbl* lpVtbl;
    861 };
    862 
    863 #ifdef COBJMACROS
    864 #ifndef WIDL_C_INLINE_WRAPPERS
    865 /*** IUnknown methods ***/
    866 #define IActiveScriptError64_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    867 #define IActiveScriptError64_AddRef(This) (This)->lpVtbl->AddRef(This)
    868 #define IActiveScriptError64_Release(This) (This)->lpVtbl->Release(This)
    869 /*** IActiveScriptError methods ***/
    870 #define IActiveScriptError64_GetExceptionInfo(This,pexcepinfo) (This)->lpVtbl->GetExceptionInfo(This,pexcepinfo)
    871 #define IActiveScriptError64_GetSourcePosition(This,pdwSourceContext,pulLineNumber,plCharacterPosition) (This)->lpVtbl->GetSourcePosition(This,pdwSourceContext,pulLineNumber,plCharacterPosition)
    872 #define IActiveScriptError64_GetSourceLineText(This,pbstrSourceLine) (This)->lpVtbl->GetSourceLineText(This,pbstrSourceLine)
    873 /*** IActiveScriptError64 methods ***/
    874 #define IActiveScriptError64_GetSourcePosition64(This,pdwSourceContext,pulLineNumber,plCharacterPosition) (This)->lpVtbl->GetSourcePosition64(This,pdwSourceContext,pulLineNumber,plCharacterPosition)
    875 #else
    876 /*** IUnknown methods ***/
    877 static FORCEINLINE HRESULT IActiveScriptError64_QueryInterface(IActiveScriptError64* This,REFIID riid,void **ppvObject) {
    878     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
    879 }
    880 static FORCEINLINE ULONG IActiveScriptError64_AddRef(IActiveScriptError64* This) {
    881     return This->lpVtbl->AddRef(This);
    882 }
    883 static FORCEINLINE ULONG IActiveScriptError64_Release(IActiveScriptError64* This) {
    884     return This->lpVtbl->Release(This);
    885 }
    886 /*** IActiveScriptError methods ***/
    887 static FORCEINLINE HRESULT IActiveScriptError64_GetExceptionInfo(IActiveScriptError64* This,EXCEPINFO *pexcepinfo) {
    888     return This->lpVtbl->GetExceptionInfo(This,pexcepinfo);
    889 }
    890 static FORCEINLINE HRESULT IActiveScriptError64_GetSourcePosition(IActiveScriptError64* This,DWORD *pdwSourceContext,ULONG *pulLineNumber,LONG *plCharacterPosition) {
    891     return This->lpVtbl->GetSourcePosition(This,pdwSourceContext,pulLineNumber,plCharacterPosition);
    892 }
    893 static FORCEINLINE HRESULT IActiveScriptError64_GetSourceLineText(IActiveScriptError64* This,BSTR *pbstrSourceLine) {
    894     return This->lpVtbl->GetSourceLineText(This,pbstrSourceLine);
    895 }
    896 /*** IActiveScriptError64 methods ***/
    897 static FORCEINLINE HRESULT IActiveScriptError64_GetSourcePosition64(IActiveScriptError64* This,DWORDLONG *pdwSourceContext,ULONG *pulLineNumber,LONG *plCharacterPosition) {
    898     return This->lpVtbl->GetSourcePosition64(This,pdwSourceContext,pulLineNumber,plCharacterPosition);
    899 }
    900 #endif
    901 #endif
    902 
    903 #endif
    904 
    905 HRESULT STDMETHODCALLTYPE IActiveScriptError64_GetSourcePosition64_Proxy(
    906     IActiveScriptError64* This,
    907     DWORDLONG *pdwSourceContext,
    908     ULONG *pulLineNumber,
    909     LONG *plCharacterPosition);
    910 void __RPC_STUB IActiveScriptError64_GetSourcePosition64_Stub(
    911     IRpcStubBuffer* This,
    912     IRpcChannelBuffer* pRpcChannelBuffer,
    913     PRPC_MESSAGE pRpcMessage,
    914     DWORD* pdwStubPhase);
    915 
    916 #endif  /* __IActiveScriptError64_INTERFACE_DEFINED__ */
    917 
    918 /*****************************************************************************
    919  * IActiveScriptSiteWindow interface
    920  */
    921 #ifndef __IActiveScriptSiteWindow_INTERFACE_DEFINED__
    922 #define __IActiveScriptSiteWindow_INTERFACE_DEFINED__
    923 
    924 DEFINE_GUID(IID_IActiveScriptSiteWindow, 0xd10f6761, 0x83e9, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64);
    925 #if defined(__cplusplus) && !defined(CINTERFACE)
    926 MIDL_INTERFACE("d10f6761-83e9-11cf-8f20-00805f2cd064")
    927 IActiveScriptSiteWindow : public IUnknown
    928 {
    929     virtual HRESULT STDMETHODCALLTYPE GetWindow(
    930         HWND *phwnd) = 0;
    931 
    932     virtual HRESULT STDMETHODCALLTYPE EnableModeless(
    933         WINBOOL fEnable) = 0;
    934 
    935 };
    936 #ifdef __CRT_UUID_DECL
    937 __CRT_UUID_DECL(IActiveScriptSiteWindow, 0xd10f6761, 0x83e9, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64)
    938 #endif
    939 #else
    940 typedef struct IActiveScriptSiteWindowVtbl {
    941     BEGIN_INTERFACE
    942 
    943     /*** IUnknown methods ***/
    944     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
    945         IActiveScriptSiteWindow* This,
    946         REFIID riid,
    947         void **ppvObject);
    948 
    949     ULONG (STDMETHODCALLTYPE *AddRef)(
    950         IActiveScriptSiteWindow* This);
    951 
    952     ULONG (STDMETHODCALLTYPE *Release)(
    953         IActiveScriptSiteWindow* This);
    954 
    955     /*** IActiveScriptSiteWindow methods ***/
    956     HRESULT (STDMETHODCALLTYPE *GetWindow)(
    957         IActiveScriptSiteWindow* This,
    958         HWND *phwnd);
    959 
    960     HRESULT (STDMETHODCALLTYPE *EnableModeless)(
    961         IActiveScriptSiteWindow* This,
    962         WINBOOL fEnable);
    963 
    964     END_INTERFACE
    965 } IActiveScriptSiteWindowVtbl;
    966 interface IActiveScriptSiteWindow {
    967     CONST_VTBL IActiveScriptSiteWindowVtbl* lpVtbl;
    968 };
    969 
    970 #ifdef COBJMACROS
    971 #ifndef WIDL_C_INLINE_WRAPPERS
    972 /*** IUnknown methods ***/
    973 #define IActiveScriptSiteWindow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    974 #define IActiveScriptSiteWindow_AddRef(This) (This)->lpVtbl->AddRef(This)
    975 #define IActiveScriptSiteWindow_Release(This) (This)->lpVtbl->Release(This)
    976 /*** IActiveScriptSiteWindow methods ***/
    977 #define IActiveScriptSiteWindow_GetWindow(This,phwnd) (This)->lpVtbl->GetWindow(This,phwnd)
    978 #define IActiveScriptSiteWindow_EnableModeless(This,fEnable) (This)->lpVtbl->EnableModeless(This,fEnable)
    979 #else
    980 /*** IUnknown methods ***/
    981 static FORCEINLINE HRESULT IActiveScriptSiteWindow_QueryInterface(IActiveScriptSiteWindow* This,REFIID riid,void **ppvObject) {
    982     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
    983 }
    984 static FORCEINLINE ULONG IActiveScriptSiteWindow_AddRef(IActiveScriptSiteWindow* This) {
    985     return This->lpVtbl->AddRef(This);
    986 }
    987 static FORCEINLINE ULONG IActiveScriptSiteWindow_Release(IActiveScriptSiteWindow* This) {
    988     return This->lpVtbl->Release(This);
    989 }
    990 /*** IActiveScriptSiteWindow methods ***/
    991 static FORCEINLINE HRESULT IActiveScriptSiteWindow_GetWindow(IActiveScriptSiteWindow* This,HWND *phwnd) {
    992     return This->lpVtbl->GetWindow(This,phwnd);
    993 }
    994 static FORCEINLINE HRESULT IActiveScriptSiteWindow_EnableModeless(IActiveScriptSiteWindow* This,WINBOOL fEnable) {
    995     return This->lpVtbl->EnableModeless(This,fEnable);
    996 }
    997 #endif
    998 #endif
    999 
   1000 #endif
   1001 
   1002 HRESULT STDMETHODCALLTYPE IActiveScriptSiteWindow_GetWindow_Proxy(
   1003     IActiveScriptSiteWindow* This,
   1004     HWND *phwnd);
   1005 void __RPC_STUB IActiveScriptSiteWindow_GetWindow_Stub(
   1006     IRpcStubBuffer* This,
   1007     IRpcChannelBuffer* pRpcChannelBuffer,
   1008     PRPC_MESSAGE pRpcMessage,
   1009     DWORD* pdwStubPhase);
   1010 HRESULT STDMETHODCALLTYPE IActiveScriptSiteWindow_EnableModeless_Proxy(
   1011     IActiveScriptSiteWindow* This,
   1012     WINBOOL fEnable);
   1013 void __RPC_STUB IActiveScriptSiteWindow_EnableModeless_Stub(
   1014     IRpcStubBuffer* This,
   1015     IRpcChannelBuffer* pRpcChannelBuffer,
   1016     PRPC_MESSAGE pRpcMessage,
   1017     DWORD* pdwStubPhase);
   1018 
   1019 #endif  /* __IActiveScriptSiteWindow_INTERFACE_DEFINED__ */
   1020 
   1021 
   1022 /*****************************************************************************
   1023  * IActiveScriptSiteUIControl interface
   1024  */
   1025 #ifndef __IActiveScriptSiteUIControl_INTERFACE_DEFINED__
   1026 #define __IActiveScriptSiteUIControl_INTERFACE_DEFINED__
   1027 
   1028 DEFINE_GUID(IID_IActiveScriptSiteUIControl, 0xaedae97e, 0xd7ee, 0x4796, 0xb9,0x60, 0x7f,0x09,0x2a,0xe8,0x44,0xab);
   1029 #if defined(__cplusplus) && !defined(CINTERFACE)
   1030 MIDL_INTERFACE("aedae97e-d7ee-4796-b960-7f092ae844ab")
   1031 IActiveScriptSiteUIControl : public IUnknown
   1032 {
   1033     virtual HRESULT STDMETHODCALLTYPE GetUIBehavior(
   1034         SCRIPTUICITEM UicItem,
   1035         SCRIPTUICHANDLING *pUicHandling) = 0;
   1036 
   1037 };
   1038 #ifdef __CRT_UUID_DECL
   1039 __CRT_UUID_DECL(IActiveScriptSiteUIControl, 0xaedae97e, 0xd7ee, 0x4796, 0xb9,0x60, 0x7f,0x09,0x2a,0xe8,0x44,0xab)
   1040 #endif
   1041 #else
   1042 typedef struct IActiveScriptSiteUIControlVtbl {
   1043     BEGIN_INTERFACE
   1044 
   1045     /*** IUnknown methods ***/
   1046     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1047         IActiveScriptSiteUIControl* This,
   1048         REFIID riid,
   1049         void **ppvObject);
   1050 
   1051     ULONG (STDMETHODCALLTYPE *AddRef)(
   1052         IActiveScriptSiteUIControl* This);
   1053 
   1054     ULONG (STDMETHODCALLTYPE *Release)(
   1055         IActiveScriptSiteUIControl* This);
   1056 
   1057     /*** IActiveScriptSiteUIControl methods ***/
   1058     HRESULT (STDMETHODCALLTYPE *GetUIBehavior)(
   1059         IActiveScriptSiteUIControl* This,
   1060         SCRIPTUICITEM UicItem,
   1061         SCRIPTUICHANDLING *pUicHandling);
   1062 
   1063     END_INTERFACE
   1064 } IActiveScriptSiteUIControlVtbl;
   1065 interface IActiveScriptSiteUIControl {
   1066     CONST_VTBL IActiveScriptSiteUIControlVtbl* lpVtbl;
   1067 };
   1068 
   1069 #ifdef COBJMACROS
   1070 #ifndef WIDL_C_INLINE_WRAPPERS
   1071 /*** IUnknown methods ***/
   1072 #define IActiveScriptSiteUIControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1073 #define IActiveScriptSiteUIControl_AddRef(This) (This)->lpVtbl->AddRef(This)
   1074 #define IActiveScriptSiteUIControl_Release(This) (This)->lpVtbl->Release(This)
   1075 /*** IActiveScriptSiteUIControl methods ***/
   1076 #define IActiveScriptSiteUIControl_GetUIBehavior(This,UicItem,pUicHandling) (This)->lpVtbl->GetUIBehavior(This,UicItem,pUicHandling)
   1077 #else
   1078 /*** IUnknown methods ***/
   1079 static FORCEINLINE HRESULT IActiveScriptSiteUIControl_QueryInterface(IActiveScriptSiteUIControl* This,REFIID riid,void **ppvObject) {
   1080     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   1081 }
   1082 static FORCEINLINE ULONG IActiveScriptSiteUIControl_AddRef(IActiveScriptSiteUIControl* This) {
   1083     return This->lpVtbl->AddRef(This);
   1084 }
   1085 static FORCEINLINE ULONG IActiveScriptSiteUIControl_Release(IActiveScriptSiteUIControl* This) {
   1086     return This->lpVtbl->Release(This);
   1087 }
   1088 /*** IActiveScriptSiteUIControl methods ***/
   1089 static FORCEINLINE HRESULT IActiveScriptSiteUIControl_GetUIBehavior(IActiveScriptSiteUIControl* This,SCRIPTUICITEM UicItem,SCRIPTUICHANDLING *pUicHandling) {
   1090     return This->lpVtbl->GetUIBehavior(This,UicItem,pUicHandling);
   1091 }
   1092 #endif
   1093 #endif
   1094 
   1095 #endif
   1096 
   1097 HRESULT STDMETHODCALLTYPE IActiveScriptSiteUIControl_GetUIBehavior_Proxy(
   1098     IActiveScriptSiteUIControl* This,
   1099     SCRIPTUICITEM UicItem,
   1100     SCRIPTUICHANDLING *pUicHandling);
   1101 void __RPC_STUB IActiveScriptSiteUIControl_GetUIBehavior_Stub(
   1102     IRpcStubBuffer* This,
   1103     IRpcChannelBuffer* pRpcChannelBuffer,
   1104     PRPC_MESSAGE pRpcMessage,
   1105     DWORD* pdwStubPhase);
   1106 
   1107 #endif  /* __IActiveScriptSiteUIControl_INTERFACE_DEFINED__ */
   1108 
   1109 
   1110 /*****************************************************************************
   1111  * IActiveScriptSiteInterruptPoll interface
   1112  */
   1113 #ifndef __IActiveScriptSiteInterruptPoll_INTERFACE_DEFINED__
   1114 #define __IActiveScriptSiteInterruptPoll_INTERFACE_DEFINED__
   1115 
   1116 DEFINE_GUID(IID_IActiveScriptSiteInterruptPoll, 0x539698a0, 0xcdca, 0x11cf, 0xa5,0xeb, 0x00,0xaa,0x00,0x47,0xa0,0x63);
   1117 #if defined(__cplusplus) && !defined(CINTERFACE)
   1118 MIDL_INTERFACE("539698a0-cdca-11cf-a5eb-00aa0047a063")
   1119 IActiveScriptSiteInterruptPoll : public IUnknown
   1120 {
   1121     virtual HRESULT STDMETHODCALLTYPE QueryContinue(
   1122         ) = 0;
   1123 
   1124 };
   1125 #ifdef __CRT_UUID_DECL
   1126 __CRT_UUID_DECL(IActiveScriptSiteInterruptPoll, 0x539698a0, 0xcdca, 0x11cf, 0xa5,0xeb, 0x00,0xaa,0x00,0x47,0xa0,0x63)
   1127 #endif
   1128 #else
   1129 typedef struct IActiveScriptSiteInterruptPollVtbl {
   1130     BEGIN_INTERFACE
   1131 
   1132     /*** IUnknown methods ***/
   1133     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1134         IActiveScriptSiteInterruptPoll* This,
   1135         REFIID riid,
   1136         void **ppvObject);
   1137 
   1138     ULONG (STDMETHODCALLTYPE *AddRef)(
   1139         IActiveScriptSiteInterruptPoll* This);
   1140 
   1141     ULONG (STDMETHODCALLTYPE *Release)(
   1142         IActiveScriptSiteInterruptPoll* This);
   1143 
   1144     /*** IActiveScriptSiteInterruptPoll methods ***/
   1145     HRESULT (STDMETHODCALLTYPE *QueryContinue)(
   1146         IActiveScriptSiteInterruptPoll* This);
   1147 
   1148     END_INTERFACE
   1149 } IActiveScriptSiteInterruptPollVtbl;
   1150 interface IActiveScriptSiteInterruptPoll {
   1151     CONST_VTBL IActiveScriptSiteInterruptPollVtbl* lpVtbl;
   1152 };
   1153 
   1154 #ifdef COBJMACROS
   1155 #ifndef WIDL_C_INLINE_WRAPPERS
   1156 /*** IUnknown methods ***/
   1157 #define IActiveScriptSiteInterruptPoll_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1158 #define IActiveScriptSiteInterruptPoll_AddRef(This) (This)->lpVtbl->AddRef(This)
   1159 #define IActiveScriptSiteInterruptPoll_Release(This) (This)->lpVtbl->Release(This)
   1160 /*** IActiveScriptSiteInterruptPoll methods ***/
   1161 #define IActiveScriptSiteInterruptPoll_QueryContinue(This) (This)->lpVtbl->QueryContinue(This)
   1162 #else
   1163 /*** IUnknown methods ***/
   1164 static FORCEINLINE HRESULT IActiveScriptSiteInterruptPoll_QueryInterface(IActiveScriptSiteInterruptPoll* This,REFIID riid,void **ppvObject) {
   1165     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   1166 }
   1167 static FORCEINLINE ULONG IActiveScriptSiteInterruptPoll_AddRef(IActiveScriptSiteInterruptPoll* This) {
   1168     return This->lpVtbl->AddRef(This);
   1169 }
   1170 static FORCEINLINE ULONG IActiveScriptSiteInterruptPoll_Release(IActiveScriptSiteInterruptPoll* This) {
   1171     return This->lpVtbl->Release(This);
   1172 }
   1173 /*** IActiveScriptSiteInterruptPoll methods ***/
   1174 static FORCEINLINE HRESULT IActiveScriptSiteInterruptPoll_QueryContinue(IActiveScriptSiteInterruptPoll* This) {
   1175     return This->lpVtbl->QueryContinue(This);
   1176 }
   1177 #endif
   1178 #endif
   1179 
   1180 #endif
   1181 
   1182 HRESULT STDMETHODCALLTYPE IActiveScriptSiteInterruptPoll_QueryContinue_Proxy(
   1183     IActiveScriptSiteInterruptPoll* This);
   1184 void __RPC_STUB IActiveScriptSiteInterruptPoll_QueryContinue_Stub(
   1185     IRpcStubBuffer* This,
   1186     IRpcChannelBuffer* pRpcChannelBuffer,
   1187     PRPC_MESSAGE pRpcMessage,
   1188     DWORD* pdwStubPhase);
   1189 
   1190 #endif  /* __IActiveScriptSiteInterruptPoll_INTERFACE_DEFINED__ */
   1191 
   1192 
   1193 /*****************************************************************************
   1194  * IActiveScript interface
   1195  */
   1196 #ifndef __IActiveScript_INTERFACE_DEFINED__
   1197 #define __IActiveScript_INTERFACE_DEFINED__
   1198 
   1199 DEFINE_GUID(IID_IActiveScript, 0xbb1a2ae1, 0xa4f9, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64);
   1200 #if defined(__cplusplus) && !defined(CINTERFACE)
   1201 MIDL_INTERFACE("bb1a2ae1-a4f9-11cf-8f20-00805f2cd064")
   1202 IActiveScript : public IUnknown
   1203 {
   1204     virtual HRESULT STDMETHODCALLTYPE SetScriptSite(
   1205         IActiveScriptSite *pass) = 0;
   1206 
   1207     virtual HRESULT STDMETHODCALLTYPE GetScriptSite(
   1208         REFIID riid,
   1209         void **ppvObject) = 0;
   1210 
   1211     virtual HRESULT STDMETHODCALLTYPE SetScriptState(
   1212         SCRIPTSTATE ss) = 0;
   1213 
   1214     virtual HRESULT STDMETHODCALLTYPE GetScriptState(
   1215         SCRIPTSTATE *pssState) = 0;
   1216 
   1217     virtual HRESULT STDMETHODCALLTYPE Close(
   1218         ) = 0;
   1219 
   1220     virtual HRESULT STDMETHODCALLTYPE AddNamedItem(
   1221         LPCOLESTR pstrName,
   1222         DWORD dwFlags) = 0;
   1223 
   1224     virtual HRESULT STDMETHODCALLTYPE AddTypeLib(
   1225         REFGUID rguidTypeLib,
   1226         DWORD dwMajor,
   1227         DWORD dwMinor,
   1228         DWORD dwFlags) = 0;
   1229 
   1230     virtual HRESULT STDMETHODCALLTYPE GetScriptDispatch(
   1231         LPCOLESTR pstrItemName,
   1232         IDispatch **ppdisp) = 0;
   1233 
   1234     virtual HRESULT STDMETHODCALLTYPE GetCurrentScriptThreadID(
   1235         SCRIPTTHREADID *pstidThread) = 0;
   1236 
   1237     virtual HRESULT STDMETHODCALLTYPE GetScriptThreadID(
   1238         DWORD dwWin32ThreadId,
   1239         SCRIPTTHREADID *pstidThread) = 0;
   1240 
   1241     virtual HRESULT STDMETHODCALLTYPE GetScriptThreadState(
   1242         SCRIPTTHREADID stidThread,
   1243         SCRIPTTHREADSTATE *pstsState) = 0;
   1244 
   1245     virtual HRESULT STDMETHODCALLTYPE InterruptScriptThread(
   1246         SCRIPTTHREADID stidThread,
   1247         const EXCEPINFO *pexcepinfo,
   1248         DWORD dwFlags) = 0;
   1249 
   1250     virtual HRESULT STDMETHODCALLTYPE Clone(
   1251         IActiveScript **ppscript) = 0;
   1252 
   1253 };
   1254 #ifdef __CRT_UUID_DECL
   1255 __CRT_UUID_DECL(IActiveScript, 0xbb1a2ae1, 0xa4f9, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64)
   1256 #endif
   1257 #else
   1258 typedef struct IActiveScriptVtbl {
   1259     BEGIN_INTERFACE
   1260 
   1261     /*** IUnknown methods ***/
   1262     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1263         IActiveScript* This,
   1264         REFIID riid,
   1265         void **ppvObject);
   1266 
   1267     ULONG (STDMETHODCALLTYPE *AddRef)(
   1268         IActiveScript* This);
   1269 
   1270     ULONG (STDMETHODCALLTYPE *Release)(
   1271         IActiveScript* This);
   1272 
   1273     /*** IActiveScript methods ***/
   1274     HRESULT (STDMETHODCALLTYPE *SetScriptSite)(
   1275         IActiveScript* This,
   1276         IActiveScriptSite *pass);
   1277 
   1278     HRESULT (STDMETHODCALLTYPE *GetScriptSite)(
   1279         IActiveScript* This,
   1280         REFIID riid,
   1281         void **ppvObject);
   1282 
   1283     HRESULT (STDMETHODCALLTYPE *SetScriptState)(
   1284         IActiveScript* This,
   1285         SCRIPTSTATE ss);
   1286 
   1287     HRESULT (STDMETHODCALLTYPE *GetScriptState)(
   1288         IActiveScript* This,
   1289         SCRIPTSTATE *pssState);
   1290 
   1291     HRESULT (STDMETHODCALLTYPE *Close)(
   1292         IActiveScript* This);
   1293 
   1294     HRESULT (STDMETHODCALLTYPE *AddNamedItem)(
   1295         IActiveScript* This,
   1296         LPCOLESTR pstrName,
   1297         DWORD dwFlags);
   1298 
   1299     HRESULT (STDMETHODCALLTYPE *AddTypeLib)(
   1300         IActiveScript* This,
   1301         REFGUID rguidTypeLib,
   1302         DWORD dwMajor,
   1303         DWORD dwMinor,
   1304         DWORD dwFlags);
   1305 
   1306     HRESULT (STDMETHODCALLTYPE *GetScriptDispatch)(
   1307         IActiveScript* This,
   1308         LPCOLESTR pstrItemName,
   1309         IDispatch **ppdisp);
   1310 
   1311     HRESULT (STDMETHODCALLTYPE *GetCurrentScriptThreadID)(
   1312         IActiveScript* This,
   1313         SCRIPTTHREADID *pstidThread);
   1314 
   1315     HRESULT (STDMETHODCALLTYPE *GetScriptThreadID)(
   1316         IActiveScript* This,
   1317         DWORD dwWin32ThreadId,
   1318         SCRIPTTHREADID *pstidThread);
   1319 
   1320     HRESULT (STDMETHODCALLTYPE *GetScriptThreadState)(
   1321         IActiveScript* This,
   1322         SCRIPTTHREADID stidThread,
   1323         SCRIPTTHREADSTATE *pstsState);
   1324 
   1325     HRESULT (STDMETHODCALLTYPE *InterruptScriptThread)(
   1326         IActiveScript* This,
   1327         SCRIPTTHREADID stidThread,
   1328         const EXCEPINFO *pexcepinfo,
   1329         DWORD dwFlags);
   1330 
   1331     HRESULT (STDMETHODCALLTYPE *Clone)(
   1332         IActiveScript* This,
   1333         IActiveScript **ppscript);
   1334 
   1335     END_INTERFACE
   1336 } IActiveScriptVtbl;
   1337 interface IActiveScript {
   1338     CONST_VTBL IActiveScriptVtbl* lpVtbl;
   1339 };
   1340 
   1341 #ifdef COBJMACROS
   1342 #ifndef WIDL_C_INLINE_WRAPPERS
   1343 /*** IUnknown methods ***/
   1344 #define IActiveScript_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1345 #define IActiveScript_AddRef(This) (This)->lpVtbl->AddRef(This)
   1346 #define IActiveScript_Release(This) (This)->lpVtbl->Release(This)
   1347 /*** IActiveScript methods ***/
   1348 #define IActiveScript_SetScriptSite(This,pass) (This)->lpVtbl->SetScriptSite(This,pass)
   1349 #define IActiveScript_GetScriptSite(This,riid,ppvObject) (This)->lpVtbl->GetScriptSite(This,riid,ppvObject)
   1350 #define IActiveScript_SetScriptState(This,ss) (This)->lpVtbl->SetScriptState(This,ss)
   1351 #define IActiveScript_GetScriptState(This,pssState) (This)->lpVtbl->GetScriptState(This,pssState)
   1352 #define IActiveScript_Close(This) (This)->lpVtbl->Close(This)
   1353 #define IActiveScript_AddNamedItem(This,pstrName,dwFlags) (This)->lpVtbl->AddNamedItem(This,pstrName,dwFlags)
   1354 #define IActiveScript_AddTypeLib(This,rguidTypeLib,dwMajor,dwMinor,dwFlags) (This)->lpVtbl->AddTypeLib(This,rguidTypeLib,dwMajor,dwMinor,dwFlags)
   1355 #define IActiveScript_GetScriptDispatch(This,pstrItemName,ppdisp) (This)->lpVtbl->GetScriptDispatch(This,pstrItemName,ppdisp)
   1356 #define IActiveScript_GetCurrentScriptThreadID(This,pstidThread) (This)->lpVtbl->GetCurrentScriptThreadID(This,pstidThread)
   1357 #define IActiveScript_GetScriptThreadID(This,dwWin32ThreadId,pstidThread) (This)->lpVtbl->GetScriptThreadID(This,dwWin32ThreadId,pstidThread)
   1358 #define IActiveScript_GetScriptThreadState(This,stidThread,pstsState) (This)->lpVtbl->GetScriptThreadState(This,stidThread,pstsState)
   1359 #define IActiveScript_InterruptScriptThread(This,stidThread,pexcepinfo,dwFlags) (This)->lpVtbl->InterruptScriptThread(This,stidThread,pexcepinfo,dwFlags)
   1360 #define IActiveScript_Clone(This,ppscript) (This)->lpVtbl->Clone(This,ppscript)
   1361 #else
   1362 /*** IUnknown methods ***/
   1363 static FORCEINLINE HRESULT IActiveScript_QueryInterface(IActiveScript* This,REFIID riid,void **ppvObject) {
   1364     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   1365 }
   1366 static FORCEINLINE ULONG IActiveScript_AddRef(IActiveScript* This) {
   1367     return This->lpVtbl->AddRef(This);
   1368 }
   1369 static FORCEINLINE ULONG IActiveScript_Release(IActiveScript* This) {
   1370     return This->lpVtbl->Release(This);
   1371 }
   1372 /*** IActiveScript methods ***/
   1373 static FORCEINLINE HRESULT IActiveScript_SetScriptSite(IActiveScript* This,IActiveScriptSite *pass) {
   1374     return This->lpVtbl->SetScriptSite(This,pass);
   1375 }
   1376 static FORCEINLINE HRESULT IActiveScript_GetScriptSite(IActiveScript* This,REFIID riid,void **ppvObject) {
   1377     return This->lpVtbl->GetScriptSite(This,riid,ppvObject);
   1378 }
   1379 static FORCEINLINE HRESULT IActiveScript_SetScriptState(IActiveScript* This,SCRIPTSTATE ss) {
   1380     return This->lpVtbl->SetScriptState(This,ss);
   1381 }
   1382 static FORCEINLINE HRESULT IActiveScript_GetScriptState(IActiveScript* This,SCRIPTSTATE *pssState) {
   1383     return This->lpVtbl->GetScriptState(This,pssState);
   1384 }
   1385 static FORCEINLINE HRESULT IActiveScript_Close(IActiveScript* This) {
   1386     return This->lpVtbl->Close(This);
   1387 }
   1388 static FORCEINLINE HRESULT IActiveScript_AddNamedItem(IActiveScript* This,LPCOLESTR pstrName,DWORD dwFlags) {
   1389     return This->lpVtbl->AddNamedItem(This,pstrName,dwFlags);
   1390 }
   1391 static FORCEINLINE HRESULT IActiveScript_AddTypeLib(IActiveScript* This,REFGUID rguidTypeLib,DWORD dwMajor,DWORD dwMinor,DWORD dwFlags) {
   1392     return This->lpVtbl->AddTypeLib(This,rguidTypeLib,dwMajor,dwMinor,dwFlags);
   1393 }
   1394 static FORCEINLINE HRESULT IActiveScript_GetScriptDispatch(IActiveScript* This,LPCOLESTR pstrItemName,IDispatch **ppdisp) {
   1395     return This->lpVtbl->GetScriptDispatch(This,pstrItemName,ppdisp);
   1396 }
   1397 static FORCEINLINE HRESULT IActiveScript_GetCurrentScriptThreadID(IActiveScript* This,SCRIPTTHREADID *pstidThread) {
   1398     return This->lpVtbl->GetCurrentScriptThreadID(This,pstidThread);
   1399 }
   1400 static FORCEINLINE HRESULT IActiveScript_GetScriptThreadID(IActiveScript* This,DWORD dwWin32ThreadId,SCRIPTTHREADID *pstidThread) {
   1401     return This->lpVtbl->GetScriptThreadID(This,dwWin32ThreadId,pstidThread);
   1402 }
   1403 static FORCEINLINE HRESULT IActiveScript_GetScriptThreadState(IActiveScript* This,SCRIPTTHREADID stidThread,SCRIPTTHREADSTATE *pstsState) {
   1404     return This->lpVtbl->GetScriptThreadState(This,stidThread,pstsState);
   1405 }
   1406 static FORCEINLINE HRESULT IActiveScript_InterruptScriptThread(IActiveScript* This,SCRIPTTHREADID stidThread,const EXCEPINFO *pexcepinfo,DWORD dwFlags) {
   1407     return This->lpVtbl->InterruptScriptThread(This,stidThread,pexcepinfo,dwFlags);
   1408 }
   1409 static FORCEINLINE HRESULT IActiveScript_Clone(IActiveScript* This,IActiveScript **ppscript) {
   1410     return This->lpVtbl->Clone(This,ppscript);
   1411 }
   1412 #endif
   1413 #endif
   1414 
   1415 #endif
   1416 
   1417 HRESULT STDMETHODCALLTYPE IActiveScript_SetScriptSite_Proxy(
   1418     IActiveScript* This,
   1419     IActiveScriptSite *pass);
   1420 void __RPC_STUB IActiveScript_SetScriptSite_Stub(
   1421     IRpcStubBuffer* This,
   1422     IRpcChannelBuffer* pRpcChannelBuffer,
   1423     PRPC_MESSAGE pRpcMessage,
   1424     DWORD* pdwStubPhase);
   1425 HRESULT STDMETHODCALLTYPE IActiveScript_GetScriptSite_Proxy(
   1426     IActiveScript* This,
   1427     REFIID riid,
   1428     void **ppvObject);
   1429 void __RPC_STUB IActiveScript_GetScriptSite_Stub(
   1430     IRpcStubBuffer* This,
   1431     IRpcChannelBuffer* pRpcChannelBuffer,
   1432     PRPC_MESSAGE pRpcMessage,
   1433     DWORD* pdwStubPhase);
   1434 HRESULT STDMETHODCALLTYPE IActiveScript_SetScriptState_Proxy(
   1435     IActiveScript* This,
   1436     SCRIPTSTATE ss);
   1437 void __RPC_STUB IActiveScript_SetScriptState_Stub(
   1438     IRpcStubBuffer* This,
   1439     IRpcChannelBuffer* pRpcChannelBuffer,
   1440     PRPC_MESSAGE pRpcMessage,
   1441     DWORD* pdwStubPhase);
   1442 HRESULT STDMETHODCALLTYPE IActiveScript_GetScriptState_Proxy(
   1443     IActiveScript* This,
   1444     SCRIPTSTATE *pssState);
   1445 void __RPC_STUB IActiveScript_GetScriptState_Stub(
   1446     IRpcStubBuffer* This,
   1447     IRpcChannelBuffer* pRpcChannelBuffer,
   1448     PRPC_MESSAGE pRpcMessage,
   1449     DWORD* pdwStubPhase);
   1450 HRESULT STDMETHODCALLTYPE IActiveScript_Close_Proxy(
   1451     IActiveScript* This);
   1452 void __RPC_STUB IActiveScript_Close_Stub(
   1453     IRpcStubBuffer* This,
   1454     IRpcChannelBuffer* pRpcChannelBuffer,
   1455     PRPC_MESSAGE pRpcMessage,
   1456     DWORD* pdwStubPhase);
   1457 HRESULT STDMETHODCALLTYPE IActiveScript_AddNamedItem_Proxy(
   1458     IActiveScript* This,
   1459     LPCOLESTR pstrName,
   1460     DWORD dwFlags);
   1461 void __RPC_STUB IActiveScript_AddNamedItem_Stub(
   1462     IRpcStubBuffer* This,
   1463     IRpcChannelBuffer* pRpcChannelBuffer,
   1464     PRPC_MESSAGE pRpcMessage,
   1465     DWORD* pdwStubPhase);
   1466 HRESULT STDMETHODCALLTYPE IActiveScript_AddTypeLib_Proxy(
   1467     IActiveScript* This,
   1468     REFGUID rguidTypeLib,
   1469     DWORD dwMajor,
   1470     DWORD dwMinor,
   1471     DWORD dwFlags);
   1472 void __RPC_STUB IActiveScript_AddTypeLib_Stub(
   1473     IRpcStubBuffer* This,
   1474     IRpcChannelBuffer* pRpcChannelBuffer,
   1475     PRPC_MESSAGE pRpcMessage,
   1476     DWORD* pdwStubPhase);
   1477 HRESULT STDMETHODCALLTYPE IActiveScript_GetScriptDispatch_Proxy(
   1478     IActiveScript* This,
   1479     LPCOLESTR pstrItemName,
   1480     IDispatch **ppdisp);
   1481 void __RPC_STUB IActiveScript_GetScriptDispatch_Stub(
   1482     IRpcStubBuffer* This,
   1483     IRpcChannelBuffer* pRpcChannelBuffer,
   1484     PRPC_MESSAGE pRpcMessage,
   1485     DWORD* pdwStubPhase);
   1486 HRESULT STDMETHODCALLTYPE IActiveScript_GetCurrentScriptThreadID_Proxy(
   1487     IActiveScript* This,
   1488     SCRIPTTHREADID *pstidThread);
   1489 void __RPC_STUB IActiveScript_GetCurrentScriptThreadID_Stub(
   1490     IRpcStubBuffer* This,
   1491     IRpcChannelBuffer* pRpcChannelBuffer,
   1492     PRPC_MESSAGE pRpcMessage,
   1493     DWORD* pdwStubPhase);
   1494 HRESULT STDMETHODCALLTYPE IActiveScript_GetScriptThreadID_Proxy(
   1495     IActiveScript* This,
   1496     DWORD dwWin32ThreadId,
   1497     SCRIPTTHREADID *pstidThread);
   1498 void __RPC_STUB IActiveScript_GetScriptThreadID_Stub(
   1499     IRpcStubBuffer* This,
   1500     IRpcChannelBuffer* pRpcChannelBuffer,
   1501     PRPC_MESSAGE pRpcMessage,
   1502     DWORD* pdwStubPhase);
   1503 HRESULT STDMETHODCALLTYPE IActiveScript_GetScriptThreadState_Proxy(
   1504     IActiveScript* This,
   1505     SCRIPTTHREADID stidThread,
   1506     SCRIPTTHREADSTATE *pstsState);
   1507 void __RPC_STUB IActiveScript_GetScriptThreadState_Stub(
   1508     IRpcStubBuffer* This,
   1509     IRpcChannelBuffer* pRpcChannelBuffer,
   1510     PRPC_MESSAGE pRpcMessage,
   1511     DWORD* pdwStubPhase);
   1512 HRESULT STDMETHODCALLTYPE IActiveScript_InterruptScriptThread_Proxy(
   1513     IActiveScript* This,
   1514     SCRIPTTHREADID stidThread,
   1515     const EXCEPINFO *pexcepinfo,
   1516     DWORD dwFlags);
   1517 void __RPC_STUB IActiveScript_InterruptScriptThread_Stub(
   1518     IRpcStubBuffer* This,
   1519     IRpcChannelBuffer* pRpcChannelBuffer,
   1520     PRPC_MESSAGE pRpcMessage,
   1521     DWORD* pdwStubPhase);
   1522 HRESULT STDMETHODCALLTYPE IActiveScript_Clone_Proxy(
   1523     IActiveScript* This,
   1524     IActiveScript **ppscript);
   1525 void __RPC_STUB IActiveScript_Clone_Stub(
   1526     IRpcStubBuffer* This,
   1527     IRpcChannelBuffer* pRpcChannelBuffer,
   1528     PRPC_MESSAGE pRpcMessage,
   1529     DWORD* pdwStubPhase);
   1530 
   1531 #endif  /* __IActiveScript_INTERFACE_DEFINED__ */
   1532 
   1533 
   1534 /*****************************************************************************
   1535  * IActiveScriptParse32 interface
   1536  */
   1537 #ifndef __IActiveScriptParse32_INTERFACE_DEFINED__
   1538 #define __IActiveScriptParse32_INTERFACE_DEFINED__
   1539 
   1540 DEFINE_GUID(IID_IActiveScriptParse32, 0xbb1a2ae2, 0xa4f9, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64);
   1541 #if defined(__cplusplus) && !defined(CINTERFACE)
   1542 MIDL_INTERFACE("bb1a2ae2-a4f9-11cf-8f20-00805f2cd064")
   1543 IActiveScriptParse32 : public IUnknown
   1544 {
   1545     virtual HRESULT STDMETHODCALLTYPE InitNew(
   1546         ) = 0;
   1547 
   1548     virtual HRESULT STDMETHODCALLTYPE AddScriptlet(
   1549         LPCOLESTR pstrDefaultName,
   1550         LPCOLESTR pstrCode,
   1551         LPCOLESTR pstrItemName,
   1552         LPCOLESTR pstrSubItemName,
   1553         LPCOLESTR pstrEventName,
   1554         LPCOLESTR pstrDelimiter,
   1555         DWORD dwSourceContextCookie,
   1556         ULONG ulStartingLineNumber,
   1557         DWORD dwFlags,
   1558         BSTR *pbstrName,
   1559         EXCEPINFO *pexcepinfo) = 0;
   1560 
   1561     virtual HRESULT STDMETHODCALLTYPE ParseScriptText(
   1562         LPCOLESTR pstrCode,
   1563         LPCOLESTR pstrItemName,
   1564         IUnknown *punkContext,
   1565         LPCOLESTR pstrDelimiter,
   1566         DWORD dwSourceContextCookie,
   1567         ULONG ulStartingLineNumber,
   1568         DWORD dwFlags,
   1569         VARIANT *pvarResult,
   1570         EXCEPINFO *pexcepinfo) = 0;
   1571 
   1572 };
   1573 #ifdef __CRT_UUID_DECL
   1574 __CRT_UUID_DECL(IActiveScriptParse32, 0xbb1a2ae2, 0xa4f9, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64)
   1575 #endif
   1576 #else
   1577 typedef struct IActiveScriptParse32Vtbl {
   1578     BEGIN_INTERFACE
   1579 
   1580     /*** IUnknown methods ***/
   1581     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1582         IActiveScriptParse32* This,
   1583         REFIID riid,
   1584         void **ppvObject);
   1585 
   1586     ULONG (STDMETHODCALLTYPE *AddRef)(
   1587         IActiveScriptParse32* This);
   1588 
   1589     ULONG (STDMETHODCALLTYPE *Release)(
   1590         IActiveScriptParse32* This);
   1591 
   1592     /*** IActiveScriptParse32 methods ***/
   1593     HRESULT (STDMETHODCALLTYPE *InitNew)(
   1594         IActiveScriptParse32* This);
   1595 
   1596     HRESULT (STDMETHODCALLTYPE *AddScriptlet)(
   1597         IActiveScriptParse32* This,
   1598         LPCOLESTR pstrDefaultName,
   1599         LPCOLESTR pstrCode,
   1600         LPCOLESTR pstrItemName,
   1601         LPCOLESTR pstrSubItemName,
   1602         LPCOLESTR pstrEventName,
   1603         LPCOLESTR pstrDelimiter,
   1604         DWORD dwSourceContextCookie,
   1605         ULONG ulStartingLineNumber,
   1606         DWORD dwFlags,
   1607         BSTR *pbstrName,
   1608         EXCEPINFO *pexcepinfo);
   1609 
   1610     HRESULT (STDMETHODCALLTYPE *ParseScriptText)(
   1611         IActiveScriptParse32* This,
   1612         LPCOLESTR pstrCode,
   1613         LPCOLESTR pstrItemName,
   1614         IUnknown *punkContext,
   1615         LPCOLESTR pstrDelimiter,
   1616         DWORD dwSourceContextCookie,
   1617         ULONG ulStartingLineNumber,
   1618         DWORD dwFlags,
   1619         VARIANT *pvarResult,
   1620         EXCEPINFO *pexcepinfo);
   1621 
   1622     END_INTERFACE
   1623 } IActiveScriptParse32Vtbl;
   1624 interface IActiveScriptParse32 {
   1625     CONST_VTBL IActiveScriptParse32Vtbl* lpVtbl;
   1626 };
   1627 
   1628 #ifdef COBJMACROS
   1629 #ifndef WIDL_C_INLINE_WRAPPERS
   1630 /*** IUnknown methods ***/
   1631 #define IActiveScriptParse32_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1632 #define IActiveScriptParse32_AddRef(This) (This)->lpVtbl->AddRef(This)
   1633 #define IActiveScriptParse32_Release(This) (This)->lpVtbl->Release(This)
   1634 /*** IActiveScriptParse32 methods ***/
   1635 #define IActiveScriptParse32_InitNew(This) (This)->lpVtbl->InitNew(This)
   1636 #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)
   1637 #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)
   1638 #else
   1639 /*** IUnknown methods ***/
   1640 static FORCEINLINE HRESULT IActiveScriptParse32_QueryInterface(IActiveScriptParse32* This,REFIID riid,void **ppvObject) {
   1641     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   1642 }
   1643 static FORCEINLINE ULONG IActiveScriptParse32_AddRef(IActiveScriptParse32* This) {
   1644     return This->lpVtbl->AddRef(This);
   1645 }
   1646 static FORCEINLINE ULONG IActiveScriptParse32_Release(IActiveScriptParse32* This) {
   1647     return This->lpVtbl->Release(This);
   1648 }
   1649 /*** IActiveScriptParse32 methods ***/
   1650 static FORCEINLINE HRESULT IActiveScriptParse32_InitNew(IActiveScriptParse32* This) {
   1651     return This->lpVtbl->InitNew(This);
   1652 }
   1653 static FORCEINLINE HRESULT IActiveScriptParse32_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) {
   1654     return This->lpVtbl->AddScriptlet(This,pstrDefaultName,pstrCode,pstrItemName,pstrSubItemName,pstrEventName,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pbstrName,pexcepinfo);
   1655 }
   1656 static FORCEINLINE HRESULT IActiveScriptParse32_ParseScriptText(IActiveScriptParse32* This,LPCOLESTR pstrCode,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,VARIANT *pvarResult,EXCEPINFO *pexcepinfo) {
   1657     return This->lpVtbl->ParseScriptText(This,pstrCode,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pvarResult,pexcepinfo);
   1658 }
   1659 #endif
   1660 #endif
   1661 
   1662 #endif
   1663 
   1664 HRESULT STDMETHODCALLTYPE IActiveScriptParse32_InitNew_Proxy(
   1665     IActiveScriptParse32* This);
   1666 void __RPC_STUB IActiveScriptParse32_InitNew_Stub(
   1667     IRpcStubBuffer* This,
   1668     IRpcChannelBuffer* pRpcChannelBuffer,
   1669     PRPC_MESSAGE pRpcMessage,
   1670     DWORD* pdwStubPhase);
   1671 HRESULT STDMETHODCALLTYPE IActiveScriptParse32_AddScriptlet_Proxy(
   1672     IActiveScriptParse32* This,
   1673     LPCOLESTR pstrDefaultName,
   1674     LPCOLESTR pstrCode,
   1675     LPCOLESTR pstrItemName,
   1676     LPCOLESTR pstrSubItemName,
   1677     LPCOLESTR pstrEventName,
   1678     LPCOLESTR pstrDelimiter,
   1679     DWORD dwSourceContextCookie,
   1680     ULONG ulStartingLineNumber,
   1681     DWORD dwFlags,
   1682     BSTR *pbstrName,
   1683     EXCEPINFO *pexcepinfo);
   1684 void __RPC_STUB IActiveScriptParse32_AddScriptlet_Stub(
   1685     IRpcStubBuffer* This,
   1686     IRpcChannelBuffer* pRpcChannelBuffer,
   1687     PRPC_MESSAGE pRpcMessage,
   1688     DWORD* pdwStubPhase);
   1689 HRESULT STDMETHODCALLTYPE IActiveScriptParse32_ParseScriptText_Proxy(
   1690     IActiveScriptParse32* This,
   1691     LPCOLESTR pstrCode,
   1692     LPCOLESTR pstrItemName,
   1693     IUnknown *punkContext,
   1694     LPCOLESTR pstrDelimiter,
   1695     DWORD dwSourceContextCookie,
   1696     ULONG ulStartingLineNumber,
   1697     DWORD dwFlags,
   1698     VARIANT *pvarResult,
   1699     EXCEPINFO *pexcepinfo);
   1700 void __RPC_STUB IActiveScriptParse32_ParseScriptText_Stub(
   1701     IRpcStubBuffer* This,
   1702     IRpcChannelBuffer* pRpcChannelBuffer,
   1703     PRPC_MESSAGE pRpcMessage,
   1704     DWORD* pdwStubPhase);
   1705 
   1706 #endif  /* __IActiveScriptParse32_INTERFACE_DEFINED__ */
   1707 
   1708 
   1709 /*****************************************************************************
   1710  * IActiveScriptParse64 interface
   1711  */
   1712 #ifndef __IActiveScriptParse64_INTERFACE_DEFINED__
   1713 #define __IActiveScriptParse64_INTERFACE_DEFINED__
   1714 
   1715 DEFINE_GUID(IID_IActiveScriptParse64, 0xc7ef7658, 0xe1ee, 0x480e, 0x97,0xea, 0xd5,0x2c,0xb4,0xd7,0x6d,0x17);
   1716 #if defined(__cplusplus) && !defined(CINTERFACE)
   1717 MIDL_INTERFACE("c7ef7658-e1ee-480e-97ea-d52cb4d76d17")
   1718 IActiveScriptParse64 : public IUnknown
   1719 {
   1720     virtual HRESULT STDMETHODCALLTYPE InitNew(
   1721         ) = 0;
   1722 
   1723     virtual HRESULT STDMETHODCALLTYPE AddScriptlet(
   1724         LPCOLESTR pstrDefaultName,
   1725         LPCOLESTR pstrCode,
   1726         LPCOLESTR pstrItemName,
   1727         LPCOLESTR pstrSubItemName,
   1728         LPCOLESTR pstrEventName,
   1729         LPCOLESTR pstrDelimiter,
   1730         DWORDLONG dwSourceContextCookie,
   1731         ULONG ulStartingLineNumber,
   1732         DWORD dwFlags,
   1733         BSTR *pbstrName,
   1734         EXCEPINFO *pexcepinfo) = 0;
   1735 
   1736     virtual HRESULT STDMETHODCALLTYPE ParseScriptText(
   1737         LPCOLESTR pstrCode,
   1738         LPCOLESTR pstrItemName,
   1739         IUnknown *punkContext,
   1740         LPCOLESTR pstrDelimiter,
   1741         DWORDLONG dwSourceContextCookie,
   1742         ULONG ulStartingLineNumber,
   1743         DWORD dwFlags,
   1744         VARIANT *pvarResult,
   1745         EXCEPINFO *pexcepinfo) = 0;
   1746 
   1747 };
   1748 #ifdef __CRT_UUID_DECL
   1749 __CRT_UUID_DECL(IActiveScriptParse64, 0xc7ef7658, 0xe1ee, 0x480e, 0x97,0xea, 0xd5,0x2c,0xb4,0xd7,0x6d,0x17)
   1750 #endif
   1751 #else
   1752 typedef struct IActiveScriptParse64Vtbl {
   1753     BEGIN_INTERFACE
   1754 
   1755     /*** IUnknown methods ***/
   1756     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1757         IActiveScriptParse64* This,
   1758         REFIID riid,
   1759         void **ppvObject);
   1760 
   1761     ULONG (STDMETHODCALLTYPE *AddRef)(
   1762         IActiveScriptParse64* This);
   1763 
   1764     ULONG (STDMETHODCALLTYPE *Release)(
   1765         IActiveScriptParse64* This);
   1766 
   1767     /*** IActiveScriptParse64 methods ***/
   1768     HRESULT (STDMETHODCALLTYPE *InitNew)(
   1769         IActiveScriptParse64* This);
   1770 
   1771     HRESULT (STDMETHODCALLTYPE *AddScriptlet)(
   1772         IActiveScriptParse64* This,
   1773         LPCOLESTR pstrDefaultName,
   1774         LPCOLESTR pstrCode,
   1775         LPCOLESTR pstrItemName,
   1776         LPCOLESTR pstrSubItemName,
   1777         LPCOLESTR pstrEventName,
   1778         LPCOLESTR pstrDelimiter,
   1779         DWORDLONG dwSourceContextCookie,
   1780         ULONG ulStartingLineNumber,
   1781         DWORD dwFlags,
   1782         BSTR *pbstrName,
   1783         EXCEPINFO *pexcepinfo);
   1784 
   1785     HRESULT (STDMETHODCALLTYPE *ParseScriptText)(
   1786         IActiveScriptParse64* This,
   1787         LPCOLESTR pstrCode,
   1788         LPCOLESTR pstrItemName,
   1789         IUnknown *punkContext,
   1790         LPCOLESTR pstrDelimiter,
   1791         DWORDLONG dwSourceContextCookie,
   1792         ULONG ulStartingLineNumber,
   1793         DWORD dwFlags,
   1794         VARIANT *pvarResult,
   1795         EXCEPINFO *pexcepinfo);
   1796 
   1797     END_INTERFACE
   1798 } IActiveScriptParse64Vtbl;
   1799 interface IActiveScriptParse64 {
   1800     CONST_VTBL IActiveScriptParse64Vtbl* lpVtbl;
   1801 };
   1802 
   1803 #ifdef COBJMACROS
   1804 #ifndef WIDL_C_INLINE_WRAPPERS
   1805 /*** IUnknown methods ***/
   1806 #define IActiveScriptParse64_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1807 #define IActiveScriptParse64_AddRef(This) (This)->lpVtbl->AddRef(This)
   1808 #define IActiveScriptParse64_Release(This) (This)->lpVtbl->Release(This)
   1809 /*** IActiveScriptParse64 methods ***/
   1810 #define IActiveScriptParse64_InitNew(This) (This)->lpVtbl->InitNew(This)
   1811 #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)
   1812 #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)
   1813 #else
   1814 /*** IUnknown methods ***/
   1815 static FORCEINLINE HRESULT IActiveScriptParse64_QueryInterface(IActiveScriptParse64* This,REFIID riid,void **ppvObject) {
   1816     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   1817 }
   1818 static FORCEINLINE ULONG IActiveScriptParse64_AddRef(IActiveScriptParse64* This) {
   1819     return This->lpVtbl->AddRef(This);
   1820 }
   1821 static FORCEINLINE ULONG IActiveScriptParse64_Release(IActiveScriptParse64* This) {
   1822     return This->lpVtbl->Release(This);
   1823 }
   1824 /*** IActiveScriptParse64 methods ***/
   1825 static FORCEINLINE HRESULT IActiveScriptParse64_InitNew(IActiveScriptParse64* This) {
   1826     return This->lpVtbl->InitNew(This);
   1827 }
   1828 static FORCEINLINE HRESULT IActiveScriptParse64_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) {
   1829     return This->lpVtbl->AddScriptlet(This,pstrDefaultName,pstrCode,pstrItemName,pstrSubItemName,pstrEventName,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pbstrName,pexcepinfo);
   1830 }
   1831 static FORCEINLINE HRESULT IActiveScriptParse64_ParseScriptText(IActiveScriptParse64* This,LPCOLESTR pstrCode,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,VARIANT *pvarResult,EXCEPINFO *pexcepinfo) {
   1832     return This->lpVtbl->ParseScriptText(This,pstrCode,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pvarResult,pexcepinfo);
   1833 }
   1834 #endif
   1835 #endif
   1836 
   1837 #endif
   1838 
   1839 HRESULT STDMETHODCALLTYPE IActiveScriptParse64_InitNew_Proxy(
   1840     IActiveScriptParse64* This);
   1841 void __RPC_STUB IActiveScriptParse64_InitNew_Stub(
   1842     IRpcStubBuffer* This,
   1843     IRpcChannelBuffer* pRpcChannelBuffer,
   1844     PRPC_MESSAGE pRpcMessage,
   1845     DWORD* pdwStubPhase);
   1846 HRESULT STDMETHODCALLTYPE IActiveScriptParse64_AddScriptlet_Proxy(
   1847     IActiveScriptParse64* This,
   1848     LPCOLESTR pstrDefaultName,
   1849     LPCOLESTR pstrCode,
   1850     LPCOLESTR pstrItemName,
   1851     LPCOLESTR pstrSubItemName,
   1852     LPCOLESTR pstrEventName,
   1853     LPCOLESTR pstrDelimiter,
   1854     DWORDLONG dwSourceContextCookie,
   1855     ULONG ulStartingLineNumber,
   1856     DWORD dwFlags,
   1857     BSTR *pbstrName,
   1858     EXCEPINFO *pexcepinfo);
   1859 void __RPC_STUB IActiveScriptParse64_AddScriptlet_Stub(
   1860     IRpcStubBuffer* This,
   1861     IRpcChannelBuffer* pRpcChannelBuffer,
   1862     PRPC_MESSAGE pRpcMessage,
   1863     DWORD* pdwStubPhase);
   1864 HRESULT STDMETHODCALLTYPE IActiveScriptParse64_ParseScriptText_Proxy(
   1865     IActiveScriptParse64* This,
   1866     LPCOLESTR pstrCode,
   1867     LPCOLESTR pstrItemName,
   1868     IUnknown *punkContext,
   1869     LPCOLESTR pstrDelimiter,
   1870     DWORDLONG dwSourceContextCookie,
   1871     ULONG ulStartingLineNumber,
   1872     DWORD dwFlags,
   1873     VARIANT *pvarResult,
   1874     EXCEPINFO *pexcepinfo);
   1875 void __RPC_STUB IActiveScriptParse64_ParseScriptText_Stub(
   1876     IRpcStubBuffer* This,
   1877     IRpcChannelBuffer* pRpcChannelBuffer,
   1878     PRPC_MESSAGE pRpcMessage,
   1879     DWORD* pdwStubPhase);
   1880 
   1881 #endif  /* __IActiveScriptParse64_INTERFACE_DEFINED__ */
   1882 
   1883 
   1884 #ifdef _WIN64
   1885 #define IActiveScriptParse IActiveScriptParse64
   1886 #define IID_IActiveScriptParse IID_IActiveScriptParse64
   1887 #else
   1888 #define IActiveScriptParse     IActiveScriptParse32
   1889 #define IID_IActiveScriptParse IID_IActiveScriptParse32
   1890 #endif
   1891 
   1892 typedef IActiveScriptParse *PIActiveScriptParse;
   1893 
   1894 /*****************************************************************************
   1895  * IActiveScriptParseProcedureOld32 interface
   1896  */
   1897 #ifndef __IActiveScriptParseProcedureOld32_INTERFACE_DEFINED__
   1898 #define __IActiveScriptParseProcedureOld32_INTERFACE_DEFINED__
   1899 
   1900 DEFINE_GUID(IID_IActiveScriptParseProcedureOld32, 0x1cff0050, 0x6fdd, 0x11d0, 0x93,0x28, 0x00,0xa0,0xc9,0x0d,0xca,0xa9);
   1901 #if defined(__cplusplus) && !defined(CINTERFACE)
   1902 MIDL_INTERFACE("1cff0050-6fdd-11d0-9328-00a0c90dcaa9")
   1903 IActiveScriptParseProcedureOld32 : public IUnknown
   1904 {
   1905     virtual HRESULT STDMETHODCALLTYPE ParseProcedureText(
   1906         LPCOLESTR pstrCode,
   1907         LPCOLESTR pstrFormalParams,
   1908         LPCOLESTR pstrItemName,
   1909         IUnknown *punkContext,
   1910         LPCOLESTR pstrDelimiter,
   1911         DWORD dwSourceContextCookie,
   1912         ULONG ulStartingLineNumber,
   1913         DWORD dwFlags,
   1914         IDispatch **ppdisp) = 0;
   1915 
   1916 };
   1917 #ifdef __CRT_UUID_DECL
   1918 __CRT_UUID_DECL(IActiveScriptParseProcedureOld32, 0x1cff0050, 0x6fdd, 0x11d0, 0x93,0x28, 0x00,0xa0,0xc9,0x0d,0xca,0xa9)
   1919 #endif
   1920 #else
   1921 typedef struct IActiveScriptParseProcedureOld32Vtbl {
   1922     BEGIN_INTERFACE
   1923 
   1924     /*** IUnknown methods ***/
   1925     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   1926         IActiveScriptParseProcedureOld32* This,
   1927         REFIID riid,
   1928         void **ppvObject);
   1929 
   1930     ULONG (STDMETHODCALLTYPE *AddRef)(
   1931         IActiveScriptParseProcedureOld32* This);
   1932 
   1933     ULONG (STDMETHODCALLTYPE *Release)(
   1934         IActiveScriptParseProcedureOld32* This);
   1935 
   1936     /*** IActiveScriptParseProcedureOld32 methods ***/
   1937     HRESULT (STDMETHODCALLTYPE *ParseProcedureText)(
   1938         IActiveScriptParseProcedureOld32* This,
   1939         LPCOLESTR pstrCode,
   1940         LPCOLESTR pstrFormalParams,
   1941         LPCOLESTR pstrItemName,
   1942         IUnknown *punkContext,
   1943         LPCOLESTR pstrDelimiter,
   1944         DWORD dwSourceContextCookie,
   1945         ULONG ulStartingLineNumber,
   1946         DWORD dwFlags,
   1947         IDispatch **ppdisp);
   1948 
   1949     END_INTERFACE
   1950 } IActiveScriptParseProcedureOld32Vtbl;
   1951 interface IActiveScriptParseProcedureOld32 {
   1952     CONST_VTBL IActiveScriptParseProcedureOld32Vtbl* lpVtbl;
   1953 };
   1954 
   1955 #ifdef COBJMACROS
   1956 #ifndef WIDL_C_INLINE_WRAPPERS
   1957 /*** IUnknown methods ***/
   1958 #define IActiveScriptParseProcedureOld32_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1959 #define IActiveScriptParseProcedureOld32_AddRef(This) (This)->lpVtbl->AddRef(This)
   1960 #define IActiveScriptParseProcedureOld32_Release(This) (This)->lpVtbl->Release(This)
   1961 /*** IActiveScriptParseProcedureOld32 methods ***/
   1962 #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)
   1963 #else
   1964 /*** IUnknown methods ***/
   1965 static FORCEINLINE HRESULT IActiveScriptParseProcedureOld32_QueryInterface(IActiveScriptParseProcedureOld32* This,REFIID riid,void **ppvObject) {
   1966     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   1967 }
   1968 static FORCEINLINE ULONG IActiveScriptParseProcedureOld32_AddRef(IActiveScriptParseProcedureOld32* This) {
   1969     return This->lpVtbl->AddRef(This);
   1970 }
   1971 static FORCEINLINE ULONG IActiveScriptParseProcedureOld32_Release(IActiveScriptParseProcedureOld32* This) {
   1972     return This->lpVtbl->Release(This);
   1973 }
   1974 /*** IActiveScriptParseProcedureOld32 methods ***/
   1975 static FORCEINLINE HRESULT IActiveScriptParseProcedureOld32_ParseProcedureText(IActiveScriptParseProcedureOld32* This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp) {
   1976     return This->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp);
   1977 }
   1978 #endif
   1979 #endif
   1980 
   1981 #endif
   1982 
   1983 HRESULT STDMETHODCALLTYPE IActiveScriptParseProcedureOld32_ParseProcedureText_Proxy(
   1984     IActiveScriptParseProcedureOld32* This,
   1985     LPCOLESTR pstrCode,
   1986     LPCOLESTR pstrFormalParams,
   1987     LPCOLESTR pstrItemName,
   1988     IUnknown *punkContext,
   1989     LPCOLESTR pstrDelimiter,
   1990     DWORD dwSourceContextCookie,
   1991     ULONG ulStartingLineNumber,
   1992     DWORD dwFlags,
   1993     IDispatch **ppdisp);
   1994 void __RPC_STUB IActiveScriptParseProcedureOld32_ParseProcedureText_Stub(
   1995     IRpcStubBuffer* This,
   1996     IRpcChannelBuffer* pRpcChannelBuffer,
   1997     PRPC_MESSAGE pRpcMessage,
   1998     DWORD* pdwStubPhase);
   1999 
   2000 #endif  /* __IActiveScriptParseProcedureOld32_INTERFACE_DEFINED__ */
   2001 
   2002 
   2003 /*****************************************************************************
   2004  * IActiveScriptParseProcedureOld64 interface
   2005  */
   2006 #ifndef __IActiveScriptParseProcedureOld64_INTERFACE_DEFINED__
   2007 #define __IActiveScriptParseProcedureOld64_INTERFACE_DEFINED__
   2008 
   2009 DEFINE_GUID(IID_IActiveScriptParseProcedureOld64, 0x21f57128, 0x08c9, 0x4638, 0xba,0x12, 0x22,0xd1,0x5d,0x88,0xdc,0x5c);
   2010 #if defined(__cplusplus) && !defined(CINTERFACE)
   2011 MIDL_INTERFACE("21f57128-08c9-4638-ba12-22d15d88dc5c")
   2012 IActiveScriptParseProcedureOld64 : public IUnknown
   2013 {
   2014     virtual HRESULT STDMETHODCALLTYPE ParseProcedureText(
   2015         LPCOLESTR pstrCode,
   2016         LPCOLESTR pstrFormalParams,
   2017         LPCOLESTR pstrItemName,
   2018         IUnknown *punkContext,
   2019         LPCOLESTR pstrDelimiter,
   2020         DWORDLONG dwSourceContextCookie,
   2021         ULONG ulStartingLineNumber,
   2022         DWORD dwFlags,
   2023         IDispatch **ppdisp) = 0;
   2024 
   2025 };
   2026 #ifdef __CRT_UUID_DECL
   2027 __CRT_UUID_DECL(IActiveScriptParseProcedureOld64, 0x21f57128, 0x08c9, 0x4638, 0xba,0x12, 0x22,0xd1,0x5d,0x88,0xdc,0x5c)
   2028 #endif
   2029 #else
   2030 typedef struct IActiveScriptParseProcedureOld64Vtbl {
   2031     BEGIN_INTERFACE
   2032 
   2033     /*** IUnknown methods ***/
   2034     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2035         IActiveScriptParseProcedureOld64* This,
   2036         REFIID riid,
   2037         void **ppvObject);
   2038 
   2039     ULONG (STDMETHODCALLTYPE *AddRef)(
   2040         IActiveScriptParseProcedureOld64* This);
   2041 
   2042     ULONG (STDMETHODCALLTYPE *Release)(
   2043         IActiveScriptParseProcedureOld64* This);
   2044 
   2045     /*** IActiveScriptParseProcedureOld64 methods ***/
   2046     HRESULT (STDMETHODCALLTYPE *ParseProcedureText)(
   2047         IActiveScriptParseProcedureOld64* This,
   2048         LPCOLESTR pstrCode,
   2049         LPCOLESTR pstrFormalParams,
   2050         LPCOLESTR pstrItemName,
   2051         IUnknown *punkContext,
   2052         LPCOLESTR pstrDelimiter,
   2053         DWORDLONG dwSourceContextCookie,
   2054         ULONG ulStartingLineNumber,
   2055         DWORD dwFlags,
   2056         IDispatch **ppdisp);
   2057 
   2058     END_INTERFACE
   2059 } IActiveScriptParseProcedureOld64Vtbl;
   2060 interface IActiveScriptParseProcedureOld64 {
   2061     CONST_VTBL IActiveScriptParseProcedureOld64Vtbl* lpVtbl;
   2062 };
   2063 
   2064 #ifdef COBJMACROS
   2065 #ifndef WIDL_C_INLINE_WRAPPERS
   2066 /*** IUnknown methods ***/
   2067 #define IActiveScriptParseProcedureOld64_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2068 #define IActiveScriptParseProcedureOld64_AddRef(This) (This)->lpVtbl->AddRef(This)
   2069 #define IActiveScriptParseProcedureOld64_Release(This) (This)->lpVtbl->Release(This)
   2070 /*** IActiveScriptParseProcedureOld64 methods ***/
   2071 #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)
   2072 #else
   2073 /*** IUnknown methods ***/
   2074 static FORCEINLINE HRESULT IActiveScriptParseProcedureOld64_QueryInterface(IActiveScriptParseProcedureOld64* This,REFIID riid,void **ppvObject) {
   2075     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2076 }
   2077 static FORCEINLINE ULONG IActiveScriptParseProcedureOld64_AddRef(IActiveScriptParseProcedureOld64* This) {
   2078     return This->lpVtbl->AddRef(This);
   2079 }
   2080 static FORCEINLINE ULONG IActiveScriptParseProcedureOld64_Release(IActiveScriptParseProcedureOld64* This) {
   2081     return This->lpVtbl->Release(This);
   2082 }
   2083 /*** IActiveScriptParseProcedureOld64 methods ***/
   2084 static FORCEINLINE HRESULT IActiveScriptParseProcedureOld64_ParseProcedureText(IActiveScriptParseProcedureOld64* This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp) {
   2085     return This->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp);
   2086 }
   2087 #endif
   2088 #endif
   2089 
   2090 #endif
   2091 
   2092 HRESULT STDMETHODCALLTYPE IActiveScriptParseProcedureOld64_ParseProcedureText_Proxy(
   2093     IActiveScriptParseProcedureOld64* This,
   2094     LPCOLESTR pstrCode,
   2095     LPCOLESTR pstrFormalParams,
   2096     LPCOLESTR pstrItemName,
   2097     IUnknown *punkContext,
   2098     LPCOLESTR pstrDelimiter,
   2099     DWORDLONG dwSourceContextCookie,
   2100     ULONG ulStartingLineNumber,
   2101     DWORD dwFlags,
   2102     IDispatch **ppdisp);
   2103 void __RPC_STUB IActiveScriptParseProcedureOld64_ParseProcedureText_Stub(
   2104     IRpcStubBuffer* This,
   2105     IRpcChannelBuffer* pRpcChannelBuffer,
   2106     PRPC_MESSAGE pRpcMessage,
   2107     DWORD* pdwStubPhase);
   2108 
   2109 #endif  /* __IActiveScriptParseProcedureOld64_INTERFACE_DEFINED__ */
   2110 
   2111 
   2112 #ifdef _WIN64
   2113 #define IActiveScriptParseProcedureOld IActiveScriptParseProcedureOld64
   2114 #define IID_IActiveScriptParseProcedureOld IID_IActiveScriptParseProcedureOld64
   2115 #else
   2116 #define     IActiveScriptParseProcedureOld IActiveScriptParseProcedureOld32
   2117 #define IID_IActiveScriptParseProcedureOld IID_IActiveScriptParseProcedureOld32
   2118 #endif
   2119 
   2120 typedef IActiveScriptParseProcedureOld *PIActiveScriptParseProcedureOld;
   2121 
   2122 /*****************************************************************************
   2123  * IActiveScriptParseProcedure32 interface
   2124  */
   2125 #ifndef __IActiveScriptParseProcedure32_INTERFACE_DEFINED__
   2126 #define __IActiveScriptParseProcedure32_INTERFACE_DEFINED__
   2127 
   2128 DEFINE_GUID(IID_IActiveScriptParseProcedure32, 0xaa5b6a80, 0xb834, 0x11d0, 0x93,0x2f, 0x00,0xa0,0xc9,0x0d,0xca,0xa9);
   2129 #if defined(__cplusplus) && !defined(CINTERFACE)
   2130 MIDL_INTERFACE("aa5b6a80-b834-11d0-932f-00a0c90dcaa9")
   2131 IActiveScriptParseProcedure32 : public IUnknown
   2132 {
   2133     virtual HRESULT STDMETHODCALLTYPE ParseProcedureText(
   2134         LPCOLESTR pstrCode,
   2135         LPCOLESTR pstrFormalParams,
   2136         LPCOLESTR pstrProcedureName,
   2137         LPCOLESTR pstrItemName,
   2138         IUnknown *punkContext,
   2139         LPCOLESTR pstrDelimiter,
   2140         DWORD dwSourceContextCookie,
   2141         ULONG ulStartingLineNumber,
   2142         DWORD dwFlags,
   2143         IDispatch **ppdisp) = 0;
   2144 
   2145 };
   2146 #ifdef __CRT_UUID_DECL
   2147 __CRT_UUID_DECL(IActiveScriptParseProcedure32, 0xaa5b6a80, 0xb834, 0x11d0, 0x93,0x2f, 0x00,0xa0,0xc9,0x0d,0xca,0xa9)
   2148 #endif
   2149 #else
   2150 typedef struct IActiveScriptParseProcedure32Vtbl {
   2151     BEGIN_INTERFACE
   2152 
   2153     /*** IUnknown methods ***/
   2154     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2155         IActiveScriptParseProcedure32* This,
   2156         REFIID riid,
   2157         void **ppvObject);
   2158 
   2159     ULONG (STDMETHODCALLTYPE *AddRef)(
   2160         IActiveScriptParseProcedure32* This);
   2161 
   2162     ULONG (STDMETHODCALLTYPE *Release)(
   2163         IActiveScriptParseProcedure32* This);
   2164 
   2165     /*** IActiveScriptParseProcedure32 methods ***/
   2166     HRESULT (STDMETHODCALLTYPE *ParseProcedureText)(
   2167         IActiveScriptParseProcedure32* This,
   2168         LPCOLESTR pstrCode,
   2169         LPCOLESTR pstrFormalParams,
   2170         LPCOLESTR pstrProcedureName,
   2171         LPCOLESTR pstrItemName,
   2172         IUnknown *punkContext,
   2173         LPCOLESTR pstrDelimiter,
   2174         DWORD dwSourceContextCookie,
   2175         ULONG ulStartingLineNumber,
   2176         DWORD dwFlags,
   2177         IDispatch **ppdisp);
   2178 
   2179     END_INTERFACE
   2180 } IActiveScriptParseProcedure32Vtbl;
   2181 interface IActiveScriptParseProcedure32 {
   2182     CONST_VTBL IActiveScriptParseProcedure32Vtbl* lpVtbl;
   2183 };
   2184 
   2185 #ifdef COBJMACROS
   2186 #ifndef WIDL_C_INLINE_WRAPPERS
   2187 /*** IUnknown methods ***/
   2188 #define IActiveScriptParseProcedure32_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2189 #define IActiveScriptParseProcedure32_AddRef(This) (This)->lpVtbl->AddRef(This)
   2190 #define IActiveScriptParseProcedure32_Release(This) (This)->lpVtbl->Release(This)
   2191 /*** IActiveScriptParseProcedure32 methods ***/
   2192 #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)
   2193 #else
   2194 /*** IUnknown methods ***/
   2195 static FORCEINLINE HRESULT IActiveScriptParseProcedure32_QueryInterface(IActiveScriptParseProcedure32* This,REFIID riid,void **ppvObject) {
   2196     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2197 }
   2198 static FORCEINLINE ULONG IActiveScriptParseProcedure32_AddRef(IActiveScriptParseProcedure32* This) {
   2199     return This->lpVtbl->AddRef(This);
   2200 }
   2201 static FORCEINLINE ULONG IActiveScriptParseProcedure32_Release(IActiveScriptParseProcedure32* This) {
   2202     return This->lpVtbl->Release(This);
   2203 }
   2204 /*** IActiveScriptParseProcedure32 methods ***/
   2205 static FORCEINLINE HRESULT IActiveScriptParseProcedure32_ParseProcedureText(IActiveScriptParseProcedure32* This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrProcedureName,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp) {
   2206     return This->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp);
   2207 }
   2208 #endif
   2209 #endif
   2210 
   2211 #endif
   2212 
   2213 HRESULT STDMETHODCALLTYPE IActiveScriptParseProcedure32_ParseProcedureText_Proxy(
   2214     IActiveScriptParseProcedure32* This,
   2215     LPCOLESTR pstrCode,
   2216     LPCOLESTR pstrFormalParams,
   2217     LPCOLESTR pstrProcedureName,
   2218     LPCOLESTR pstrItemName,
   2219     IUnknown *punkContext,
   2220     LPCOLESTR pstrDelimiter,
   2221     DWORD dwSourceContextCookie,
   2222     ULONG ulStartingLineNumber,
   2223     DWORD dwFlags,
   2224     IDispatch **ppdisp);
   2225 void __RPC_STUB IActiveScriptParseProcedure32_ParseProcedureText_Stub(
   2226     IRpcStubBuffer* This,
   2227     IRpcChannelBuffer* pRpcChannelBuffer,
   2228     PRPC_MESSAGE pRpcMessage,
   2229     DWORD* pdwStubPhase);
   2230 
   2231 #endif  /* __IActiveScriptParseProcedure32_INTERFACE_DEFINED__ */
   2232 
   2233 
   2234 /*****************************************************************************
   2235  * IActiveScriptParseProcedure64 interface
   2236  */
   2237 #ifndef __IActiveScriptParseProcedure64_INTERFACE_DEFINED__
   2238 #define __IActiveScriptParseProcedure64_INTERFACE_DEFINED__
   2239 
   2240 DEFINE_GUID(IID_IActiveScriptParseProcedure64, 0xc64713b6, 0xe029, 0x4cc5, 0x92,0x00, 0x43,0x8b,0x72,0x89,0x0b,0x6a);
   2241 #if defined(__cplusplus) && !defined(CINTERFACE)
   2242 MIDL_INTERFACE("c64713b6-e029-4cc5-9200-438b72890b6a")
   2243 IActiveScriptParseProcedure64 : public IUnknown
   2244 {
   2245     virtual HRESULT STDMETHODCALLTYPE ParseProcedureText(
   2246         LPCOLESTR pstrCode,
   2247         LPCOLESTR pstrFormalParams,
   2248         LPCOLESTR pstrProcedureName,
   2249         LPCOLESTR pstrItemName,
   2250         IUnknown *punkContext,
   2251         LPCOLESTR pstrDelimiter,
   2252         DWORDLONG dwSourceContextCookie,
   2253         ULONG ulStartingLineNumber,
   2254         DWORD dwFlags,
   2255         IDispatch **ppdisp) = 0;
   2256 
   2257 };
   2258 #ifdef __CRT_UUID_DECL
   2259 __CRT_UUID_DECL(IActiveScriptParseProcedure64, 0xc64713b6, 0xe029, 0x4cc5, 0x92,0x00, 0x43,0x8b,0x72,0x89,0x0b,0x6a)
   2260 #endif
   2261 #else
   2262 typedef struct IActiveScriptParseProcedure64Vtbl {
   2263     BEGIN_INTERFACE
   2264 
   2265     /*** IUnknown methods ***/
   2266     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2267         IActiveScriptParseProcedure64* This,
   2268         REFIID riid,
   2269         void **ppvObject);
   2270 
   2271     ULONG (STDMETHODCALLTYPE *AddRef)(
   2272         IActiveScriptParseProcedure64* This);
   2273 
   2274     ULONG (STDMETHODCALLTYPE *Release)(
   2275         IActiveScriptParseProcedure64* This);
   2276 
   2277     /*** IActiveScriptParseProcedure64 methods ***/
   2278     HRESULT (STDMETHODCALLTYPE *ParseProcedureText)(
   2279         IActiveScriptParseProcedure64* This,
   2280         LPCOLESTR pstrCode,
   2281         LPCOLESTR pstrFormalParams,
   2282         LPCOLESTR pstrProcedureName,
   2283         LPCOLESTR pstrItemName,
   2284         IUnknown *punkContext,
   2285         LPCOLESTR pstrDelimiter,
   2286         DWORDLONG dwSourceContextCookie,
   2287         ULONG ulStartingLineNumber,
   2288         DWORD dwFlags,
   2289         IDispatch **ppdisp);
   2290 
   2291     END_INTERFACE
   2292 } IActiveScriptParseProcedure64Vtbl;
   2293 interface IActiveScriptParseProcedure64 {
   2294     CONST_VTBL IActiveScriptParseProcedure64Vtbl* lpVtbl;
   2295 };
   2296 
   2297 #ifdef COBJMACROS
   2298 #ifndef WIDL_C_INLINE_WRAPPERS
   2299 /*** IUnknown methods ***/
   2300 #define IActiveScriptParseProcedure64_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2301 #define IActiveScriptParseProcedure64_AddRef(This) (This)->lpVtbl->AddRef(This)
   2302 #define IActiveScriptParseProcedure64_Release(This) (This)->lpVtbl->Release(This)
   2303 /*** IActiveScriptParseProcedure64 methods ***/
   2304 #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)
   2305 #else
   2306 /*** IUnknown methods ***/
   2307 static FORCEINLINE HRESULT IActiveScriptParseProcedure64_QueryInterface(IActiveScriptParseProcedure64* This,REFIID riid,void **ppvObject) {
   2308     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2309 }
   2310 static FORCEINLINE ULONG IActiveScriptParseProcedure64_AddRef(IActiveScriptParseProcedure64* This) {
   2311     return This->lpVtbl->AddRef(This);
   2312 }
   2313 static FORCEINLINE ULONG IActiveScriptParseProcedure64_Release(IActiveScriptParseProcedure64* This) {
   2314     return This->lpVtbl->Release(This);
   2315 }
   2316 /*** IActiveScriptParseProcedure64 methods ***/
   2317 static FORCEINLINE HRESULT IActiveScriptParseProcedure64_ParseProcedureText(IActiveScriptParseProcedure64* This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrProcedureName,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp) {
   2318     return This->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp);
   2319 }
   2320 #endif
   2321 #endif
   2322 
   2323 #endif
   2324 
   2325 HRESULT STDMETHODCALLTYPE IActiveScriptParseProcedure64_ParseProcedureText_Proxy(
   2326     IActiveScriptParseProcedure64* This,
   2327     LPCOLESTR pstrCode,
   2328     LPCOLESTR pstrFormalParams,
   2329     LPCOLESTR pstrProcedureName,
   2330     LPCOLESTR pstrItemName,
   2331     IUnknown *punkContext,
   2332     LPCOLESTR pstrDelimiter,
   2333     DWORDLONG dwSourceContextCookie,
   2334     ULONG ulStartingLineNumber,
   2335     DWORD dwFlags,
   2336     IDispatch **ppdisp);
   2337 void __RPC_STUB IActiveScriptParseProcedure64_ParseProcedureText_Stub(
   2338     IRpcStubBuffer* This,
   2339     IRpcChannelBuffer* pRpcChannelBuffer,
   2340     PRPC_MESSAGE pRpcMessage,
   2341     DWORD* pdwStubPhase);
   2342 
   2343 #endif  /* __IActiveScriptParseProcedure64_INTERFACE_DEFINED__ */
   2344 
   2345 
   2346 #ifdef _WIN64
   2347 #define IActiveScriptParseProcedure IActiveScriptParseProcedure64
   2348 #define IID_IActiveScriptParseProcedure IID_IActiveScriptParseProcedure64
   2349 #else
   2350 #define IActiveScriptParseProcedure IActiveScriptParseProcedure32
   2351 #define IID_IActiveScriptParseProcedure IID_IActiveScriptParseProcedure32
   2352 #endif
   2353 
   2354 typedef IActiveScriptParseProcedure *PIActiveScriptParseProcedure;
   2355 
   2356 /*****************************************************************************
   2357  * IActiveScriptParseProcedure2_32 interface
   2358  */
   2359 #ifndef __IActiveScriptParseProcedure2_32_INTERFACE_DEFINED__
   2360 #define __IActiveScriptParseProcedure2_32_INTERFACE_DEFINED__
   2361 
   2362 DEFINE_GUID(IID_IActiveScriptParseProcedure2_32, 0x71ee5b20, 0xfb04, 0x11d1, 0xb3,0xa8, 0x00,0xa0,0xc9,0x11,0xe8,0xb2);
   2363 #if defined(__cplusplus) && !defined(CINTERFACE)
   2364 MIDL_INTERFACE("71ee5b20-fb04-11d1-b3a8-00a0c911e8b2")
   2365 IActiveScriptParseProcedure2_32 : public IActiveScriptParseProcedure32
   2366 {
   2367 };
   2368 #ifdef __CRT_UUID_DECL
   2369 __CRT_UUID_DECL(IActiveScriptParseProcedure2_32, 0x71ee5b20, 0xfb04, 0x11d1, 0xb3,0xa8, 0x00,0xa0,0xc9,0x11,0xe8,0xb2)
   2370 #endif
   2371 #else
   2372 typedef struct IActiveScriptParseProcedure2_32Vtbl {
   2373     BEGIN_INTERFACE
   2374 
   2375     /*** IUnknown methods ***/
   2376     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2377         IActiveScriptParseProcedure2_32* This,
   2378         REFIID riid,
   2379         void **ppvObject);
   2380 
   2381     ULONG (STDMETHODCALLTYPE *AddRef)(
   2382         IActiveScriptParseProcedure2_32* This);
   2383 
   2384     ULONG (STDMETHODCALLTYPE *Release)(
   2385         IActiveScriptParseProcedure2_32* This);
   2386 
   2387     /*** IActiveScriptParseProcedure32 methods ***/
   2388     HRESULT (STDMETHODCALLTYPE *ParseProcedureText)(
   2389         IActiveScriptParseProcedure2_32* This,
   2390         LPCOLESTR pstrCode,
   2391         LPCOLESTR pstrFormalParams,
   2392         LPCOLESTR pstrProcedureName,
   2393         LPCOLESTR pstrItemName,
   2394         IUnknown *punkContext,
   2395         LPCOLESTR pstrDelimiter,
   2396         DWORD dwSourceContextCookie,
   2397         ULONG ulStartingLineNumber,
   2398         DWORD dwFlags,
   2399         IDispatch **ppdisp);
   2400 
   2401     END_INTERFACE
   2402 } IActiveScriptParseProcedure2_32Vtbl;
   2403 interface IActiveScriptParseProcedure2_32 {
   2404     CONST_VTBL IActiveScriptParseProcedure2_32Vtbl* lpVtbl;
   2405 };
   2406 
   2407 #ifdef COBJMACROS
   2408 #ifndef WIDL_C_INLINE_WRAPPERS
   2409 /*** IUnknown methods ***/
   2410 #define IActiveScriptParseProcedure2_32_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2411 #define IActiveScriptParseProcedure2_32_AddRef(This) (This)->lpVtbl->AddRef(This)
   2412 #define IActiveScriptParseProcedure2_32_Release(This) (This)->lpVtbl->Release(This)
   2413 /*** IActiveScriptParseProcedure32 methods ***/
   2414 #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)
   2415 #else
   2416 /*** IUnknown methods ***/
   2417 static FORCEINLINE HRESULT IActiveScriptParseProcedure2_32_QueryInterface(IActiveScriptParseProcedure2_32* This,REFIID riid,void **ppvObject) {
   2418     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2419 }
   2420 static FORCEINLINE ULONG IActiveScriptParseProcedure2_32_AddRef(IActiveScriptParseProcedure2_32* This) {
   2421     return This->lpVtbl->AddRef(This);
   2422 }
   2423 static FORCEINLINE ULONG IActiveScriptParseProcedure2_32_Release(IActiveScriptParseProcedure2_32* This) {
   2424     return This->lpVtbl->Release(This);
   2425 }
   2426 /*** IActiveScriptParseProcedure32 methods ***/
   2427 static FORCEINLINE HRESULT IActiveScriptParseProcedure2_32_ParseProcedureText(IActiveScriptParseProcedure2_32* This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrProcedureName,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORD dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp) {
   2428     return This->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp);
   2429 }
   2430 #endif
   2431 #endif
   2432 
   2433 #endif
   2434 
   2435 
   2436 #endif  /* __IActiveScriptParseProcedure2_32_INTERFACE_DEFINED__ */
   2437 
   2438 
   2439 /*****************************************************************************
   2440  * IActiveScriptParseProcedure2_64 interface
   2441  */
   2442 #ifndef __IActiveScriptParseProcedure2_64_INTERFACE_DEFINED__
   2443 #define __IActiveScriptParseProcedure2_64_INTERFACE_DEFINED__
   2444 
   2445 DEFINE_GUID(IID_IActiveScriptParseProcedure2_64, 0xfe7c4271, 0x210c, 0x448d, 0x9f,0x54, 0x76,0xda,0xb7,0x04,0x7b,0x28);
   2446 #if defined(__cplusplus) && !defined(CINTERFACE)
   2447 MIDL_INTERFACE("fe7c4271-210c-448d-9f54-76dab7047b28")
   2448 IActiveScriptParseProcedure2_64 : public IActiveScriptParseProcedure64
   2449 {
   2450 };
   2451 #ifdef __CRT_UUID_DECL
   2452 __CRT_UUID_DECL(IActiveScriptParseProcedure2_64, 0xfe7c4271, 0x210c, 0x448d, 0x9f,0x54, 0x76,0xda,0xb7,0x04,0x7b,0x28)
   2453 #endif
   2454 #else
   2455 typedef struct IActiveScriptParseProcedure2_64Vtbl {
   2456     BEGIN_INTERFACE
   2457 
   2458     /*** IUnknown methods ***/
   2459     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2460         IActiveScriptParseProcedure2_64* This,
   2461         REFIID riid,
   2462         void **ppvObject);
   2463 
   2464     ULONG (STDMETHODCALLTYPE *AddRef)(
   2465         IActiveScriptParseProcedure2_64* This);
   2466 
   2467     ULONG (STDMETHODCALLTYPE *Release)(
   2468         IActiveScriptParseProcedure2_64* This);
   2469 
   2470     /*** IActiveScriptParseProcedure64 methods ***/
   2471     HRESULT (STDMETHODCALLTYPE *ParseProcedureText)(
   2472         IActiveScriptParseProcedure2_64* This,
   2473         LPCOLESTR pstrCode,
   2474         LPCOLESTR pstrFormalParams,
   2475         LPCOLESTR pstrProcedureName,
   2476         LPCOLESTR pstrItemName,
   2477         IUnknown *punkContext,
   2478         LPCOLESTR pstrDelimiter,
   2479         DWORDLONG dwSourceContextCookie,
   2480         ULONG ulStartingLineNumber,
   2481         DWORD dwFlags,
   2482         IDispatch **ppdisp);
   2483 
   2484     END_INTERFACE
   2485 } IActiveScriptParseProcedure2_64Vtbl;
   2486 interface IActiveScriptParseProcedure2_64 {
   2487     CONST_VTBL IActiveScriptParseProcedure2_64Vtbl* lpVtbl;
   2488 };
   2489 
   2490 #ifdef COBJMACROS
   2491 #ifndef WIDL_C_INLINE_WRAPPERS
   2492 /*** IUnknown methods ***/
   2493 #define IActiveScriptParseProcedure2_64_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2494 #define IActiveScriptParseProcedure2_64_AddRef(This) (This)->lpVtbl->AddRef(This)
   2495 #define IActiveScriptParseProcedure2_64_Release(This) (This)->lpVtbl->Release(This)
   2496 /*** IActiveScriptParseProcedure64 methods ***/
   2497 #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)
   2498 #else
   2499 /*** IUnknown methods ***/
   2500 static FORCEINLINE HRESULT IActiveScriptParseProcedure2_64_QueryInterface(IActiveScriptParseProcedure2_64* This,REFIID riid,void **ppvObject) {
   2501     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2502 }
   2503 static FORCEINLINE ULONG IActiveScriptParseProcedure2_64_AddRef(IActiveScriptParseProcedure2_64* This) {
   2504     return This->lpVtbl->AddRef(This);
   2505 }
   2506 static FORCEINLINE ULONG IActiveScriptParseProcedure2_64_Release(IActiveScriptParseProcedure2_64* This) {
   2507     return This->lpVtbl->Release(This);
   2508 }
   2509 /*** IActiveScriptParseProcedure64 methods ***/
   2510 static FORCEINLINE HRESULT IActiveScriptParseProcedure2_64_ParseProcedureText(IActiveScriptParseProcedure2_64* This,LPCOLESTR pstrCode,LPCOLESTR pstrFormalParams,LPCOLESTR pstrProcedureName,LPCOLESTR pstrItemName,IUnknown *punkContext,LPCOLESTR pstrDelimiter,DWORDLONG dwSourceContextCookie,ULONG ulStartingLineNumber,DWORD dwFlags,IDispatch **ppdisp) {
   2511     return This->lpVtbl->ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp);
   2512 }
   2513 #endif
   2514 #endif
   2515 
   2516 #endif
   2517 
   2518 
   2519 #endif  /* __IActiveScriptParseProcedure2_64_INTERFACE_DEFINED__ */
   2520 
   2521 
   2522 #ifdef _WIN64
   2523 #define IActiveScriptParseProcedure2 IActiveScriptParseProcedure2_64
   2524 #define IID_IActiveScriptParseProcedure2 IID_IActiveScriptParseProcedure2_64
   2525 #else
   2526 #define IActiveScriptParseProcedure2 IActiveScriptParseProcedure2_32
   2527 #define IID_IActiveScriptParseProcedure2 IID_IActiveScriptParseProcedure2_32
   2528 #endif
   2529 
   2530 typedef IActiveScriptParseProcedure2 *PIActiveScriptParseProcedure2;
   2531 
   2532 /*****************************************************************************
   2533  * IActiveScriptEncode interface
   2534  */
   2535 #ifndef __IActiveScriptEncode_INTERFACE_DEFINED__
   2536 #define __IActiveScriptEncode_INTERFACE_DEFINED__
   2537 
   2538 DEFINE_GUID(IID_IActiveScriptEncode, 0xbb1a2ae3, 0xa4f9, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64);
   2539 #if defined(__cplusplus) && !defined(CINTERFACE)
   2540 MIDL_INTERFACE("bb1a2ae3-a4f9-11cf-8f20-00805f2cd064")
   2541 IActiveScriptEncode : public IUnknown
   2542 {
   2543     virtual HRESULT STDMETHODCALLTYPE EncodeSection(
   2544         LPCOLESTR pchIn,
   2545         DWORD cchIn,
   2546         LPOLESTR pchOut,
   2547         DWORD cchOut,
   2548         DWORD *pcchRet) = 0;
   2549 
   2550     virtual HRESULT STDMETHODCALLTYPE DecodeScript(
   2551         LPCOLESTR pchIn,
   2552         DWORD cchIn,
   2553         LPOLESTR pchOut,
   2554         DWORD cchOut,
   2555         DWORD *pcchRet) = 0;
   2556 
   2557     virtual HRESULT STDMETHODCALLTYPE GetEncodeProgId(
   2558         BSTR *pbstrOut) = 0;
   2559 
   2560 };
   2561 #ifdef __CRT_UUID_DECL
   2562 __CRT_UUID_DECL(IActiveScriptEncode, 0xbb1a2ae3, 0xa4f9, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64)
   2563 #endif
   2564 #else
   2565 typedef struct IActiveScriptEncodeVtbl {
   2566     BEGIN_INTERFACE
   2567 
   2568     /*** IUnknown methods ***/
   2569     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2570         IActiveScriptEncode* This,
   2571         REFIID riid,
   2572         void **ppvObject);
   2573 
   2574     ULONG (STDMETHODCALLTYPE *AddRef)(
   2575         IActiveScriptEncode* This);
   2576 
   2577     ULONG (STDMETHODCALLTYPE *Release)(
   2578         IActiveScriptEncode* This);
   2579 
   2580     /*** IActiveScriptEncode methods ***/
   2581     HRESULT (STDMETHODCALLTYPE *EncodeSection)(
   2582         IActiveScriptEncode* This,
   2583         LPCOLESTR pchIn,
   2584         DWORD cchIn,
   2585         LPOLESTR pchOut,
   2586         DWORD cchOut,
   2587         DWORD *pcchRet);
   2588 
   2589     HRESULT (STDMETHODCALLTYPE *DecodeScript)(
   2590         IActiveScriptEncode* This,
   2591         LPCOLESTR pchIn,
   2592         DWORD cchIn,
   2593         LPOLESTR pchOut,
   2594         DWORD cchOut,
   2595         DWORD *pcchRet);
   2596 
   2597     HRESULT (STDMETHODCALLTYPE *GetEncodeProgId)(
   2598         IActiveScriptEncode* This,
   2599         BSTR *pbstrOut);
   2600 
   2601     END_INTERFACE
   2602 } IActiveScriptEncodeVtbl;
   2603 interface IActiveScriptEncode {
   2604     CONST_VTBL IActiveScriptEncodeVtbl* lpVtbl;
   2605 };
   2606 
   2607 #ifdef COBJMACROS
   2608 #ifndef WIDL_C_INLINE_WRAPPERS
   2609 /*** IUnknown methods ***/
   2610 #define IActiveScriptEncode_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2611 #define IActiveScriptEncode_AddRef(This) (This)->lpVtbl->AddRef(This)
   2612 #define IActiveScriptEncode_Release(This) (This)->lpVtbl->Release(This)
   2613 /*** IActiveScriptEncode methods ***/
   2614 #define IActiveScriptEncode_EncodeSection(This,pchIn,cchIn,pchOut,cchOut,pcchRet) (This)->lpVtbl->EncodeSection(This,pchIn,cchIn,pchOut,cchOut,pcchRet)
   2615 #define IActiveScriptEncode_DecodeScript(This,pchIn,cchIn,pchOut,cchOut,pcchRet) (This)->lpVtbl->DecodeScript(This,pchIn,cchIn,pchOut,cchOut,pcchRet)
   2616 #define IActiveScriptEncode_GetEncodeProgId(This,pbstrOut) (This)->lpVtbl->GetEncodeProgId(This,pbstrOut)
   2617 #else
   2618 /*** IUnknown methods ***/
   2619 static FORCEINLINE HRESULT IActiveScriptEncode_QueryInterface(IActiveScriptEncode* This,REFIID riid,void **ppvObject) {
   2620     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2621 }
   2622 static FORCEINLINE ULONG IActiveScriptEncode_AddRef(IActiveScriptEncode* This) {
   2623     return This->lpVtbl->AddRef(This);
   2624 }
   2625 static FORCEINLINE ULONG IActiveScriptEncode_Release(IActiveScriptEncode* This) {
   2626     return This->lpVtbl->Release(This);
   2627 }
   2628 /*** IActiveScriptEncode methods ***/
   2629 static FORCEINLINE HRESULT IActiveScriptEncode_EncodeSection(IActiveScriptEncode* This,LPCOLESTR pchIn,DWORD cchIn,LPOLESTR pchOut,DWORD cchOut,DWORD *pcchRet) {
   2630     return This->lpVtbl->EncodeSection(This,pchIn,cchIn,pchOut,cchOut,pcchRet);
   2631 }
   2632 static FORCEINLINE HRESULT IActiveScriptEncode_DecodeScript(IActiveScriptEncode* This,LPCOLESTR pchIn,DWORD cchIn,LPOLESTR pchOut,DWORD cchOut,DWORD *pcchRet) {
   2633     return This->lpVtbl->DecodeScript(This,pchIn,cchIn,pchOut,cchOut,pcchRet);
   2634 }
   2635 static FORCEINLINE HRESULT IActiveScriptEncode_GetEncodeProgId(IActiveScriptEncode* This,BSTR *pbstrOut) {
   2636     return This->lpVtbl->GetEncodeProgId(This,pbstrOut);
   2637 }
   2638 #endif
   2639 #endif
   2640 
   2641 #endif
   2642 
   2643 HRESULT STDMETHODCALLTYPE IActiveScriptEncode_EncodeSection_Proxy(
   2644     IActiveScriptEncode* This,
   2645     LPCOLESTR pchIn,
   2646     DWORD cchIn,
   2647     LPOLESTR pchOut,
   2648     DWORD cchOut,
   2649     DWORD *pcchRet);
   2650 void __RPC_STUB IActiveScriptEncode_EncodeSection_Stub(
   2651     IRpcStubBuffer* This,
   2652     IRpcChannelBuffer* pRpcChannelBuffer,
   2653     PRPC_MESSAGE pRpcMessage,
   2654     DWORD* pdwStubPhase);
   2655 HRESULT STDMETHODCALLTYPE IActiveScriptEncode_DecodeScript_Proxy(
   2656     IActiveScriptEncode* This,
   2657     LPCOLESTR pchIn,
   2658     DWORD cchIn,
   2659     LPOLESTR pchOut,
   2660     DWORD cchOut,
   2661     DWORD *pcchRet);
   2662 void __RPC_STUB IActiveScriptEncode_DecodeScript_Stub(
   2663     IRpcStubBuffer* This,
   2664     IRpcChannelBuffer* pRpcChannelBuffer,
   2665     PRPC_MESSAGE pRpcMessage,
   2666     DWORD* pdwStubPhase);
   2667 HRESULT STDMETHODCALLTYPE IActiveScriptEncode_GetEncodeProgId_Proxy(
   2668     IActiveScriptEncode* This,
   2669     BSTR *pbstrOut);
   2670 void __RPC_STUB IActiveScriptEncode_GetEncodeProgId_Stub(
   2671     IRpcStubBuffer* This,
   2672     IRpcChannelBuffer* pRpcChannelBuffer,
   2673     PRPC_MESSAGE pRpcMessage,
   2674     DWORD* pdwStubPhase);
   2675 
   2676 #endif  /* __IActiveScriptEncode_INTERFACE_DEFINED__ */
   2677 
   2678 
   2679 /*****************************************************************************
   2680  * IActiveScriptHostEncode interface
   2681  */
   2682 #ifndef __IActiveScriptHostEncode_INTERFACE_DEFINED__
   2683 #define __IActiveScriptHostEncode_INTERFACE_DEFINED__
   2684 
   2685 DEFINE_GUID(IID_IActiveScriptHostEncode, 0xbee9b76e, 0xcfe3, 0x11d1, 0xb7,0x47, 0x00,0xc0,0x4f,0xc2,0xb0,0x85);
   2686 #if defined(__cplusplus) && !defined(CINTERFACE)
   2687 MIDL_INTERFACE("bee9b76e-cfe3-11d1-b747-00c04fc2b085")
   2688 IActiveScriptHostEncode : public IUnknown
   2689 {
   2690     virtual HRESULT STDMETHODCALLTYPE EncodeScriptHostFile(
   2691         BSTR bstrInFile,
   2692         BSTR *pbstrOutFile,
   2693         ULONG cFlags,
   2694         BSTR bstrDefaultLang) = 0;
   2695 
   2696 };
   2697 #ifdef __CRT_UUID_DECL
   2698 __CRT_UUID_DECL(IActiveScriptHostEncode, 0xbee9b76e, 0xcfe3, 0x11d1, 0xb7,0x47, 0x00,0xc0,0x4f,0xc2,0xb0,0x85)
   2699 #endif
   2700 #else
   2701 typedef struct IActiveScriptHostEncodeVtbl {
   2702     BEGIN_INTERFACE
   2703 
   2704     /*** IUnknown methods ***/
   2705     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2706         IActiveScriptHostEncode* This,
   2707         REFIID riid,
   2708         void **ppvObject);
   2709 
   2710     ULONG (STDMETHODCALLTYPE *AddRef)(
   2711         IActiveScriptHostEncode* This);
   2712 
   2713     ULONG (STDMETHODCALLTYPE *Release)(
   2714         IActiveScriptHostEncode* This);
   2715 
   2716     /*** IActiveScriptHostEncode methods ***/
   2717     HRESULT (STDMETHODCALLTYPE *EncodeScriptHostFile)(
   2718         IActiveScriptHostEncode* This,
   2719         BSTR bstrInFile,
   2720         BSTR *pbstrOutFile,
   2721         ULONG cFlags,
   2722         BSTR bstrDefaultLang);
   2723 
   2724     END_INTERFACE
   2725 } IActiveScriptHostEncodeVtbl;
   2726 interface IActiveScriptHostEncode {
   2727     CONST_VTBL IActiveScriptHostEncodeVtbl* lpVtbl;
   2728 };
   2729 
   2730 #ifdef COBJMACROS
   2731 #ifndef WIDL_C_INLINE_WRAPPERS
   2732 /*** IUnknown methods ***/
   2733 #define IActiveScriptHostEncode_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2734 #define IActiveScriptHostEncode_AddRef(This) (This)->lpVtbl->AddRef(This)
   2735 #define IActiveScriptHostEncode_Release(This) (This)->lpVtbl->Release(This)
   2736 /*** IActiveScriptHostEncode methods ***/
   2737 #define IActiveScriptHostEncode_EncodeScriptHostFile(This,bstrInFile,pbstrOutFile,cFlags,bstrDefaultLang) (This)->lpVtbl->EncodeScriptHostFile(This,bstrInFile,pbstrOutFile,cFlags,bstrDefaultLang)
   2738 #else
   2739 /*** IUnknown methods ***/
   2740 static FORCEINLINE HRESULT IActiveScriptHostEncode_QueryInterface(IActiveScriptHostEncode* This,REFIID riid,void **ppvObject) {
   2741     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2742 }
   2743 static FORCEINLINE ULONG IActiveScriptHostEncode_AddRef(IActiveScriptHostEncode* This) {
   2744     return This->lpVtbl->AddRef(This);
   2745 }
   2746 static FORCEINLINE ULONG IActiveScriptHostEncode_Release(IActiveScriptHostEncode* This) {
   2747     return This->lpVtbl->Release(This);
   2748 }
   2749 /*** IActiveScriptHostEncode methods ***/
   2750 static FORCEINLINE HRESULT IActiveScriptHostEncode_EncodeScriptHostFile(IActiveScriptHostEncode* This,BSTR bstrInFile,BSTR *pbstrOutFile,ULONG cFlags,BSTR bstrDefaultLang) {
   2751     return This->lpVtbl->EncodeScriptHostFile(This,bstrInFile,pbstrOutFile,cFlags,bstrDefaultLang);
   2752 }
   2753 #endif
   2754 #endif
   2755 
   2756 #endif
   2757 
   2758 HRESULT STDMETHODCALLTYPE IActiveScriptHostEncode_EncodeScriptHostFile_Proxy(
   2759     IActiveScriptHostEncode* This,
   2760     BSTR bstrInFile,
   2761     BSTR *pbstrOutFile,
   2762     ULONG cFlags,
   2763     BSTR bstrDefaultLang);
   2764 void __RPC_STUB IActiveScriptHostEncode_EncodeScriptHostFile_Stub(
   2765     IRpcStubBuffer* This,
   2766     IRpcChannelBuffer* pRpcChannelBuffer,
   2767     PRPC_MESSAGE pRpcMessage,
   2768     DWORD* pdwStubPhase);
   2769 
   2770 #endif  /* __IActiveScriptHostEncode_INTERFACE_DEFINED__ */
   2771 
   2772 
   2773 /*****************************************************************************
   2774  * IBindEventHandler interface
   2775  */
   2776 #ifndef __IBindEventHandler_INTERFACE_DEFINED__
   2777 #define __IBindEventHandler_INTERFACE_DEFINED__
   2778 
   2779 DEFINE_GUID(IID_IBindEventHandler, 0x63cdbcb0, 0xc1b1, 0x11d0, 0x93,0x36, 0x00,0xa0,0xc9,0x0d,0xca,0xa9);
   2780 #if defined(__cplusplus) && !defined(CINTERFACE)
   2781 MIDL_INTERFACE("63cdbcb0-c1b1-11d0-9336-00a0c90dcaa9")
   2782 IBindEventHandler : public IUnknown
   2783 {
   2784     virtual HRESULT STDMETHODCALLTYPE BindHandler(
   2785         LPCOLESTR pstrEvent,
   2786         IDispatch *pdisp) = 0;
   2787 
   2788 };
   2789 #ifdef __CRT_UUID_DECL
   2790 __CRT_UUID_DECL(IBindEventHandler, 0x63cdbcb0, 0xc1b1, 0x11d0, 0x93,0x36, 0x00,0xa0,0xc9,0x0d,0xca,0xa9)
   2791 #endif
   2792 #else
   2793 typedef struct IBindEventHandlerVtbl {
   2794     BEGIN_INTERFACE
   2795 
   2796     /*** IUnknown methods ***/
   2797     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2798         IBindEventHandler* This,
   2799         REFIID riid,
   2800         void **ppvObject);
   2801 
   2802     ULONG (STDMETHODCALLTYPE *AddRef)(
   2803         IBindEventHandler* This);
   2804 
   2805     ULONG (STDMETHODCALLTYPE *Release)(
   2806         IBindEventHandler* This);
   2807 
   2808     /*** IBindEventHandler methods ***/
   2809     HRESULT (STDMETHODCALLTYPE *BindHandler)(
   2810         IBindEventHandler* This,
   2811         LPCOLESTR pstrEvent,
   2812         IDispatch *pdisp);
   2813 
   2814     END_INTERFACE
   2815 } IBindEventHandlerVtbl;
   2816 interface IBindEventHandler {
   2817     CONST_VTBL IBindEventHandlerVtbl* lpVtbl;
   2818 };
   2819 
   2820 #ifdef COBJMACROS
   2821 #ifndef WIDL_C_INLINE_WRAPPERS
   2822 /*** IUnknown methods ***/
   2823 #define IBindEventHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2824 #define IBindEventHandler_AddRef(This) (This)->lpVtbl->AddRef(This)
   2825 #define IBindEventHandler_Release(This) (This)->lpVtbl->Release(This)
   2826 /*** IBindEventHandler methods ***/
   2827 #define IBindEventHandler_BindHandler(This,pstrEvent,pdisp) (This)->lpVtbl->BindHandler(This,pstrEvent,pdisp)
   2828 #else
   2829 /*** IUnknown methods ***/
   2830 static FORCEINLINE HRESULT IBindEventHandler_QueryInterface(IBindEventHandler* This,REFIID riid,void **ppvObject) {
   2831     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2832 }
   2833 static FORCEINLINE ULONG IBindEventHandler_AddRef(IBindEventHandler* This) {
   2834     return This->lpVtbl->AddRef(This);
   2835 }
   2836 static FORCEINLINE ULONG IBindEventHandler_Release(IBindEventHandler* This) {
   2837     return This->lpVtbl->Release(This);
   2838 }
   2839 /*** IBindEventHandler methods ***/
   2840 static FORCEINLINE HRESULT IBindEventHandler_BindHandler(IBindEventHandler* This,LPCOLESTR pstrEvent,IDispatch *pdisp) {
   2841     return This->lpVtbl->BindHandler(This,pstrEvent,pdisp);
   2842 }
   2843 #endif
   2844 #endif
   2845 
   2846 #endif
   2847 
   2848 HRESULT STDMETHODCALLTYPE IBindEventHandler_BindHandler_Proxy(
   2849     IBindEventHandler* This,
   2850     LPCOLESTR pstrEvent,
   2851     IDispatch *pdisp);
   2852 void __RPC_STUB IBindEventHandler_BindHandler_Stub(
   2853     IRpcStubBuffer* This,
   2854     IRpcChannelBuffer* pRpcChannelBuffer,
   2855     PRPC_MESSAGE pRpcMessage,
   2856     DWORD* pdwStubPhase);
   2857 
   2858 #endif  /* __IBindEventHandler_INTERFACE_DEFINED__ */
   2859 
   2860 
   2861 /*****************************************************************************
   2862  * IActiveScriptStats interface
   2863  */
   2864 #ifndef __IActiveScriptStats_INTERFACE_DEFINED__
   2865 #define __IActiveScriptStats_INTERFACE_DEFINED__
   2866 
   2867 DEFINE_GUID(IID_IActiveScriptStats, 0xb8da6310, 0xe19b, 0x11d0, 0x93,0x3c, 0x00,0xa0,0xc9,0x0d,0xca,0xa9);
   2868 #if defined(__cplusplus) && !defined(CINTERFACE)
   2869 MIDL_INTERFACE("b8da6310-e19b-11d0-933c-00a0c90dcaa9")
   2870 IActiveScriptStats : public IUnknown
   2871 {
   2872     virtual HRESULT STDMETHODCALLTYPE GetStat(
   2873         DWORD stid,
   2874         ULONG *pluHi,
   2875         ULONG *pluLo) = 0;
   2876 
   2877     virtual HRESULT STDMETHODCALLTYPE GetStatEx(
   2878         REFGUID guid,
   2879         ULONG *pluHi,
   2880         ULONG *pluLo) = 0;
   2881 
   2882     virtual HRESULT STDMETHODCALLTYPE ResetStats(
   2883         ) = 0;
   2884 
   2885 };
   2886 #ifdef __CRT_UUID_DECL
   2887 __CRT_UUID_DECL(IActiveScriptStats, 0xb8da6310, 0xe19b, 0x11d0, 0x93,0x3c, 0x00,0xa0,0xc9,0x0d,0xca,0xa9)
   2888 #endif
   2889 #else
   2890 typedef struct IActiveScriptStatsVtbl {
   2891     BEGIN_INTERFACE
   2892 
   2893     /*** IUnknown methods ***/
   2894     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   2895         IActiveScriptStats* This,
   2896         REFIID riid,
   2897         void **ppvObject);
   2898 
   2899     ULONG (STDMETHODCALLTYPE *AddRef)(
   2900         IActiveScriptStats* This);
   2901 
   2902     ULONG (STDMETHODCALLTYPE *Release)(
   2903         IActiveScriptStats* This);
   2904 
   2905     /*** IActiveScriptStats methods ***/
   2906     HRESULT (STDMETHODCALLTYPE *GetStat)(
   2907         IActiveScriptStats* This,
   2908         DWORD stid,
   2909         ULONG *pluHi,
   2910         ULONG *pluLo);
   2911 
   2912     HRESULT (STDMETHODCALLTYPE *GetStatEx)(
   2913         IActiveScriptStats* This,
   2914         REFGUID guid,
   2915         ULONG *pluHi,
   2916         ULONG *pluLo);
   2917 
   2918     HRESULT (STDMETHODCALLTYPE *ResetStats)(
   2919         IActiveScriptStats* This);
   2920 
   2921     END_INTERFACE
   2922 } IActiveScriptStatsVtbl;
   2923 interface IActiveScriptStats {
   2924     CONST_VTBL IActiveScriptStatsVtbl* lpVtbl;
   2925 };
   2926 
   2927 #ifdef COBJMACROS
   2928 #ifndef WIDL_C_INLINE_WRAPPERS
   2929 /*** IUnknown methods ***/
   2930 #define IActiveScriptStats_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2931 #define IActiveScriptStats_AddRef(This) (This)->lpVtbl->AddRef(This)
   2932 #define IActiveScriptStats_Release(This) (This)->lpVtbl->Release(This)
   2933 /*** IActiveScriptStats methods ***/
   2934 #define IActiveScriptStats_GetStat(This,stid,pluHi,pluLo) (This)->lpVtbl->GetStat(This,stid,pluHi,pluLo)
   2935 #define IActiveScriptStats_GetStatEx(This,guid,pluHi,pluLo) (This)->lpVtbl->GetStatEx(This,guid,pluHi,pluLo)
   2936 #define IActiveScriptStats_ResetStats(This) (This)->lpVtbl->ResetStats(This)
   2937 #else
   2938 /*** IUnknown methods ***/
   2939 static FORCEINLINE HRESULT IActiveScriptStats_QueryInterface(IActiveScriptStats* This,REFIID riid,void **ppvObject) {
   2940     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   2941 }
   2942 static FORCEINLINE ULONG IActiveScriptStats_AddRef(IActiveScriptStats* This) {
   2943     return This->lpVtbl->AddRef(This);
   2944 }
   2945 static FORCEINLINE ULONG IActiveScriptStats_Release(IActiveScriptStats* This) {
   2946     return This->lpVtbl->Release(This);
   2947 }
   2948 /*** IActiveScriptStats methods ***/
   2949 static FORCEINLINE HRESULT IActiveScriptStats_GetStat(IActiveScriptStats* This,DWORD stid,ULONG *pluHi,ULONG *pluLo) {
   2950     return This->lpVtbl->GetStat(This,stid,pluHi,pluLo);
   2951 }
   2952 static FORCEINLINE HRESULT IActiveScriptStats_GetStatEx(IActiveScriptStats* This,REFGUID guid,ULONG *pluHi,ULONG *pluLo) {
   2953     return This->lpVtbl->GetStatEx(This,guid,pluHi,pluLo);
   2954 }
   2955 static FORCEINLINE HRESULT IActiveScriptStats_ResetStats(IActiveScriptStats* This) {
   2956     return This->lpVtbl->ResetStats(This);
   2957 }
   2958 #endif
   2959 #endif
   2960 
   2961 #endif
   2962 
   2963 HRESULT STDMETHODCALLTYPE IActiveScriptStats_GetStat_Proxy(
   2964     IActiveScriptStats* This,
   2965     DWORD stid,
   2966     ULONG *pluHi,
   2967     ULONG *pluLo);
   2968 void __RPC_STUB IActiveScriptStats_GetStat_Stub(
   2969     IRpcStubBuffer* This,
   2970     IRpcChannelBuffer* pRpcChannelBuffer,
   2971     PRPC_MESSAGE pRpcMessage,
   2972     DWORD* pdwStubPhase);
   2973 HRESULT STDMETHODCALLTYPE IActiveScriptStats_GetStatEx_Proxy(
   2974     IActiveScriptStats* This,
   2975     REFGUID guid,
   2976     ULONG *pluHi,
   2977     ULONG *pluLo);
   2978 void __RPC_STUB IActiveScriptStats_GetStatEx_Stub(
   2979     IRpcStubBuffer* This,
   2980     IRpcChannelBuffer* pRpcChannelBuffer,
   2981     PRPC_MESSAGE pRpcMessage,
   2982     DWORD* pdwStubPhase);
   2983 HRESULT STDMETHODCALLTYPE IActiveScriptStats_ResetStats_Proxy(
   2984     IActiveScriptStats* This);
   2985 void __RPC_STUB IActiveScriptStats_ResetStats_Stub(
   2986     IRpcStubBuffer* This,
   2987     IRpcChannelBuffer* pRpcChannelBuffer,
   2988     PRPC_MESSAGE pRpcMessage,
   2989     DWORD* pdwStubPhase);
   2990 
   2991 #endif  /* __IActiveScriptStats_INTERFACE_DEFINED__ */
   2992 
   2993 
   2994 /*****************************************************************************
   2995  * IActiveScriptProperty interface
   2996  */
   2997 #ifndef __IActiveScriptProperty_INTERFACE_DEFINED__
   2998 #define __IActiveScriptProperty_INTERFACE_DEFINED__
   2999 
   3000 DEFINE_GUID(IID_IActiveScriptProperty, 0x4954e0d0, 0xfbc7, 0x11d1, 0x84,0x10, 0x00,0x60,0x08,0xc3,0xfb,0xfc);
   3001 #if defined(__cplusplus) && !defined(CINTERFACE)
   3002 MIDL_INTERFACE("4954e0d0-fbc7-11d1-8410-006008c3fbfc")
   3003 IActiveScriptProperty : public IUnknown
   3004 {
   3005     virtual HRESULT STDMETHODCALLTYPE GetProperty(
   3006         DWORD dwProperty,
   3007         VARIANT *pvarIndex,
   3008         VARIANT *pvarValue) = 0;
   3009 
   3010     virtual HRESULT STDMETHODCALLTYPE SetProperty(
   3011         DWORD dwProperty,
   3012         VARIANT *pvarIndex,
   3013         VARIANT *pvarValue) = 0;
   3014 
   3015 };
   3016 #ifdef __CRT_UUID_DECL
   3017 __CRT_UUID_DECL(IActiveScriptProperty, 0x4954e0d0, 0xfbc7, 0x11d1, 0x84,0x10, 0x00,0x60,0x08,0xc3,0xfb,0xfc)
   3018 #endif
   3019 #else
   3020 typedef struct IActiveScriptPropertyVtbl {
   3021     BEGIN_INTERFACE
   3022 
   3023     /*** IUnknown methods ***/
   3024     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3025         IActiveScriptProperty* This,
   3026         REFIID riid,
   3027         void **ppvObject);
   3028 
   3029     ULONG (STDMETHODCALLTYPE *AddRef)(
   3030         IActiveScriptProperty* This);
   3031 
   3032     ULONG (STDMETHODCALLTYPE *Release)(
   3033         IActiveScriptProperty* This);
   3034 
   3035     /*** IActiveScriptProperty methods ***/
   3036     HRESULT (STDMETHODCALLTYPE *GetProperty)(
   3037         IActiveScriptProperty* This,
   3038         DWORD dwProperty,
   3039         VARIANT *pvarIndex,
   3040         VARIANT *pvarValue);
   3041 
   3042     HRESULT (STDMETHODCALLTYPE *SetProperty)(
   3043         IActiveScriptProperty* This,
   3044         DWORD dwProperty,
   3045         VARIANT *pvarIndex,
   3046         VARIANT *pvarValue);
   3047 
   3048     END_INTERFACE
   3049 } IActiveScriptPropertyVtbl;
   3050 interface IActiveScriptProperty {
   3051     CONST_VTBL IActiveScriptPropertyVtbl* lpVtbl;
   3052 };
   3053 
   3054 #ifdef COBJMACROS
   3055 #ifndef WIDL_C_INLINE_WRAPPERS
   3056 /*** IUnknown methods ***/
   3057 #define IActiveScriptProperty_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3058 #define IActiveScriptProperty_AddRef(This) (This)->lpVtbl->AddRef(This)
   3059 #define IActiveScriptProperty_Release(This) (This)->lpVtbl->Release(This)
   3060 /*** IActiveScriptProperty methods ***/
   3061 #define IActiveScriptProperty_GetProperty(This,dwProperty,pvarIndex,pvarValue) (This)->lpVtbl->GetProperty(This,dwProperty,pvarIndex,pvarValue)
   3062 #define IActiveScriptProperty_SetProperty(This,dwProperty,pvarIndex,pvarValue) (This)->lpVtbl->SetProperty(This,dwProperty,pvarIndex,pvarValue)
   3063 #else
   3064 /*** IUnknown methods ***/
   3065 static FORCEINLINE HRESULT IActiveScriptProperty_QueryInterface(IActiveScriptProperty* This,REFIID riid,void **ppvObject) {
   3066     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3067 }
   3068 static FORCEINLINE ULONG IActiveScriptProperty_AddRef(IActiveScriptProperty* This) {
   3069     return This->lpVtbl->AddRef(This);
   3070 }
   3071 static FORCEINLINE ULONG IActiveScriptProperty_Release(IActiveScriptProperty* This) {
   3072     return This->lpVtbl->Release(This);
   3073 }
   3074 /*** IActiveScriptProperty methods ***/
   3075 static FORCEINLINE HRESULT IActiveScriptProperty_GetProperty(IActiveScriptProperty* This,DWORD dwProperty,VARIANT *pvarIndex,VARIANT *pvarValue) {
   3076     return This->lpVtbl->GetProperty(This,dwProperty,pvarIndex,pvarValue);
   3077 }
   3078 static FORCEINLINE HRESULT IActiveScriptProperty_SetProperty(IActiveScriptProperty* This,DWORD dwProperty,VARIANT *pvarIndex,VARIANT *pvarValue) {
   3079     return This->lpVtbl->SetProperty(This,dwProperty,pvarIndex,pvarValue);
   3080 }
   3081 #endif
   3082 #endif
   3083 
   3084 #endif
   3085 
   3086 HRESULT STDMETHODCALLTYPE IActiveScriptProperty_GetProperty_Proxy(
   3087     IActiveScriptProperty* This,
   3088     DWORD dwProperty,
   3089     VARIANT *pvarIndex,
   3090     VARIANT *pvarValue);
   3091 void __RPC_STUB IActiveScriptProperty_GetProperty_Stub(
   3092     IRpcStubBuffer* This,
   3093     IRpcChannelBuffer* pRpcChannelBuffer,
   3094     PRPC_MESSAGE pRpcMessage,
   3095     DWORD* pdwStubPhase);
   3096 HRESULT STDMETHODCALLTYPE IActiveScriptProperty_SetProperty_Proxy(
   3097     IActiveScriptProperty* This,
   3098     DWORD dwProperty,
   3099     VARIANT *pvarIndex,
   3100     VARIANT *pvarValue);
   3101 void __RPC_STUB IActiveScriptProperty_SetProperty_Stub(
   3102     IRpcStubBuffer* This,
   3103     IRpcChannelBuffer* pRpcChannelBuffer,
   3104     PRPC_MESSAGE pRpcMessage,
   3105     DWORD* pdwStubPhase);
   3106 
   3107 #endif  /* __IActiveScriptProperty_INTERFACE_DEFINED__ */
   3108 
   3109 
   3110 /*****************************************************************************
   3111  * ITridentEventSink interface
   3112  */
   3113 #ifndef __ITridentEventSink_INTERFACE_DEFINED__
   3114 #define __ITridentEventSink_INTERFACE_DEFINED__
   3115 
   3116 DEFINE_GUID(IID_ITridentEventSink, 0x1dc9ca50, 0x06ef, 0x11d2, 0x84,0x15, 0x00,0x60,0x08,0xc3,0xfb,0xfc);
   3117 #if defined(__cplusplus) && !defined(CINTERFACE)
   3118 MIDL_INTERFACE("1dc9ca50-06ef-11d2-8415-006008c3fbfc")
   3119 ITridentEventSink : public IUnknown
   3120 {
   3121     virtual HRESULT STDMETHODCALLTYPE FireEvent(
   3122         LPCOLESTR pstrEvent,
   3123         DISPPARAMS *pdp,
   3124         VARIANT *pvarRes,
   3125         EXCEPINFO *pei) = 0;
   3126 
   3127 };
   3128 #ifdef __CRT_UUID_DECL
   3129 __CRT_UUID_DECL(ITridentEventSink, 0x1dc9ca50, 0x06ef, 0x11d2, 0x84,0x15, 0x00,0x60,0x08,0xc3,0xfb,0xfc)
   3130 #endif
   3131 #else
   3132 typedef struct ITridentEventSinkVtbl {
   3133     BEGIN_INTERFACE
   3134 
   3135     /*** IUnknown methods ***/
   3136     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3137         ITridentEventSink* This,
   3138         REFIID riid,
   3139         void **ppvObject);
   3140 
   3141     ULONG (STDMETHODCALLTYPE *AddRef)(
   3142         ITridentEventSink* This);
   3143 
   3144     ULONG (STDMETHODCALLTYPE *Release)(
   3145         ITridentEventSink* This);
   3146 
   3147     /*** ITridentEventSink methods ***/
   3148     HRESULT (STDMETHODCALLTYPE *FireEvent)(
   3149         ITridentEventSink* This,
   3150         LPCOLESTR pstrEvent,
   3151         DISPPARAMS *pdp,
   3152         VARIANT *pvarRes,
   3153         EXCEPINFO *pei);
   3154 
   3155     END_INTERFACE
   3156 } ITridentEventSinkVtbl;
   3157 interface ITridentEventSink {
   3158     CONST_VTBL ITridentEventSinkVtbl* lpVtbl;
   3159 };
   3160 
   3161 #ifdef COBJMACROS
   3162 #ifndef WIDL_C_INLINE_WRAPPERS
   3163 /*** IUnknown methods ***/
   3164 #define ITridentEventSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3165 #define ITridentEventSink_AddRef(This) (This)->lpVtbl->AddRef(This)
   3166 #define ITridentEventSink_Release(This) (This)->lpVtbl->Release(This)
   3167 /*** ITridentEventSink methods ***/
   3168 #define ITridentEventSink_FireEvent(This,pstrEvent,pdp,pvarRes,pei) (This)->lpVtbl->FireEvent(This,pstrEvent,pdp,pvarRes,pei)
   3169 #else
   3170 /*** IUnknown methods ***/
   3171 static FORCEINLINE HRESULT ITridentEventSink_QueryInterface(ITridentEventSink* This,REFIID riid,void **ppvObject) {
   3172     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3173 }
   3174 static FORCEINLINE ULONG ITridentEventSink_AddRef(ITridentEventSink* This) {
   3175     return This->lpVtbl->AddRef(This);
   3176 }
   3177 static FORCEINLINE ULONG ITridentEventSink_Release(ITridentEventSink* This) {
   3178     return This->lpVtbl->Release(This);
   3179 }
   3180 /*** ITridentEventSink methods ***/
   3181 static FORCEINLINE HRESULT ITridentEventSink_FireEvent(ITridentEventSink* This,LPCOLESTR pstrEvent,DISPPARAMS *pdp,VARIANT *pvarRes,EXCEPINFO *pei) {
   3182     return This->lpVtbl->FireEvent(This,pstrEvent,pdp,pvarRes,pei);
   3183 }
   3184 #endif
   3185 #endif
   3186 
   3187 #endif
   3188 
   3189 HRESULT STDMETHODCALLTYPE ITridentEventSink_FireEvent_Proxy(
   3190     ITridentEventSink* This,
   3191     LPCOLESTR pstrEvent,
   3192     DISPPARAMS *pdp,
   3193     VARIANT *pvarRes,
   3194     EXCEPINFO *pei);
   3195 void __RPC_STUB ITridentEventSink_FireEvent_Stub(
   3196     IRpcStubBuffer* This,
   3197     IRpcChannelBuffer* pRpcChannelBuffer,
   3198     PRPC_MESSAGE pRpcMessage,
   3199     DWORD* pdwStubPhase);
   3200 
   3201 #endif  /* __ITridentEventSink_INTERFACE_DEFINED__ */
   3202 
   3203 
   3204 /*****************************************************************************
   3205  * IActiveScriptGarbageCollector interface
   3206  */
   3207 #ifndef __IActiveScriptGarbageCollector_INTERFACE_DEFINED__
   3208 #define __IActiveScriptGarbageCollector_INTERFACE_DEFINED__
   3209 
   3210 DEFINE_GUID(IID_IActiveScriptGarbageCollector, 0x6aa2c4a0, 0x2b53, 0x11d4, 0xa2,0xa0, 0x00,0x10,0x4b,0xd3,0x50,0x90);
   3211 #if defined(__cplusplus) && !defined(CINTERFACE)
   3212 MIDL_INTERFACE("6aa2c4a0-2b53-11d4-a2a0-00104bd35090")
   3213 IActiveScriptGarbageCollector : public IUnknown
   3214 {
   3215     virtual HRESULT STDMETHODCALLTYPE CollectGarbage(
   3216         SCRIPTGCTYPE scriptgctype) = 0;
   3217 
   3218 };
   3219 #ifdef __CRT_UUID_DECL
   3220 __CRT_UUID_DECL(IActiveScriptGarbageCollector, 0x6aa2c4a0, 0x2b53, 0x11d4, 0xa2,0xa0, 0x00,0x10,0x4b,0xd3,0x50,0x90)
   3221 #endif
   3222 #else
   3223 typedef struct IActiveScriptGarbageCollectorVtbl {
   3224     BEGIN_INTERFACE
   3225 
   3226     /*** IUnknown methods ***/
   3227     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3228         IActiveScriptGarbageCollector* This,
   3229         REFIID riid,
   3230         void **ppvObject);
   3231 
   3232     ULONG (STDMETHODCALLTYPE *AddRef)(
   3233         IActiveScriptGarbageCollector* This);
   3234 
   3235     ULONG (STDMETHODCALLTYPE *Release)(
   3236         IActiveScriptGarbageCollector* This);
   3237 
   3238     /*** IActiveScriptGarbageCollector methods ***/
   3239     HRESULT (STDMETHODCALLTYPE *CollectGarbage)(
   3240         IActiveScriptGarbageCollector* This,
   3241         SCRIPTGCTYPE scriptgctype);
   3242 
   3243     END_INTERFACE
   3244 } IActiveScriptGarbageCollectorVtbl;
   3245 interface IActiveScriptGarbageCollector {
   3246     CONST_VTBL IActiveScriptGarbageCollectorVtbl* lpVtbl;
   3247 };
   3248 
   3249 #ifdef COBJMACROS
   3250 #ifndef WIDL_C_INLINE_WRAPPERS
   3251 /*** IUnknown methods ***/
   3252 #define IActiveScriptGarbageCollector_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3253 #define IActiveScriptGarbageCollector_AddRef(This) (This)->lpVtbl->AddRef(This)
   3254 #define IActiveScriptGarbageCollector_Release(This) (This)->lpVtbl->Release(This)
   3255 /*** IActiveScriptGarbageCollector methods ***/
   3256 #define IActiveScriptGarbageCollector_CollectGarbage(This,scriptgctype) (This)->lpVtbl->CollectGarbage(This,scriptgctype)
   3257 #else
   3258 /*** IUnknown methods ***/
   3259 static FORCEINLINE HRESULT IActiveScriptGarbageCollector_QueryInterface(IActiveScriptGarbageCollector* This,REFIID riid,void **ppvObject) {
   3260     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3261 }
   3262 static FORCEINLINE ULONG IActiveScriptGarbageCollector_AddRef(IActiveScriptGarbageCollector* This) {
   3263     return This->lpVtbl->AddRef(This);
   3264 }
   3265 static FORCEINLINE ULONG IActiveScriptGarbageCollector_Release(IActiveScriptGarbageCollector* This) {
   3266     return This->lpVtbl->Release(This);
   3267 }
   3268 /*** IActiveScriptGarbageCollector methods ***/
   3269 static FORCEINLINE HRESULT IActiveScriptGarbageCollector_CollectGarbage(IActiveScriptGarbageCollector* This,SCRIPTGCTYPE scriptgctype) {
   3270     return This->lpVtbl->CollectGarbage(This,scriptgctype);
   3271 }
   3272 #endif
   3273 #endif
   3274 
   3275 #endif
   3276 
   3277 HRESULT STDMETHODCALLTYPE IActiveScriptGarbageCollector_CollectGarbage_Proxy(
   3278     IActiveScriptGarbageCollector* This,
   3279     SCRIPTGCTYPE scriptgctype);
   3280 void __RPC_STUB IActiveScriptGarbageCollector_CollectGarbage_Stub(
   3281     IRpcStubBuffer* This,
   3282     IRpcChannelBuffer* pRpcChannelBuffer,
   3283     PRPC_MESSAGE pRpcMessage,
   3284     DWORD* pdwStubPhase);
   3285 
   3286 #endif  /* __IActiveScriptGarbageCollector_INTERFACE_DEFINED__ */
   3287 
   3288 
   3289 /*****************************************************************************
   3290  * IActiveScriptSIPInfo interface
   3291  */
   3292 #ifndef __IActiveScriptSIPInfo_INTERFACE_DEFINED__
   3293 #define __IActiveScriptSIPInfo_INTERFACE_DEFINED__
   3294 
   3295 DEFINE_GUID(IID_IActiveScriptSIPInfo, 0x764651d0, 0x38de, 0x11d4, 0xa2,0xa3, 0x00,0x10,0x4b,0xd3,0x50,0x90);
   3296 #if defined(__cplusplus) && !defined(CINTERFACE)
   3297 MIDL_INTERFACE("764651d0-38de-11d4-a2a3-00104bd35090")
   3298 IActiveScriptSIPInfo : public IUnknown
   3299 {
   3300     virtual HRESULT STDMETHODCALLTYPE GetSIPOID(
   3301         GUID *poid_sip) = 0;
   3302 
   3303 };
   3304 #ifdef __CRT_UUID_DECL
   3305 __CRT_UUID_DECL(IActiveScriptSIPInfo, 0x764651d0, 0x38de, 0x11d4, 0xa2,0xa3, 0x00,0x10,0x4b,0xd3,0x50,0x90)
   3306 #endif
   3307 #else
   3308 typedef struct IActiveScriptSIPInfoVtbl {
   3309     BEGIN_INTERFACE
   3310 
   3311     /*** IUnknown methods ***/
   3312     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3313         IActiveScriptSIPInfo* This,
   3314         REFIID riid,
   3315         void **ppvObject);
   3316 
   3317     ULONG (STDMETHODCALLTYPE *AddRef)(
   3318         IActiveScriptSIPInfo* This);
   3319 
   3320     ULONG (STDMETHODCALLTYPE *Release)(
   3321         IActiveScriptSIPInfo* This);
   3322 
   3323     /*** IActiveScriptSIPInfo methods ***/
   3324     HRESULT (STDMETHODCALLTYPE *GetSIPOID)(
   3325         IActiveScriptSIPInfo* This,
   3326         GUID *poid_sip);
   3327 
   3328     END_INTERFACE
   3329 } IActiveScriptSIPInfoVtbl;
   3330 interface IActiveScriptSIPInfo {
   3331     CONST_VTBL IActiveScriptSIPInfoVtbl* lpVtbl;
   3332 };
   3333 
   3334 #ifdef COBJMACROS
   3335 #ifndef WIDL_C_INLINE_WRAPPERS
   3336 /*** IUnknown methods ***/
   3337 #define IActiveScriptSIPInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3338 #define IActiveScriptSIPInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
   3339 #define IActiveScriptSIPInfo_Release(This) (This)->lpVtbl->Release(This)
   3340 /*** IActiveScriptSIPInfo methods ***/
   3341 #define IActiveScriptSIPInfo_GetSIPOID(This,poid_sip) (This)->lpVtbl->GetSIPOID(This,poid_sip)
   3342 #else
   3343 /*** IUnknown methods ***/
   3344 static FORCEINLINE HRESULT IActiveScriptSIPInfo_QueryInterface(IActiveScriptSIPInfo* This,REFIID riid,void **ppvObject) {
   3345     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3346 }
   3347 static FORCEINLINE ULONG IActiveScriptSIPInfo_AddRef(IActiveScriptSIPInfo* This) {
   3348     return This->lpVtbl->AddRef(This);
   3349 }
   3350 static FORCEINLINE ULONG IActiveScriptSIPInfo_Release(IActiveScriptSIPInfo* This) {
   3351     return This->lpVtbl->Release(This);
   3352 }
   3353 /*** IActiveScriptSIPInfo methods ***/
   3354 static FORCEINLINE HRESULT IActiveScriptSIPInfo_GetSIPOID(IActiveScriptSIPInfo* This,GUID *poid_sip) {
   3355     return This->lpVtbl->GetSIPOID(This,poid_sip);
   3356 }
   3357 #endif
   3358 #endif
   3359 
   3360 #endif
   3361 
   3362 HRESULT STDMETHODCALLTYPE IActiveScriptSIPInfo_GetSIPOID_Proxy(
   3363     IActiveScriptSIPInfo* This,
   3364     GUID *poid_sip);
   3365 void __RPC_STUB IActiveScriptSIPInfo_GetSIPOID_Stub(
   3366     IRpcStubBuffer* This,
   3367     IRpcChannelBuffer* pRpcChannelBuffer,
   3368     PRPC_MESSAGE pRpcMessage,
   3369     DWORD* pdwStubPhase);
   3370 
   3371 #endif  /* __IActiveScriptSIPInfo_INTERFACE_DEFINED__ */
   3372 
   3373 
   3374 /*****************************************************************************
   3375  * IActiveScriptSiteTraceInfo interface
   3376  */
   3377 #ifndef __IActiveScriptSiteTraceInfo_INTERFACE_DEFINED__
   3378 #define __IActiveScriptSiteTraceInfo_INTERFACE_DEFINED__
   3379 
   3380 DEFINE_GUID(IID_IActiveScriptSiteTraceInfo, 0x4b7272ae, 0x1955, 0x4bfe, 0x98,0xb0, 0x78,0x06,0x21,0x88,0x85,0x69);
   3381 #if defined(__cplusplus) && !defined(CINTERFACE)
   3382 MIDL_INTERFACE("4b7272ae-1955-4bfe-98b0-780621888569")
   3383 IActiveScriptSiteTraceInfo : public IUnknown
   3384 {
   3385     virtual HRESULT STDMETHODCALLTYPE SendScriptTraceInfo(
   3386         SCRIPTTRACEINFO stiEventType,
   3387         GUID guidContextID,
   3388         DWORD dwScriptContextCookie,
   3389         LONG lScriptStatementStart,
   3390         LONG lScriptStatementEnd,
   3391         DWORD64 dwReserved) = 0;
   3392 
   3393 };
   3394 #ifdef __CRT_UUID_DECL
   3395 __CRT_UUID_DECL(IActiveScriptSiteTraceInfo, 0x4b7272ae, 0x1955, 0x4bfe, 0x98,0xb0, 0x78,0x06,0x21,0x88,0x85,0x69)
   3396 #endif
   3397 #else
   3398 typedef struct IActiveScriptSiteTraceInfoVtbl {
   3399     BEGIN_INTERFACE
   3400 
   3401     /*** IUnknown methods ***/
   3402     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3403         IActiveScriptSiteTraceInfo* This,
   3404         REFIID riid,
   3405         void **ppvObject);
   3406 
   3407     ULONG (STDMETHODCALLTYPE *AddRef)(
   3408         IActiveScriptSiteTraceInfo* This);
   3409 
   3410     ULONG (STDMETHODCALLTYPE *Release)(
   3411         IActiveScriptSiteTraceInfo* This);
   3412 
   3413     /*** IActiveScriptSiteTraceInfo methods ***/
   3414     HRESULT (STDMETHODCALLTYPE *SendScriptTraceInfo)(
   3415         IActiveScriptSiteTraceInfo* This,
   3416         SCRIPTTRACEINFO stiEventType,
   3417         GUID guidContextID,
   3418         DWORD dwScriptContextCookie,
   3419         LONG lScriptStatementStart,
   3420         LONG lScriptStatementEnd,
   3421         DWORD64 dwReserved);
   3422 
   3423     END_INTERFACE
   3424 } IActiveScriptSiteTraceInfoVtbl;
   3425 interface IActiveScriptSiteTraceInfo {
   3426     CONST_VTBL IActiveScriptSiteTraceInfoVtbl* lpVtbl;
   3427 };
   3428 
   3429 #ifdef COBJMACROS
   3430 #ifndef WIDL_C_INLINE_WRAPPERS
   3431 /*** IUnknown methods ***/
   3432 #define IActiveScriptSiteTraceInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3433 #define IActiveScriptSiteTraceInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
   3434 #define IActiveScriptSiteTraceInfo_Release(This) (This)->lpVtbl->Release(This)
   3435 /*** IActiveScriptSiteTraceInfo methods ***/
   3436 #define IActiveScriptSiteTraceInfo_SendScriptTraceInfo(This,stiEventType,guidContextID,dwScriptContextCookie,lScriptStatementStart,lScriptStatementEnd,dwReserved) (This)->lpVtbl->SendScriptTraceInfo(This,stiEventType,guidContextID,dwScriptContextCookie,lScriptStatementStart,lScriptStatementEnd,dwReserved)
   3437 #else
   3438 /*** IUnknown methods ***/
   3439 static FORCEINLINE HRESULT IActiveScriptSiteTraceInfo_QueryInterface(IActiveScriptSiteTraceInfo* This,REFIID riid,void **ppvObject) {
   3440     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3441 }
   3442 static FORCEINLINE ULONG IActiveScriptSiteTraceInfo_AddRef(IActiveScriptSiteTraceInfo* This) {
   3443     return This->lpVtbl->AddRef(This);
   3444 }
   3445 static FORCEINLINE ULONG IActiveScriptSiteTraceInfo_Release(IActiveScriptSiteTraceInfo* This) {
   3446     return This->lpVtbl->Release(This);
   3447 }
   3448 /*** IActiveScriptSiteTraceInfo methods ***/
   3449 static FORCEINLINE HRESULT IActiveScriptSiteTraceInfo_SendScriptTraceInfo(IActiveScriptSiteTraceInfo* This,SCRIPTTRACEINFO stiEventType,GUID guidContextID,DWORD dwScriptContextCookie,LONG lScriptStatementStart,LONG lScriptStatementEnd,DWORD64 dwReserved) {
   3450     return This->lpVtbl->SendScriptTraceInfo(This,stiEventType,guidContextID,dwScriptContextCookie,lScriptStatementStart,lScriptStatementEnd,dwReserved);
   3451 }
   3452 #endif
   3453 #endif
   3454 
   3455 #endif
   3456 
   3457 HRESULT STDMETHODCALLTYPE IActiveScriptSiteTraceInfo_SendScriptTraceInfo_Proxy(
   3458     IActiveScriptSiteTraceInfo* This,
   3459     SCRIPTTRACEINFO stiEventType,
   3460     GUID guidContextID,
   3461     DWORD dwScriptContextCookie,
   3462     LONG lScriptStatementStart,
   3463     LONG lScriptStatementEnd,
   3464     DWORD64 dwReserved);
   3465 void __RPC_STUB IActiveScriptSiteTraceInfo_SendScriptTraceInfo_Stub(
   3466     IRpcStubBuffer* This,
   3467     IRpcChannelBuffer* pRpcChannelBuffer,
   3468     PRPC_MESSAGE pRpcMessage,
   3469     DWORD* pdwStubPhase);
   3470 
   3471 #endif  /* __IActiveScriptSiteTraceInfo_INTERFACE_DEFINED__ */
   3472 
   3473 
   3474 /*****************************************************************************
   3475  * IActiveScriptTraceInfo interface
   3476  */
   3477 #ifndef __IActiveScriptTraceInfo_INTERFACE_DEFINED__
   3478 #define __IActiveScriptTraceInfo_INTERFACE_DEFINED__
   3479 
   3480 DEFINE_GUID(IID_IActiveScriptTraceInfo, 0xc35456e7, 0xbebf, 0x4a1b, 0x86,0xa9, 0x24,0xd5,0x6b,0xe8,0xb3,0x69);
   3481 #if defined(__cplusplus) && !defined(CINTERFACE)
   3482 MIDL_INTERFACE("c35456e7-bebf-4a1b-86a9-24d56be8b369")
   3483 IActiveScriptTraceInfo : public IUnknown
   3484 {
   3485     virtual HRESULT STDMETHODCALLTYPE StartScriptTracing(
   3486         IActiveScriptSiteTraceInfo *pSiteTraceInfo,
   3487         GUID guidContextID) = 0;
   3488 
   3489     virtual HRESULT STDMETHODCALLTYPE StopScriptTracing(
   3490         ) = 0;
   3491 
   3492 };
   3493 #ifdef __CRT_UUID_DECL
   3494 __CRT_UUID_DECL(IActiveScriptTraceInfo, 0xc35456e7, 0xbebf, 0x4a1b, 0x86,0xa9, 0x24,0xd5,0x6b,0xe8,0xb3,0x69)
   3495 #endif
   3496 #else
   3497 typedef struct IActiveScriptTraceInfoVtbl {
   3498     BEGIN_INTERFACE
   3499 
   3500     /*** IUnknown methods ***/
   3501     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3502         IActiveScriptTraceInfo* This,
   3503         REFIID riid,
   3504         void **ppvObject);
   3505 
   3506     ULONG (STDMETHODCALLTYPE *AddRef)(
   3507         IActiveScriptTraceInfo* This);
   3508 
   3509     ULONG (STDMETHODCALLTYPE *Release)(
   3510         IActiveScriptTraceInfo* This);
   3511 
   3512     /*** IActiveScriptTraceInfo methods ***/
   3513     HRESULT (STDMETHODCALLTYPE *StartScriptTracing)(
   3514         IActiveScriptTraceInfo* This,
   3515         IActiveScriptSiteTraceInfo *pSiteTraceInfo,
   3516         GUID guidContextID);
   3517 
   3518     HRESULT (STDMETHODCALLTYPE *StopScriptTracing)(
   3519         IActiveScriptTraceInfo* This);
   3520 
   3521     END_INTERFACE
   3522 } IActiveScriptTraceInfoVtbl;
   3523 interface IActiveScriptTraceInfo {
   3524     CONST_VTBL IActiveScriptTraceInfoVtbl* lpVtbl;
   3525 };
   3526 
   3527 #ifdef COBJMACROS
   3528 #ifndef WIDL_C_INLINE_WRAPPERS
   3529 /*** IUnknown methods ***/
   3530 #define IActiveScriptTraceInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3531 #define IActiveScriptTraceInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
   3532 #define IActiveScriptTraceInfo_Release(This) (This)->lpVtbl->Release(This)
   3533 /*** IActiveScriptTraceInfo methods ***/
   3534 #define IActiveScriptTraceInfo_StartScriptTracing(This,pSiteTraceInfo,guidContextID) (This)->lpVtbl->StartScriptTracing(This,pSiteTraceInfo,guidContextID)
   3535 #define IActiveScriptTraceInfo_StopScriptTracing(This) (This)->lpVtbl->StopScriptTracing(This)
   3536 #else
   3537 /*** IUnknown methods ***/
   3538 static FORCEINLINE HRESULT IActiveScriptTraceInfo_QueryInterface(IActiveScriptTraceInfo* This,REFIID riid,void **ppvObject) {
   3539     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3540 }
   3541 static FORCEINLINE ULONG IActiveScriptTraceInfo_AddRef(IActiveScriptTraceInfo* This) {
   3542     return This->lpVtbl->AddRef(This);
   3543 }
   3544 static FORCEINLINE ULONG IActiveScriptTraceInfo_Release(IActiveScriptTraceInfo* This) {
   3545     return This->lpVtbl->Release(This);
   3546 }
   3547 /*** IActiveScriptTraceInfo methods ***/
   3548 static FORCEINLINE HRESULT IActiveScriptTraceInfo_StartScriptTracing(IActiveScriptTraceInfo* This,IActiveScriptSiteTraceInfo *pSiteTraceInfo,GUID guidContextID) {
   3549     return This->lpVtbl->StartScriptTracing(This,pSiteTraceInfo,guidContextID);
   3550 }
   3551 static FORCEINLINE HRESULT IActiveScriptTraceInfo_StopScriptTracing(IActiveScriptTraceInfo* This) {
   3552     return This->lpVtbl->StopScriptTracing(This);
   3553 }
   3554 #endif
   3555 #endif
   3556 
   3557 #endif
   3558 
   3559 HRESULT STDMETHODCALLTYPE IActiveScriptTraceInfo_StartScriptTracing_Proxy(
   3560     IActiveScriptTraceInfo* This,
   3561     IActiveScriptSiteTraceInfo *pSiteTraceInfo,
   3562     GUID guidContextID);
   3563 void __RPC_STUB IActiveScriptTraceInfo_StartScriptTracing_Stub(
   3564     IRpcStubBuffer* This,
   3565     IRpcChannelBuffer* pRpcChannelBuffer,
   3566     PRPC_MESSAGE pRpcMessage,
   3567     DWORD* pdwStubPhase);
   3568 HRESULT STDMETHODCALLTYPE IActiveScriptTraceInfo_StopScriptTracing_Proxy(
   3569     IActiveScriptTraceInfo* This);
   3570 void __RPC_STUB IActiveScriptTraceInfo_StopScriptTracing_Stub(
   3571     IRpcStubBuffer* This,
   3572     IRpcChannelBuffer* pRpcChannelBuffer,
   3573     PRPC_MESSAGE pRpcMessage,
   3574     DWORD* pdwStubPhase);
   3575 
   3576 #endif  /* __IActiveScriptTraceInfo_INTERFACE_DEFINED__ */
   3577 
   3578 
   3579 /*****************************************************************************
   3580  * IActiveScriptStringCompare interface
   3581  */
   3582 #ifndef __IActiveScriptStringCompare_INTERFACE_DEFINED__
   3583 #define __IActiveScriptStringCompare_INTERFACE_DEFINED__
   3584 
   3585 DEFINE_GUID(IID_IActiveScriptStringCompare, 0x58562769, 0xed52, 0x42f7, 0x84,0x03, 0x49,0x63,0x51,0x4e,0x1f,0x11);
   3586 #if defined(__cplusplus) && !defined(CINTERFACE)
   3587 MIDL_INTERFACE("58562769-ed52-42f7-8403-4963514e1f11")
   3588 IActiveScriptStringCompare : public IUnknown
   3589 {
   3590     virtual HRESULT STDMETHODCALLTYPE StrComp(
   3591         BSTR bszStr1,
   3592         BSTR bszStr2,
   3593         LONG *iRet) = 0;
   3594 
   3595 };
   3596 #ifdef __CRT_UUID_DECL
   3597 __CRT_UUID_DECL(IActiveScriptStringCompare, 0x58562769, 0xed52, 0x42f7, 0x84,0x03, 0x49,0x63,0x51,0x4e,0x1f,0x11)
   3598 #endif
   3599 #else
   3600 typedef struct IActiveScriptStringCompareVtbl {
   3601     BEGIN_INTERFACE
   3602 
   3603     /*** IUnknown methods ***/
   3604     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
   3605         IActiveScriptStringCompare* This,
   3606         REFIID riid,
   3607         void **ppvObject);
   3608 
   3609     ULONG (STDMETHODCALLTYPE *AddRef)(
   3610         IActiveScriptStringCompare* This);
   3611 
   3612     ULONG (STDMETHODCALLTYPE *Release)(
   3613         IActiveScriptStringCompare* This);
   3614 
   3615     /*** IActiveScriptStringCompare methods ***/
   3616     HRESULT (STDMETHODCALLTYPE *StrComp)(
   3617         IActiveScriptStringCompare* This,
   3618         BSTR bszStr1,
   3619         BSTR bszStr2,
   3620         LONG *iRet);
   3621 
   3622     END_INTERFACE
   3623 } IActiveScriptStringCompareVtbl;
   3624 interface IActiveScriptStringCompare {
   3625     CONST_VTBL IActiveScriptStringCompareVtbl* lpVtbl;
   3626 };
   3627 
   3628 #ifdef COBJMACROS
   3629 #ifndef WIDL_C_INLINE_WRAPPERS
   3630 /*** IUnknown methods ***/
   3631 #define IActiveScriptStringCompare_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3632 #define IActiveScriptStringCompare_AddRef(This) (This)->lpVtbl->AddRef(This)
   3633 #define IActiveScriptStringCompare_Release(This) (This)->lpVtbl->Release(This)
   3634 /*** IActiveScriptStringCompare methods ***/
   3635 #define IActiveScriptStringCompare_StrComp(This,bszStr1,bszStr2,iRet) (This)->lpVtbl->StrComp(This,bszStr1,bszStr2,iRet)
   3636 #else
   3637 /*** IUnknown methods ***/
   3638 static FORCEINLINE HRESULT IActiveScriptStringCompare_QueryInterface(IActiveScriptStringCompare* This,REFIID riid,void **ppvObject) {
   3639     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
   3640 }
   3641 static FORCEINLINE ULONG IActiveScriptStringCompare_AddRef(IActiveScriptStringCompare* This) {
   3642     return This->lpVtbl->AddRef(This);
   3643 }
   3644 static FORCEINLINE ULONG IActiveScriptStringCompare_Release(IActiveScriptStringCompare* This) {
   3645     return This->lpVtbl->Release(This);
   3646 }
   3647 /*** IActiveScriptStringCompare methods ***/
   3648 static FORCEINLINE HRESULT IActiveScriptStringCompare_StrComp(IActiveScriptStringCompare* This,BSTR bszStr1,BSTR bszStr2,LONG *iRet) {
   3649     return This->lpVtbl->StrComp(This,bszStr1,bszStr2,iRet);
   3650 }
   3651 #endif
   3652 #endif
   3653 
   3654 #endif
   3655 
   3656 HRESULT STDMETHODCALLTYPE IActiveScriptStringCompare_StrComp_Proxy(
   3657     IActiveScriptStringCompare* This,
   3658     BSTR bszStr1,
   3659     BSTR bszStr2,
   3660     LONG *iRet);
   3661 void __RPC_STUB IActiveScriptStringCompare_StrComp_Stub(
   3662     IRpcStubBuffer* This,
   3663     IRpcChannelBuffer* pRpcChannelBuffer,
   3664     PRPC_MESSAGE pRpcMessage,
   3665     DWORD* pdwStubPhase);
   3666 
   3667 #endif  /* __IActiveScriptStringCompare_INTERFACE_DEFINED__ */
   3668 
   3669 #endif
   3670 
   3671 #endif
   3672 /* Begin additional prototypes for all interfaces */
   3673 
   3674 ULONG           __RPC_USER BSTR_UserSize     (ULONG *, ULONG, BSTR *);
   3675 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
   3676 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
   3677 void            __RPC_USER BSTR_UserFree     (ULONG *, BSTR *);
   3678 ULONG           __RPC_USER VARIANT_UserSize     (ULONG *, ULONG, VARIANT *);
   3679 unsigned char * __RPC_USER VARIANT_UserMarshal  (ULONG *, unsigned char *, VARIANT *);
   3680 unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *);
   3681 void            __RPC_USER VARIANT_UserFree     (ULONG *, VARIANT *);
   3682 ULONG           __RPC_USER HWND_UserSize     (ULONG *, ULONG, HWND *);
   3683 unsigned char * __RPC_USER HWND_UserMarshal  (ULONG *, unsigned char *, HWND *);
   3684 unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
   3685 void            __RPC_USER HWND_UserFree     (ULONG *, HWND *);
   3686 
   3687 /* End additional prototypes */
   3688 
   3689 #ifdef __cplusplus
   3690 }
   3691 #endif
   3692 
   3693 #endif /* __activscp_h__ */
   3694