include: Added IActiveScriptGarbageCollector definition.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2016-06-14 15:06:40 +03:00 committed by Alexandre Julliard
parent 0c4e073551
commit 9b387bb105
1 changed files with 16 additions and 0 deletions

View File

@ -71,6 +71,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)")
@ -551,3 +556,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);
}