activscp.idl: Added IActiveScriptSiteUIControl declaration.

This commit is contained in:
Jacek Caban 2012-09-26 14:36:34 +02:00 committed by Alexandre Julliard
parent 1fc2896c7c
commit 3ad3305028
1 changed files with 23 additions and 0 deletions

View File

@ -60,6 +60,17 @@ typedef enum tagSCRIPTTHREADSTATE {
SCRIPTTHREADSTATE_RUNNING = 1 SCRIPTTHREADSTATE_RUNNING = 1
} SCRIPTTHREADSTATE; } SCRIPTTHREADSTATE;
typedef enum tagSCRIPTUICITEM {
SCRIPTUICITEM_INPUTBOX = 1,
SCRIPTUICITEM_MSGBOX = 2
} SCRIPTUICITEM;
typedef enum tagSCRIPTUICHANDLING {
SCRIPTUICHANDLING_ALLOW = 0,
SCRIPTUICHANDLING_NOUIERROR = 1,
SCRIPTUICHANDLING_NOUIDEFAULT = 2
} SCRIPTUICHANDLING;
typedef DWORD SCRIPTTHREADID; typedef DWORD SCRIPTTHREADID;
cpp_quote("#define SCRIPTTHREADID_CURRENT ((SCRIPTTHREADID)-1)") cpp_quote("#define SCRIPTTHREADID_CURRENT ((SCRIPTTHREADID)-1)")
cpp_quote("#define SCRIPTTHREADID_BASE ((SCRIPTTHREADID)-2)") cpp_quote("#define SCRIPTTHREADID_BASE ((SCRIPTTHREADID)-2)")
@ -186,6 +197,18 @@ interface IActiveScriptSiteWindow : IUnknown
); );
} }
[
object,
uuid(aedae97e-d7ee-4796-b960-7f092ae844ab),
pointer_default(unique)
]
interface IActiveScriptSiteUIControl : IUnknown
{
HRESULT GetUIBehavior(
[in] SCRIPTUICITEM UicItem,
[out] SCRIPTUICHANDLING *pUicHandling);
}
[ [
object, object,
uuid(539698A0-CDCA-11CF-A5EB-00AA0047A063), uuid(539698A0-CDCA-11CF-A5EB-00AA0047A063),