https://git.reactos.org/?p=reactos.git;a=commitdiff;h=285df607d2315f23882bd…
commit 285df607d2315f23882bd464d7c0e21c7a3967d9
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sun Dec 1 19:42:38 2019 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Sun Dec 1 19:42:38 2019 +0100
[PSDK] Update activscp.idl. CORE-16441
---
sdk/include/psdk/activscp.idl | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/sdk/include/psdk/activscp.idl b/sdk/include/psdk/activscp.idl
index 8a3d75d5b52..f70db4a7431 100644
--- a/sdk/include/psdk/activscp.idl
+++ b/sdk/include/psdk/activscp.idl
@@ -45,7 +45,14 @@ 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 tagSCRIPTLANGUAGEVERSION {
+ SCRIPTLANGUAGEVERSION_DEFAULT = 0,
+ SCRIPTLANGUAGEVERSION_5_7 = 1,
+ SCRIPTLANGUAGEVERSION_5_8 = 2,
+ SCRIPTLANGUAGEVERSION_MAX = 255
+} SCRIPTLANGUAGEVERSION;
+
typedef enum tagSCRIPTSTATE {
SCRIPTSTATE_UNINITIALIZED = 0,
SCRIPTSTATE_STARTED = 1,
@@ -71,6 +78,11 @@ typedef enum tagSCRIPTUICHANDLING {
SCRIPTUICHANDLING_NOUIDEFAULT = 2
} SCRIPTUICHANDLING;
+typedef enum tagSCRIPTGCTYPE {
+ SCRIPTGCTYPE_NORMAL = 0,
+ SCRIPTGCTYPE_EXHAUSTIVE = 1
+} SCRIPTGCTYPE;
+
typedef DWORD SCRIPTTHREADID;
cpp_quote("#define SCRIPTTHREADID_CURRENT ((SCRIPTTHREADID)-1)")
cpp_quote("#define SCRIPTTHREADID_BASE ((SCRIPTTHREADID)-2)")
@@ -101,6 +113,7 @@ cpp_quote("
SCRIPTTEXT_ISVISIBLE | \\")
cpp_quote(" SCRIPTTEXT_ISEXPRESSION |
\\")
cpp_quote(" SCRIPTTEXT_ISPERSISTENT |
\\")
cpp_quote("
SCRIPTTEXT_HOSTMANAGESSOURCE)")
+cpp_quote("#define SCRIPTPROC_ISEXPRESSION 0x00000020")
cpp_quote("#define SCRIPTPROC_HOSTMANAGESSOURCE 0x00000080")
cpp_quote("#define SCRIPTPROC_IMPLICIT_THIS 0x00000100")
cpp_quote("#define SCRIPTPROC_IMPLICIT_PARENTS 0x00000200")
@@ -551,3 +564,14 @@ interface IActiveScriptProperty : IUnknown
[in] VARIANT *pvarIndex,
[in] VARIANT *pvarValue);
}
+
+[
+ object,
+ uuid(6aa2c4a0-2b53-11d4-a2a0-00104bd35090),
+ pointer_default(unique)
+]
+interface IActiveScriptGarbageCollector : IUnknown
+{
+ HRESULT CollectGarbage(
+ [in] SCRIPTGCTYPE gctype);
+}