[1166] | 1 | cpp_quote("/**")
|
---|
| 2 | cpp_quote(" * This file is part of the mingw-w64 runtime package.")
|
---|
| 3 | cpp_quote(" * No warranty is given; refer to the file DISCLAIMER within this package.")
|
---|
| 4 | cpp_quote(" */")
|
---|
| 5 | cpp_quote("")
|
---|
| 6 | cpp_quote("#ifndef __ActivScp_h")
|
---|
| 7 | cpp_quote("#define __ActivScp_h")
|
---|
| 8 | cpp_quote("")
|
---|
| 9 | cpp_quote("#include <winapifamily.h>")
|
---|
| 10 | cpp_quote("")
|
---|
| 11 | cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
|
---|
| 12 | cpp_quote("")
|
---|
| 13 |
|
---|
| 14 | #ifndef DO_NO_IMPORTS
|
---|
| 15 | import "ocidl.idl";
|
---|
| 16 | import "oleidl.idl";
|
---|
| 17 | import "oaidl.idl";
|
---|
| 18 | #endif
|
---|
| 19 |
|
---|
| 20 | cpp_quote("")
|
---|
| 21 | cpp_quote("#ifndef _NO_SCRIPT_GUIDS")
|
---|
| 22 | cpp_quote("")
|
---|
| 23 | cpp_quote("DEFINE_GUID(CATID_ActiveScript, 0xf0b7a1a1, 0x9847, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);")
|
---|
| 24 | cpp_quote("DEFINE_GUID(CATID_ActiveScriptParse, 0xf0b7a1a2, 0x9847, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);")
|
---|
| 25 | cpp_quote("DEFINE_GUID(CATID_ActiveScriptEncode, 0xf0b7a1a3, 0x9847, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);")
|
---|
| 26 | cpp_quote("DEFINE_GUID(OID_VBSSIP, 0x1629f04e, 0x2799, 0x4db5, 0x8f, 0xe5, 0xac, 0xe1, 0x0f, 0x17, 0xeb, 0xab);")
|
---|
| 27 | cpp_quote("DEFINE_GUID(OID_JSSIP, 0x6c9e010, 0x38ce, 0x11d4, 0xa2, 0xa3, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);")
|
---|
| 28 | cpp_quote("DEFINE_GUID(OID_WSFSIP, 0x1a610570, 0x38ce, 0x11d4, 0xa2, 0xa3, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);")
|
---|
| 29 | cpp_quote("#endif")
|
---|
| 30 | cpp_quote("")
|
---|
| 31 | cpp_quote("#define SCRIPTITEM_ISVISIBLE 0x00000002")
|
---|
| 32 | cpp_quote("#define SCRIPTITEM_ISSOURCE 0x00000004")
|
---|
| 33 | cpp_quote("#define SCRIPTITEM_GLOBALMEMBERS 0x00000008")
|
---|
| 34 | cpp_quote("#define SCRIPTITEM_ISPERSISTENT 0x00000040")
|
---|
| 35 | cpp_quote("#define SCRIPTITEM_CODEONLY 0x00000200")
|
---|
| 36 | cpp_quote("#define SCRIPTITEM_NOCODE 0x00000400")
|
---|
| 37 | cpp_quote("")
|
---|
| 38 | cpp_quote("#define SCRIPTITEM_ALL_FLAGS (SCRIPTITEM_ISSOURCE | SCRIPTITEM_ISVISIBLE | SCRIPTITEM_ISPERSISTENT | SCRIPTITEM_GLOBALMEMBERS | SCRIPTITEM_NOCODE | SCRIPTITEM_CODEONLY)")
|
---|
| 39 | cpp_quote("")
|
---|
| 40 | cpp_quote("#define SCRIPTTYPELIB_ISCONTROL 0x00000010")
|
---|
| 41 | cpp_quote("#define SCRIPTTYPELIB_ISPERSISTENT 0x00000040")
|
---|
| 42 | cpp_quote("")
|
---|
| 43 | cpp_quote("#define SCRIPTTYPELIB_ALL_FLAGS (SCRIPTTYPELIB_ISCONTROL | SCRIPTTYPELIB_ISPERSISTENT)")
|
---|
| 44 | cpp_quote("")
|
---|
| 45 | cpp_quote("#define SCRIPTTEXT_DELAYEXECUTION 0x00000001")
|
---|
| 46 | cpp_quote("#define SCRIPTTEXT_ISVISIBLE 0x00000002")
|
---|
| 47 | cpp_quote("#define SCRIPTTEXT_ISEXPRESSION 0x00000020")
|
---|
| 48 | cpp_quote("#define SCRIPTTEXT_ISPERSISTENT 0x00000040")
|
---|
| 49 | cpp_quote("#define SCRIPTTEXT_HOSTMANAGESSOURCE 0x00000080")
|
---|
| 50 | cpp_quote("#define SCRIPTTEXT_ISXDOMAIN 0x00000100")
|
---|
| 51 | cpp_quote("")
|
---|
| 52 | cpp_quote("#define SCRIPTTEXT_ALL_FLAGS (SCRIPTTEXT_DELAYEXECUTION | SCRIPTTEXT_ISVISIBLE | SCRIPTTEXT_ISEXPRESSION | SCRIPTTEXT_ISPERSISTENT | SCRIPTTEXT_HOSTMANAGESSOURCE | SCRIPTTEXT_ISXDOMAIN)")
|
---|
| 53 | cpp_quote("")
|
---|
| 54 | cpp_quote("#define SCRIPTPROC_ISEXPRESSION 0x00000020")
|
---|
| 55 | cpp_quote("#define SCRIPTPROC_HOSTMANAGESSOURCE 0x00000080")
|
---|
| 56 | cpp_quote("#define SCRIPTPROC_IMPLICIT_THIS 0x00000100")
|
---|
| 57 | cpp_quote("#define SCRIPTPROC_IMPLICIT_PARENTS 0x00000200")
|
---|
| 58 | cpp_quote("#define SCRIPTPROC_ISXDOMAIN 0x00000400")
|
---|
| 59 | cpp_quote("")
|
---|
| 60 | cpp_quote("#define SCRIPTPROC_ALL_FLAGS (SCRIPTPROC_HOSTMANAGESSOURCE | SCRIPTPROC_ISEXPRESSION | SCRIPTPROC_IMPLICIT_THIS | SCRIPTPROC_IMPLICIT_PARENTS | SCRIPTPROC_ISXDOMAIN)")
|
---|
| 61 | cpp_quote("")
|
---|
| 62 | cpp_quote("#define SCRIPTINFO_IUNKNOWN 0x00000001")
|
---|
| 63 | cpp_quote("#define SCRIPTINFO_ITYPEINFO 0x00000002")
|
---|
| 64 | cpp_quote("")
|
---|
| 65 | cpp_quote("#define SCRIPTINFO_ALL_FLAGS (SCRIPTINFO_IUNKNOWN | SCRIPTINFO_ITYPEINFO)")
|
---|
| 66 | cpp_quote("")
|
---|
| 67 | cpp_quote("#define SCRIPTINTERRUPT_DEBUG 0x00000001")
|
---|
| 68 | cpp_quote("#define SCRIPTINTERRUPT_RAISEEXCEPTION 0x00000002")
|
---|
| 69 | cpp_quote("")
|
---|
| 70 | cpp_quote("#define SCRIPTINTERRUPT_ALL_FLAGS (SCRIPTINTERRUPT_DEBUG | SCRIPTINTERRUPT_RAISEEXCEPTION)")
|
---|
| 71 | cpp_quote("")
|
---|
| 72 | cpp_quote("#define SCRIPTSTAT_STATEMENT_COUNT 0x1")
|
---|
| 73 | cpp_quote("#define SCRIPTSTAT_INSTRUCTION_COUNT 0x2")
|
---|
| 74 | cpp_quote("#define SCRIPTSTAT_INTSTRUCTION_TIME 0x3")
|
---|
| 75 | cpp_quote("#define SCRIPTSTAT_TOTAL_TIME 0x4")
|
---|
| 76 | cpp_quote("")
|
---|
| 77 | cpp_quote("#define SCRIPT_ENCODE_SECTION 0x1")
|
---|
| 78 | cpp_quote("")
|
---|
| 79 | cpp_quote("#define SCRIPT_ENCODE_DEFAULT_LANGUAGE 0x1")
|
---|
| 80 | cpp_quote("#define SCRIPT_ENCODE_NO_ASP_LANGUAGE 0x2")
|
---|
| 81 | cpp_quote("")
|
---|
| 82 | cpp_quote("#define SCRIPTPROP_NAME 0x0")
|
---|
| 83 | cpp_quote("#define SCRIPTPROP_MAJORVERSION 0x1")
|
---|
| 84 | cpp_quote("#define SCRIPTPROP_MINORVERSION 0x2")
|
---|
| 85 | cpp_quote("#define SCRIPTPROP_BUILDNUMBER 0x3")
|
---|
| 86 | cpp_quote("")
|
---|
| 87 | cpp_quote("#define SCRIPTPROP_DELAYEDEVENTSINKING 0x1000")
|
---|
| 88 | cpp_quote("#define SCRIPTPROP_CATCHEXCEPTION 0x1001")
|
---|
| 89 | cpp_quote("#define SCRIPTPROP_CONVERSIONLCID 0x1002")
|
---|
| 90 | cpp_quote("#define SCRIPTPROP_HOSTSTACKREQUIRED 0x1003")
|
---|
| 91 | cpp_quote("")
|
---|
| 92 | cpp_quote("#define SCRIPTPROP_DEBUGGER 0x1100")
|
---|
| 93 | cpp_quote("#define SCRIPTPROP_JITDEBUG 0x1101")
|
---|
| 94 | cpp_quote("")
|
---|
| 95 | cpp_quote("#define SCRIPTPROP_GCCONTROLSOFTCLOSE 0x2000")
|
---|
| 96 | cpp_quote("")
|
---|
| 97 | cpp_quote("#define SCRIPTPROP_INTEGERMODE 0x3000")
|
---|
| 98 | cpp_quote("#define SCRIPTPROP_STRINGCOMPAREINSTANCE 0x3001")
|
---|
| 99 | cpp_quote("")
|
---|
| 100 | cpp_quote("#define SCRIPTPROP_INVOKEVERSIONING 0x4000")
|
---|
| 101 | cpp_quote("")
|
---|
| 102 | cpp_quote("#define SCRIPTPROP_HACK_FIBERSUPPORT 0x70000000")
|
---|
| 103 | cpp_quote("#define SCRIPTPROP_HACK_TRIDENTEVENTSINK 0x70000001")
|
---|
| 104 | cpp_quote("#define SCRIPTPROP_ABBREVIATE_GLOBALNAME_RESOLUTION 0x70000002")
|
---|
| 105 | cpp_quote("#define SCRIPTPROP_HOSTKEEPALIVE 0x70000004")
|
---|
| 106 | cpp_quote("")
|
---|
| 107 | cpp_quote("#define SCRIPT_E_RECORDED __MSABI_LONG(0x86664004)")
|
---|
| 108 | cpp_quote("#define SCRIPT_E_REPORTED __MSABI_LONG(0x80020101)")
|
---|
| 109 | cpp_quote("#define SCRIPT_E_PROPAGATE __MSABI_LONG(0x80020102)")
|
---|
| 110 | cpp_quote("")
|
---|
| 111 | typedef enum tagSCRIPTLANGUAGEVERSION {
|
---|
| 112 | SCRIPTLANGUAGEVERSION_DEFAULT = 0,
|
---|
| 113 | SCRIPTLANGUAGEVERSION_5_7 = 1,
|
---|
| 114 | SCRIPTLANGUAGEVERSION_5_8 = 2,
|
---|
| 115 | SCRIPTLANGUAGEVERSION_MAX = 255
|
---|
| 116 | } SCRIPTLANGUAGEVERSION;
|
---|
| 117 |
|
---|
| 118 | cpp_quote("")
|
---|
| 119 | typedef enum tagSCRIPTSTATE {
|
---|
| 120 | SCRIPTSTATE_UNINITIALIZED = 0,
|
---|
| 121 | SCRIPTSTATE_INITIALIZED = 5,
|
---|
| 122 | SCRIPTSTATE_STARTED = 1,
|
---|
| 123 | SCRIPTSTATE_CONNECTED = 2,
|
---|
| 124 | SCRIPTSTATE_DISCONNECTED = 3,
|
---|
| 125 | SCRIPTSTATE_CLOSED = 4,
|
---|
| 126 | } SCRIPTSTATE;
|
---|
| 127 |
|
---|
| 128 | cpp_quote("")
|
---|
| 129 | typedef enum tagSCRIPTTRACEINFO {
|
---|
| 130 | SCRIPTTRACEINFO_SCRIPTSTART = 0,
|
---|
| 131 | SCRIPTTRACEINFO_SCRIPTEND = 1,
|
---|
| 132 | SCRIPTTRACEINFO_COMCALLSTART = 2,
|
---|
| 133 | SCRIPTTRACEINFO_COMCALLEND = 3,
|
---|
| 134 | SCRIPTTRACEINFO_CREATEOBJSTART = 4,
|
---|
| 135 | SCRIPTTRACEINFO_CREATEOBJEND = 5,
|
---|
| 136 | SCRIPTTRACEINFO_GETOBJSTART = 6,
|
---|
| 137 | SCRIPTTRACEINFO_GETOBJEND = 7,
|
---|
| 138 | } SCRIPTTRACEINFO;
|
---|
| 139 |
|
---|
| 140 | cpp_quote("")
|
---|
| 141 | typedef enum tagSCRIPTTHREADSTATE {
|
---|
| 142 | SCRIPTTHREADSTATE_NOTINSCRIPT = 0,
|
---|
| 143 | SCRIPTTHREADSTATE_RUNNING = 1,
|
---|
| 144 | } SCRIPTTHREADSTATE;
|
---|
| 145 |
|
---|
| 146 | cpp_quote("")
|
---|
| 147 | typedef enum tagSCRIPTGCTYPE {
|
---|
| 148 | SCRIPTGCTYPE_NORMAL = 0,
|
---|
| 149 | SCRIPTGCTYPE_EXHAUSTIVE = 1,
|
---|
| 150 | } SCRIPTGCTYPE;
|
---|
| 151 |
|
---|
| 152 | cpp_quote("")
|
---|
| 153 | typedef enum tagSCRIPTUICITEM {
|
---|
| 154 | SCRIPTUICITEM_INPUTBOX = 1,
|
---|
| 155 | SCRIPTUICITEM_MSGBOX = 2,
|
---|
| 156 | } SCRIPTUICITEM;
|
---|
| 157 |
|
---|
| 158 | cpp_quote("")
|
---|
| 159 | typedef enum tagSCRIPTUICHANDLING {
|
---|
| 160 | SCRIPTUICHANDLING_ALLOW = 0,
|
---|
| 161 | SCRIPTUICHANDLING_NOUIERROR = 1,
|
---|
| 162 | SCRIPTUICHANDLING_NOUIDEFAULT = 2,
|
---|
| 163 | } SCRIPTUICHANDLING;
|
---|
| 164 |
|
---|
| 165 | cpp_quote("")
|
---|
| 166 | typedef DWORD SCRIPTTHREADID;
|
---|
| 167 | cpp_quote("")
|
---|
| 168 | cpp_quote("#define SCRIPTTHREADID_CURRENT ((SCRIPTTHREADID)-1)")
|
---|
| 169 | cpp_quote("#define SCRIPTTHREADID_BASE ((SCRIPTTHREADID)-2)")
|
---|
| 170 | cpp_quote("#define SCRIPTTHREADID_ALL ((SCRIPTTHREADID)-3)")
|
---|
| 171 | cpp_quote("")
|
---|
| 172 |
|
---|
| 173 | interface IActiveScriptSite;
|
---|
| 174 | interface IActiveScriptError;
|
---|
| 175 | interface IActiveScriptError64;
|
---|
| 176 | interface IActiveScriptSiteWindow;
|
---|
| 177 | interface IActiveScriptSiteUIControl;
|
---|
| 178 | interface IActiveScriptSiteInterruptPoll;
|
---|
| 179 | interface IActiveScript;
|
---|
| 180 | interface IActiveScriptParse32;
|
---|
| 181 | interface IActiveScriptParse64;
|
---|
| 182 | interface IActiveScriptParseProcedureOld32;
|
---|
| 183 | interface IActiveScriptParseProcedureOld64;
|
---|
| 184 | interface IActiveScriptParseProcedure32;
|
---|
| 185 | interface IActiveScriptParseProcedure64;
|
---|
| 186 | interface IActiveScriptParseProcedure2_32;
|
---|
| 187 | interface IActiveScriptParseProcedure2_64;
|
---|
| 188 | interface IActiveScriptEncode;
|
---|
| 189 | interface IActiveScriptHostEncode;
|
---|
| 190 | interface IBindEventHandler;
|
---|
| 191 | interface IActiveScriptStats;
|
---|
| 192 | interface IActiveScriptProperty;
|
---|
| 193 | interface ITridentEventSink;
|
---|
| 194 | interface IActiveScriptGarbageCollector;
|
---|
| 195 | interface IActiveScriptSIPInfo;
|
---|
| 196 | interface IActiveScriptStringCompare;
|
---|
| 197 |
|
---|
| 198 | cpp_quote("")
|
---|
| 199 | [object, uuid (DB01A1E3-A42B-11cf-8f20-00805f2cd064), pointer_default (unique)]
|
---|
| 200 | interface IActiveScriptSite : IUnknown {
|
---|
| 201 | HRESULT GetLCID ([out] LCID *plcid);
|
---|
| 202 | HRESULT GetItemInfo ([in] LPCOLESTR pstrName,[in] DWORD dwReturnMask,[out] IUnknown **ppiunkItem,[out] ITypeInfo **ppti);
|
---|
| 203 | HRESULT GetDocVersionString ([out] BSTR *pbstrVersion);
|
---|
| 204 | HRESULT OnScriptTerminate ([in] const VARIANT *pvarResult,[in] const EXCEPINFO *pexcepinfo);
|
---|
| 205 | HRESULT OnStateChange ([in] SCRIPTSTATE ssScriptState);
|
---|
| 206 | HRESULT OnScriptError ([in] IActiveScriptError *pscripterror);
|
---|
| 207 | HRESULT OnEnterScript (void);
|
---|
| 208 | HRESULT OnLeaveScript (void);
|
---|
| 209 | }
|
---|
| 210 |
|
---|
| 211 | cpp_quote("")
|
---|
| 212 | [object, uuid (EAE1BA61-A4ED-11cf-8f20-00805f2cd064), pointer_default (unique)]
|
---|
| 213 | interface IActiveScriptError : IUnknown {
|
---|
| 214 | [local] HRESULT GetExceptionInfo ([out] EXCEPINFO *pexcepinfo);
|
---|
| 215 | [call_as (GetExceptionInfo)] HRESULT RemoteGetExceptionInfo ([out] EXCEPINFO *pexcepinfo);
|
---|
| 216 | HRESULT GetSourcePosition ([out] DWORD *pdwSourceContext,[out] ULONG *pulLineNumber,[out] LONG *plCharacterPosition);
|
---|
| 217 | HRESULT GetSourceLineText ([out] BSTR *pbstrSourceLine);
|
---|
| 218 | }
|
---|
| 219 |
|
---|
| 220 | cpp_quote("")
|
---|
| 221 | [object, uuid (B21FB2A1-5b8f-4963-8c21-21450f84ed7f), pointer_default (unique)]
|
---|
| 222 | interface IActiveScriptError64 : IActiveScriptError {
|
---|
| 223 | HRESULT GetSourcePosition64 ([out] DWORDLONG *pdwSourceContext,[out] ULONG *pulLineNumber,[out] LONG *plCharacterPosition);
|
---|
| 224 | }
|
---|
| 225 |
|
---|
| 226 | [object, uuid (D10F6761-83e9-11cf-8f20-00805f2cd064), pointer_default (unique)]
|
---|
| 227 | interface IActiveScriptSiteWindow : IUnknown {
|
---|
| 228 | HRESULT GetWindow ([out] HWND *phwnd);
|
---|
| 229 | HRESULT EnableModeless ([in] BOOL fEnable);
|
---|
| 230 | }
|
---|
| 231 |
|
---|
| 232 | cpp_quote("")
|
---|
| 233 | [object, uuid (AEDAE97E-D7EE-4796-B960-7f092ae844ab), pointer_default (unique)]
|
---|
| 234 | interface IActiveScriptSiteUIControl : IUnknown {
|
---|
| 235 | HRESULT GetUIBehavior ([in] SCRIPTUICITEM UicItem,[out] SCRIPTUICHANDLING *pUicHandling);
|
---|
| 236 | }
|
---|
| 237 |
|
---|
| 238 | cpp_quote("")
|
---|
| 239 | [object, uuid (539698a0-CDCA-11cf-A5EB-00aa0047a063), pointer_default (unique)]
|
---|
| 240 | interface IActiveScriptSiteInterruptPoll : IUnknown {
|
---|
| 241 | HRESULT QueryContinue (void);
|
---|
| 242 | }
|
---|
| 243 |
|
---|
| 244 | cpp_quote("")
|
---|
| 245 | [object, uuid (BB1A2AE1-A4F9-11cf-8f20-00805f2cd064), pointer_default (unique)]
|
---|
| 246 | interface IActiveScript : IUnknown {
|
---|
| 247 | HRESULT SetScriptSite ([in] IActiveScriptSite *pass);
|
---|
| 248 | HRESULT GetScriptSite ([in] REFIID riid,[out, iid_is (riid)] void **ppvObject);
|
---|
| 249 | HRESULT SetScriptState ([in] SCRIPTSTATE ss);
|
---|
| 250 | HRESULT GetScriptState ([out] SCRIPTSTATE *pssState);
|
---|
| 251 | HRESULT Close (void);
|
---|
| 252 | HRESULT AddNamedItem ([in] LPCOLESTR pstrName,[in] DWORD dwFlags);
|
---|
| 253 | HRESULT AddTypeLib ([in] REFGUID rguidTypeLib,[in] DWORD dwMajor,[in] DWORD dwMinor,[in] DWORD dwFlags);
|
---|
| 254 | HRESULT GetScriptDispatch ([in] LPCOLESTR pstrItemName,[out] IDispatch **ppdisp);
|
---|
| 255 | HRESULT GetCurrentScriptThreadID ([out] SCRIPTTHREADID *pstidThread);
|
---|
| 256 | HRESULT GetScriptThreadID ([in] DWORD dwWin32ThreadId,[out] SCRIPTTHREADID *pstidThread);
|
---|
| 257 | HRESULT GetScriptThreadState ([in] SCRIPTTHREADID stidThread,[out] SCRIPTTHREADSTATE *pstsState);
|
---|
| 258 | HRESULT InterruptScriptThread ([in] SCRIPTTHREADID stidThread,[in] const EXCEPINFO *pexcepinfo,[in] DWORD dwFlags);
|
---|
| 259 | HRESULT Clone ([out] IActiveScript **ppscript);
|
---|
| 260 | }
|
---|
| 261 |
|
---|
| 262 | cpp_quote("")
|
---|
| 263 | [object, uuid (BB1A2AE2-A4F9-11cf-8f20-00805f2cd064), pointer_default (unique)]
|
---|
| 264 | interface IActiveScriptParse32 : IUnknown {
|
---|
| 265 | HRESULT InitNew (void);
|
---|
| 266 | HRESULT AddScriptlet ([in] LPCOLESTR pstrDefaultName,[in] LPCOLESTR pstrCode,[in] LPCOLESTR pstrItemName,[in] LPCOLESTR pstrSubItemName,[in] LPCOLESTR pstrEventName,[in] LPCOLESTR pstrDelimiter,[in] DWORD dwSourceContextCookie,[in] ULONG ulStartingLineNumber,[in] DWORD dwFlags,[out] BSTR *pbstrName,[out] EXCEPINFO *pexcepinfo);
|
---|
| 267 | HRESULT ParseScriptText ([in] LPCOLESTR pstrCode,[in] LPCOLESTR pstrItemName,[in] IUnknown *punkContext,[in] LPCOLESTR pstrDelimiter,[in] DWORD dwSourceContextCookie,[in] ULONG ulStartingLineNumber,[in] DWORD dwFlags,[out] VARIANT *pvarResult,[out] EXCEPINFO *pexcepinfo);
|
---|
| 268 | }
|
---|
| 269 |
|
---|
| 270 | cpp_quote("")
|
---|
| 271 | [object, uuid (C7EF7658-E1EE-480e-97ea-D52CB4D76D17), pointer_default (unique)]
|
---|
| 272 | interface IActiveScriptParse64 : IUnknown {
|
---|
| 273 | HRESULT InitNew (void);
|
---|
| 274 | HRESULT AddScriptlet ([in] LPCOLESTR pstrDefaultName,[in] LPCOLESTR pstrCode,[in] LPCOLESTR pstrItemName,[in] LPCOLESTR pstrSubItemName,[in] LPCOLESTR pstrEventName,[in] LPCOLESTR pstrDelimiter,[in] DWORDLONG dwSourceContextCookie,[in] ULONG ulStartingLineNumber,[in] DWORD dwFlags,[out] BSTR *pbstrName,[out] EXCEPINFO *pexcepinfo);
|
---|
| 275 | HRESULT ParseScriptText ([in] LPCOLESTR pstrCode,[in] LPCOLESTR pstrItemName,[in] IUnknown *punkContext,[in] LPCOLESTR pstrDelimiter,[in] DWORDLONG dwSourceContextCookie,[in] ULONG ulStartingLineNumber,[in] DWORD dwFlags,[out] VARIANT *pvarResult,[out] EXCEPINFO *pexcepinfo);
|
---|
| 276 | }
|
---|
| 277 |
|
---|
| 278 | cpp_quote("")
|
---|
| 279 | cpp_quote("#ifdef _WIN64")
|
---|
| 280 | cpp_quote("#define IActiveScriptParse IActiveScriptParse64")
|
---|
| 281 | cpp_quote("#define IID_IActiveScriptParse IID_IActiveScriptParse64")
|
---|
| 282 | cpp_quote("#else")
|
---|
| 283 | cpp_quote("#define IActiveScriptParse IActiveScriptParse32")
|
---|
| 284 | cpp_quote("#define IID_IActiveScriptParse IID_IActiveScriptParse32")
|
---|
| 285 | cpp_quote("#endif")
|
---|
| 286 | cpp_quote("")
|
---|
| 287 | cpp_quote("typedef IActiveScriptParse *PIActiveScriptParse;")
|
---|
| 288 | cpp_quote("")
|
---|
| 289 | [object, uuid (1cff0050-6fdd-11d0-9328-00a0c90dcaa9), pointer_default (unique)]
|
---|
| 290 | interface IActiveScriptParseProcedureOld32 : IUnknown {
|
---|
| 291 | HRESULT ParseProcedureText ([in] LPCOLESTR pstrCode,[in] LPCOLESTR pstrFormalParams,[in] LPCOLESTR pstrItemName,[in] IUnknown *punkContext,[in] LPCOLESTR pstrDelimiter,[in] DWORD dwSourceContextCookie,[in] ULONG ulStartingLineNumber,[in] DWORD dwFlags,[out] IDispatch **ppdisp);
|
---|
| 292 | }
|
---|
| 293 |
|
---|
| 294 | cpp_quote("")
|
---|
| 295 | [object, uuid (21f57128-08c9-4638-BA12-22d15d88dc5c), pointer_default (unique)]
|
---|
| 296 | interface IActiveScriptParseProcedureOld64 : IUnknown {
|
---|
| 297 | HRESULT ParseProcedureText ([in] LPCOLESTR pstrCode,[in] LPCOLESTR pstrFormalParams,[in] LPCOLESTR pstrItemName,[in] IUnknown *punkContext,[in] LPCOLESTR pstrDelimiter,[in] DWORDLONG dwSourceContextCookie,[in] ULONG ulStartingLineNumber,[in] DWORD dwFlags,[out] IDispatch **ppdisp);
|
---|
| 298 | }
|
---|
| 299 |
|
---|
| 300 | cpp_quote("")
|
---|
| 301 | cpp_quote("#ifdef _WIN64")
|
---|
| 302 | cpp_quote("#define IActiveScriptParseProcedureOld IActiveScriptParseProcedureOld64")
|
---|
| 303 | cpp_quote("#define IID_IActiveScriptParseProcedureOld IID_IActiveScriptParseProcedureOld64")
|
---|
| 304 | cpp_quote("#else")
|
---|
| 305 | cpp_quote("#define IActiveScriptParseProcedureOld IActiveScriptParseProcedureOld32")
|
---|
| 306 | cpp_quote("#define IID_IActiveScriptParseProcedureOld IID_IActiveScriptParseProcedureOld32")
|
---|
| 307 | cpp_quote("#endif")
|
---|
| 308 |
|
---|
| 309 | cpp_quote("")
|
---|
| 310 | cpp_quote("typedef IActiveScriptParseProcedureOld *PIActiveScriptParseProcedureOld;")
|
---|
| 311 |
|
---|
| 312 | cpp_quote("")
|
---|
| 313 | [object, uuid (AA5B6A80-B834-11d0-932f-00a0c90dcaa9), pointer_default (unique)]
|
---|
| 314 | interface IActiveScriptParseProcedure32 : IUnknown {
|
---|
| 315 | HRESULT ParseProcedureText ([in] LPCOLESTR pstrCode,[in] LPCOLESTR pstrFormalParams,[in] LPCOLESTR pstrProcedureName,[in] LPCOLESTR pstrItemName,[in] IUnknown *punkContext,[in] LPCOLESTR pstrDelimiter,[in] DWORD dwSourceContextCookie,[in] ULONG ulStartingLineNumber,[in] DWORD dwFlags,[out] IDispatch **ppdisp);
|
---|
| 316 | }
|
---|
| 317 | cpp_quote("")
|
---|
| 318 | [object, uuid (C64713B6-E029-4cc5-9200-438b72890b6a), pointer_default (unique)]
|
---|
| 319 | interface IActiveScriptParseProcedure64 : IUnknown {
|
---|
| 320 | HRESULT ParseProcedureText ([in] LPCOLESTR pstrCode,[in] LPCOLESTR pstrFormalParams,[in] LPCOLESTR pstrProcedureName,[in] LPCOLESTR pstrItemName,[in] IUnknown *punkContext,[in] LPCOLESTR pstrDelimiter,[in] DWORDLONG dwSourceContextCookie,[in] ULONG ulStartingLineNumber,[in] DWORD dwFlags,[out] IDispatch **ppdisp);
|
---|
| 321 | }
|
---|
| 322 |
|
---|
| 323 | cpp_quote("")
|
---|
| 324 | cpp_quote("#ifdef _WIN64")
|
---|
| 325 | cpp_quote("#define IActiveScriptParseProcedure IActiveScriptParseProcedure64")
|
---|
| 326 | cpp_quote("#define IID_IActiveScriptParseProcedure IID_IActiveScriptParseProcedure64")
|
---|
| 327 | cpp_quote("#else")
|
---|
| 328 | cpp_quote("#define IActiveScriptParseProcedure IActiveScriptParseProcedure32")
|
---|
| 329 | cpp_quote("#define IID_IActiveScriptParseProcedure IID_IActiveScriptParseProcedure32")
|
---|
| 330 | cpp_quote("#endif")
|
---|
| 331 | cpp_quote("")
|
---|
| 332 | cpp_quote("typedef IActiveScriptParseProcedure *PIActiveScriptParseProcedure;")
|
---|
| 333 |
|
---|
| 334 | cpp_quote("")
|
---|
| 335 | [object, uuid (71ee5b20-FB04-11d1-B3A8-00a0c911e8b2), pointer_default (unique)]
|
---|
| 336 | interface IActiveScriptParseProcedure2_32 : IActiveScriptParseProcedure32 {
|
---|
| 337 | }
|
---|
| 338 |
|
---|
| 339 | cpp_quote("")
|
---|
| 340 | [object, uuid (FE7C4271-210c-448d-9f54-76dab7047b28), pointer_default (unique)]
|
---|
| 341 | interface IActiveScriptParseProcedure2_64 : IActiveScriptParseProcedure64 {
|
---|
| 342 | }
|
---|
| 343 |
|
---|
| 344 | cpp_quote("")
|
---|
| 345 | cpp_quote("#ifdef _WIN64")
|
---|
| 346 | cpp_quote("#define IActiveScriptParseProcedure2 IActiveScriptParseProcedure2_64")
|
---|
| 347 | cpp_quote("#define IID_IActiveScriptParseProcedure2 IID_IActiveScriptParseProcedure2_64")
|
---|
| 348 | cpp_quote("#else")
|
---|
| 349 | cpp_quote("#define IActiveScriptParseProcedure2 IActiveScriptParseProcedure2_32")
|
---|
| 350 | cpp_quote("#define IID_IActiveScriptParseProcedure2 IID_IActiveScriptParseProcedure2_32")
|
---|
| 351 | cpp_quote("#endif")
|
---|
| 352 | cpp_quote("")
|
---|
| 353 | cpp_quote("typedef IActiveScriptParseProcedure2 *PIActiveScriptParseProcedure2;")
|
---|
| 354 |
|
---|
| 355 | cpp_quote("")
|
---|
| 356 | [object, uuid (BB1A2AE3-A4F9-11cf-8f20-00805f2cd064), pointer_default (unique)]
|
---|
| 357 | interface IActiveScriptEncode : IUnknown {
|
---|
| 358 | HRESULT EncodeSection ([in] LPCOLESTR pchIn,[in] DWORD cchIn,[in, out] LPOLESTR pchOut,[in] DWORD cchOut,[in, out] DWORD *pcchRet);
|
---|
| 359 | HRESULT DecodeScript ([in] LPCOLESTR pchIn,[in] DWORD cchIn,[in, out] LPOLESTR pchOut,[in] DWORD cchOut,[in, out] DWORD *pcchRet);
|
---|
| 360 | HRESULT GetEncodeProgId ([in, out] BSTR *pbstrOut);
|
---|
| 361 | }
|
---|
| 362 |
|
---|
| 363 | cpp_quote("")
|
---|
| 364 | [object, uuid (BEE9B76E-CFE3-11d1-B747-00c04fc2b085), pointer_default (unique)]
|
---|
| 365 | interface IActiveScriptHostEncode : IUnknown {
|
---|
| 366 | HRESULT EncodeScriptHostFile ([in] BSTR bstrInFile,[in, out] BSTR *pbstrOutFile,[in] unsigned long cFlags,[in] BSTR bstrDefaultLang);
|
---|
| 367 | }
|
---|
| 368 |
|
---|
| 369 | cpp_quote("")
|
---|
| 370 | [object, uuid (63cdbcb0-C1B1-11d0-9336-00a0c90dcaa9), pointer_default (unique)]
|
---|
| 371 | interface IBindEventHandler : IUnknown {
|
---|
| 372 | HRESULT BindHandler ([in] LPCOLESTR pstrEvent,[in] IDispatch *pdisp);
|
---|
| 373 | }
|
---|
| 374 |
|
---|
| 375 | cpp_quote("")
|
---|
| 376 | [object, uuid (B8DA6310-E19B-11d0-933c-00a0c90dcaa9), pointer_default (unique)]
|
---|
| 377 | interface IActiveScriptStats : IUnknown {
|
---|
| 378 | HRESULT GetStat ([in] DWORD stid,[out] ULONG *pluHi,[out] ULONG *pluLo);
|
---|
| 379 | HRESULT GetStatEx ([in] REFGUID guid,[out] ULONG *pluHi,[out] ULONG *pluLo);
|
---|
| 380 | HRESULT ResetStats (void);
|
---|
| 381 | }
|
---|
| 382 |
|
---|
| 383 | cpp_quote("")
|
---|
| 384 | [object, uuid (4954e0d0-FBC7-11d1-8410-006008c3fbfc), pointer_default (unique)]
|
---|
| 385 | interface IActiveScriptProperty : IUnknown {
|
---|
| 386 | HRESULT GetProperty ([in] DWORD dwProperty,[in] VARIANT *pvarIndex,[out] VARIANT *pvarValue);
|
---|
| 387 | HRESULT SetProperty ([in] DWORD dwProperty,[in] VARIANT *pvarIndex,[in] VARIANT *pvarValue);
|
---|
| 388 | }
|
---|
| 389 |
|
---|
| 390 | cpp_quote("")
|
---|
| 391 | [object, uuid (1dc9ca50-06ef-11d2-8415-006008c3fbfc), pointer_default (unique)]
|
---|
| 392 | interface ITridentEventSink : IUnknown {
|
---|
| 393 | HRESULT FireEvent ([in] LPCOLESTR pstrEvent,[in] DISPPARAMS *pdp,[out] VARIANT *pvarRes,[out] EXCEPINFO *pei);
|
---|
| 394 | }
|
---|
| 395 |
|
---|
| 396 | cpp_quote("")
|
---|
| 397 | [object, uuid (6aa2c4a0-2b53-11d4-A2A0-00104bd35090), pointer_default (unique)]
|
---|
| 398 | interface IActiveScriptGarbageCollector : IUnknown {
|
---|
| 399 | HRESULT CollectGarbage (SCRIPTGCTYPE scriptgctype);
|
---|
| 400 | }
|
---|
| 401 |
|
---|
| 402 | cpp_quote("")
|
---|
| 403 | [object, uuid (764651d0-38de-11d4-A2A3-00104bd35090), pointer_default (unique)]
|
---|
| 404 | interface IActiveScriptSIPInfo : IUnknown {
|
---|
| 405 | HRESULT GetSIPOID ([out] GUID *poid_sip);
|
---|
| 406 | }
|
---|
| 407 |
|
---|
| 408 | cpp_quote("")
|
---|
| 409 | [object, uuid (4b7272ae-1955-4bfe-98b0-780621888569), pointer_default (unique)]
|
---|
| 410 | interface IActiveScriptSiteTraceInfo : IUnknown {
|
---|
| 411 | HRESULT SendScriptTraceInfo ([in] SCRIPTTRACEINFO stiEventType,[in] GUID guidContextID,[in] DWORD dwScriptContextCookie,[in] LONG lScriptStatementStart,[in] LONG lScriptStatementEnd,[in] DWORD64 dwReserved);
|
---|
| 412 | }
|
---|
| 413 |
|
---|
| 414 | cpp_quote("")
|
---|
| 415 | [object, uuid (C35456E7-BEBF-4a1b-86a9-24d56be8b369), pointer_default (unique)]
|
---|
| 416 | interface IActiveScriptTraceInfo : IUnknown {
|
---|
| 417 | HRESULT StartScriptTracing ([in] IActiveScriptSiteTraceInfo *pSiteTraceInfo,[in] GUID guidContextID);
|
---|
| 418 | HRESULT StopScriptTracing (void);
|
---|
| 419 | }
|
---|
| 420 |
|
---|
| 421 | cpp_quote("")
|
---|
| 422 | [object, uuid (58562769-ED52-42f7-8403-4963514e1f11), pointer_default (unique)]
|
---|
| 423 | interface IActiveScriptStringCompare : IUnknown {
|
---|
| 424 | HRESULT StrComp ([in] BSTR bszStr1,[in] BSTR bszStr2,[out, retval] LONG *iRet);
|
---|
| 425 | }
|
---|
| 426 | cpp_quote("#endif")
|
---|
| 427 | cpp_quote("")
|
---|
| 428 | cpp_quote("#endif")
|
---|