-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScriptHost.idl
More file actions
46 lines (44 loc) · 998 Bytes
/
ScriptHost.idl
File metadata and controls
46 lines (44 loc) · 998 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(96B11D43-4409-469C-ACCE-A2E4074AD686),
dual,
nonextensible,
pointer_default(unique)
]
interface IScriptHostApp: IDispatch
{
[id(1)] HRESULT Output([in] BSTR msg);
[id(2)] HRESULT SetTimer([in] LONG id, [in] LONG ms, [out, retval] LONG * res);
[id(3)] HRESULT Box([in] BSTR msg);
[id(4)] HRESULT Beep([in] LONG ms, [in] LONG freq);
};
[
uuid(2C6653D2-DC1D-435F-A047-5D61F7B4E39C),
version(1.1),
helpstring("ScriptHost 1.0 Type Library")
]
library ScriptHost
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(A186D01D-FA60-40F9-AC63-425F713E5980)
]
dispinterface _IScriptHostAppEvents
{
properties:
methods:
[id(1)] HRESULT OnTimer([in] LONG timerid);
};
[
uuid(831C4BE7-DD20-4B01-85D6-557E58FF3955)
]
coclass ScriptHostApp
{
[default] interface IScriptHostApp;
[default, source] dispinterface _IScriptHostAppEvents;
};
};
import "shobjidl.idl";