/*
* Copyright 2004 Kevin Koltzau
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/*
* Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
* other than GPL or LGPL is available it will apply instead, Oracle elects to use only
* the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
* a choice of LGPL license versions is made available with the language indicating
* that LGPLv2 or any later version may be used, or where a choice of which version
* of the LGPL is applied is otherwise unspecified.
*/
import "ocidl.idl";
import "oleidl.idl";
import "oaidl.idl";
cpp_quote("#ifndef _NO_SCRIPT_GUIDS")
cpp_quote("DEFINE_GUID(CATID_ActiveScript, 0xf0b7a1a1,0x9847,0x11cf,0x8f,0x20,0x00,0x80,0x5f,0x2c,0xd0,0x64);")
cpp_quote("DEFINE_GUID(CATID_ActiveScriptParse, 0xf0b7a1a2,0x9847,0x11cf,0x8f,0x20,0x00,0x80,0x5f,0x2c,0xd0,0x64);")
cpp_quote("DEFINE_GUID(CATID_ActiveScriptEncode, 0xf0b7a1a3,0x9847,0x11cf,0x8f,0x20,0x00,0x80,0x5f,0x2c,0xd0,0x64);")
cpp_quote("#endif")
cpp_quote("#define SCRIPTPROP_NAME 0x00000000")
cpp_quote("#define SCRIPTPROP_MAJORVERSION 0x00000001")
cpp_quote("#define SCRIPTPROP_MINORVERSION 0x00000002")
cpp_quote("#define SCRIPTPROP_BUILDNUMBER 0x00000003")
cpp_quote("#define SCRIPTPROP_DELAYEDEVENTSINKING 0x00001000")
cpp_quote("#define SCRIPTPROP_CATCHEXCEPTION 0x00001001")
cpp_quote("#define SCRIPTPROP_CONVERSIONLCID 0x00001002")
cpp_quote("#define SCRIPTPROP_HOSTSTACKREQUIRED 0x00001003")
cpp_quote("#define SCRIPTPROP_DEBUGGER 0x00001100")
cpp_quote("#define SCRIPTPROP_JITDEBUG 0x00001101")
cpp_quote("#define SCRIPTPROP_INVOKEVERSIONING 0x00004000")
cpp_quote("#define SCRIPTPROP_HACK_FIBERSUPPORT 0x70000000")
cpp_quote("#define SCRIPTPROP_HACK_TRIDENTEVENTSINK 0x70000001")
cpp_quote("#define SCRIPTPROP_ABBREVIATE_GLOBALNAME_RESOLUTION 0x70000002")
typedef enum tagSCRIPTSTATE {
SCRIPTSTATE_STARTED = 1,
SCRIPTSTATE_CLOSED = 4,
} SCRIPTSTATE;
typedef enum tagSCRIPTTHREADSTATE {
typedef enum tagSCRIPTUICITEM {
typedef enum tagSCRIPTUICHANDLING {
cpp_quote("#define SCRIPTTHREADID_CURRENT ((SCRIPTTHREADID)-1)")
cpp_quote("#define SCRIPTTHREADID_BASE ((SCRIPTTHREADID)-2)")
cpp_quote("#define SCRIPTTHREADID_ALL ((SCRIPTTHREADID)-3)")
cpp_quote("#define SCRIPTITEM_ISVISIBLE 0x00000002")
cpp_quote("#define SCRIPTITEM_ISSOURCE 0x00000004")
cpp_quote("#define SCRIPTITEM_GLOBALMEMBERS 0x00000008")
cpp_quote("#define SCRIPTITEM_ISPERSISTENT 0x00000040")
cpp_quote("#define SCRIPTITEM_CODEONLY 0x00000200")
cpp_quote("#define SCRIPTITEM_NOCODE 0x00000400")
cpp_quote("#define SCRIPTITEM_ALL_FLAGS (SCRIPTITEM_ISSOURCE | \\")
cpp_quote(" SCRIPTITEM_ISVISIBLE | \\")
cpp_quote(" SCRIPTITEM_ISPERSISTENT | \\")
cpp_quote(" SCRIPTITEM_GLOBALMEMBERS | \\")
cpp_quote(" SCRIPTITEM_NOCODE | \\")
cpp_quote(" SCRIPTITEM_CODEONLY)")
cpp_quote("#define SCRIPTTYPELIB_ISCONTROL 0x00000010")
cpp_quote("#define SCRIPTTYPELIB_ISPERSISTENT 0x00000040")
cpp_quote("#define SCRIPTTYPELIB_ALL_FLAGS (SCRIPTTEXT_ISCONTROL | SCRIPTTYPELIB_ISPERSISTENT)")
cpp_quote("#define SCRIPTTEXT_DELAYEXECUTION 0x00000001")
cpp_quote("#define SCRIPTTEXT_ISVISIBLE 0x00000002")
cpp_quote("#define SCRIPTTEXT_ISEXPRESSION 0x00000020")
cpp_quote("#define SCRIPTTEXT_ISPERSISTENT 0x00000040")
cpp_quote("#define SCRIPTTEXT_HOSTMANAGESSOURCE 0x00000080")
cpp_quote("#define SCRIPTTEXT_ALL_FLAGS (SCRIPTTEXT_DELAYEXECUTION | \\")
cpp_quote(" SCRIPTTEXT_ISVISIBLE | \\")
cpp_quote(" SCRIPTTEXT_ISEXPRESSION | \\")
cpp_quote(" SCRIPTTEXT_ISPERSISTENT | \\")
cpp_quote(" SCRIPTTEXT_HOSTMANAGESSOURCE)")
cpp_quote("#define SCRIPTPROC_HOSTMANAGESSOURCE 0x00000080")
cpp_quote("#define SCRIPTPROC_IMPLICIT_THIS 0x00000100")
cpp_quote("#define SCRIPTPROC_IMPLICIT_PARENTS 0x00000200")
cpp_quote("#define SCRIPTPROC_ALL_FLAGS (SCRIPTPROC_HOSTMANAGESSOURCE | \\")
cpp_quote(" SCRIPTPROC_IMPLICIT_THIS | \\")
cpp_quote(" SCRIPTPROC_IMPLICIT_PARENTS)")
cpp_quote("#define SCRIPTINFO_IUNKNOWN 0x00000001")
cpp_quote("#define SCRIPTINFO_ITYPEINFO 0x00000002")
cpp_quote("#define SCRIPTINFO_ALL_FLAGS (SCRIPTINFO_IUNKNOWN | SCRIPTINFO_ITYPEINFO)")
cpp_quote("#define SCRIPTINTERRUPT_DEBUG 0x00000001")
cpp_quote("#define SCRIPTINTERRUPT_RAISEEXCEPTION 0x00000002")
cpp_quote("#define SCRIPTINTERRUPT_ALL_FLAGS (SCRIPTINTERRUPT_DEBUG | SCRIPTINTERRUPT_RAISEEXCEPTION)")
cpp_quote("#define SCRIPTSTAT_STATEMENT_COUNT 1")
cpp_quote("#define SCRIPTSTAT_INSTRUCTION_COUNT 2")
cpp_quote("#define SCRIPTSTAT_INTSTRUCTION_TIME 3")
cpp_quote("#define SCRIPTSTAT_TOTAL_TIME 4")
[
]
interface IActiveScriptError : IUnknown
{
);
);
);
}
[
]
interface IActiveScriptSite : IUnknown
{
);
);
);
);
);
HRESULT OnEnterScript(void);
HRESULT OnLeaveScript(void);
}
cpp_quote("typedef IActiveScriptSite *PIActiveScriptSite;")
[
]
interface IActiveScriptSiteWindow : IUnknown
{
);
);
}
[
]
interface IActiveScriptSiteUIControl : IUnknown
{
}
[
]
interface IActiveScriptSiteInterruptPoll : IUnknown
{
}
[
]
interface IActiveScript : IUnknown
{
);
);
);
);
);
);
);
);
);
);
);
);
}
cpp_quote("typedef IActiveScript *PIActiveScript;")
[
]
interface IActiveScriptParse32 : IUnknown
{
);
);
}
[
]
interface IActiveScriptParse64 : IUnknown
{
);
);
}
cpp_quote("#ifdef _WIN64")
cpp_quote("#define IActiveScriptParse IActiveScriptParse64")
cpp_quote("#define IID_IActiveScriptParse IID_IActiveScriptParse64")
cpp_quote("#else")
cpp_quote("#define IActiveScriptParse IActiveScriptParse32")
cpp_quote("#define IID_IActiveScriptParse IID_IActiveScriptParse32")
cpp_quote("#endif")
cpp_quote("typedef IActiveScriptParse *PIActiveScriptParse;")
[
]
interface IActiveScriptParseProcedureOld32 : IUnknown
{
);
}
[
]
interface IActiveScriptParseProcedureOld64 : IUnknown
{
);
}
cpp_quote("#ifdef _WIN64")
cpp_quote("#define IActiveScriptParseProcedureOld IActiveScriptParseProcedureOld64")
cpp_quote("#define IID_IActiveScriptParseProcedureOld IID_IActiveScriptParseProcedureOld64")
cpp_quote("#else")
cpp_quote("#define IActiveScriptParseProcedureOld IActiveScriptParseProcedureOld32")
cpp_quote("#define IID_IActiveScriptParseProcedureOld IID_IActiveScriptParseProcedureOld32")
cpp_quote("#endif")
[
]
interface IActiveScriptParseProcedure32 : IUnknown
{
);
}
[
]
interface IActiveScriptParseProcedure64 : IUnknown
{
);
}
cpp_quote("#ifdef _WIN64")
cpp_quote("#define IActiveScriptParseProcedure IActiveScriptParseProcedure64")
cpp_quote("#define IID_IActiveScriptParseProcedure IID_IActiveScriptParseProcedure64")
cpp_quote("#else")
cpp_quote("#define IActiveScriptParseProcedure IActiveScriptParseProcedure32")
cpp_quote("#define IID_IActiveScriptParseProcedure IID_IActiveScriptParseProcedure32")
cpp_quote("#endif")
[
]
{
}
[
]
{
}
cpp_quote("#ifdef _WIN64")
cpp_quote("#define IActiveScriptParseProcedure2 IActiveScriptParseProcedure2_64")
cpp_quote("#define IID_IActiveScriptParseProcedure2 IID_IActiveScriptParseProcedure2_64")
cpp_quote("#else")
cpp_quote("#define IActiveScriptParseProcedure2 IActiveScriptParseProcedure2_32")
cpp_quote("#define IID_IActiveScriptParseProcedure2 IID_IActiveScriptParseProcedure2_32")
cpp_quote("#endif")
[
]
interface IBindEventHandler : IUnknown
{
);
}
[
]
interface IActiveScriptStats : IUnknown
{
);
);
HRESULT ResetStats(void);
}
[
]
interface IActiveScriptProperty : IUnknown
{
}