activscp.idl: Added IActiveScriptProperty declaration.

This commit is contained in:
Jacek Caban 2008-03-19 11:31:19 +01:00 committed by Alexandre Julliard
parent 2087ad46a9
commit e553c56956
1 changed files with 31 additions and 0 deletions

View File

@ -29,6 +29,19 @@ cpp_quote("DEFINE_GUID(CATID_ActiveScriptParse, 0xf0b7a1a2,0x9847,0x11cf,0x8f,0
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_HACK_FIBERSUPPORT 0x70000000")
cpp_quote("#define SCRIPTPROP_HACK_TRIDENTEVENTSINK 0x70000001")
typedef enum tagSCRIPTSTATE {
SCRIPTSTATE_UNINITIALIZED = 0,
@ -363,3 +376,21 @@ interface IActiveScriptStats : IUnknown
HRESULT ResetStats(void);
}
[
object,
uuid(4954e0d0-fbc7-11d1-8410-006008c3fbfc),
pointer_default(unique)
]
interface IActiveScriptProperty : IUnknown
{
HRESULT GetProperty(
[in] DWORD dwProperty,
[in] VARIANT *pvarIndex,
[out] VARIANT *pvarValue);
HRESULT SetProperty(
[in] DWORD dwProperty,
[in] VARIANT *pvarIndex,
[in] VARIANT *pvarValue);
}