-
Notifications
You must be signed in to change notification settings - Fork 1
/
RadWsh.idl
85 lines (81 loc) · 2.81 KB
/
RadWsh.idl
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// RadWsh.idl : IDL source for RadWsh
//
// This file will be processed by the MIDL tool to
// produce the type library (RadWsh.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
import "dispex.idl";
[
object,
uuid(DFD53694-00D9-47C7-9688-7AC9AA561C2B),
dual,
nonextensible,
pointer_default(unique)
]
interface IRadWindow : IDispatch{
[propget, id(1)] HRESULT hWnd([out, retval] ULONGLONG* pVal);
[propget, id(2), helpstring("GetWindowText")] HRESULT Text([out, retval] BSTR* pVal);
[propput, id(2), helpstring("SetWindowText")] HRESULT Text([in] BSTR newVal);
[propget, id(3), helpstring("GetWindowLong")] HRESULT Long([in] LONG index, [out, retval] LONG* pVal);
[propput, id(3), helpstring("SetWindowLong")] HRESULT Long([in] LONG index, [in] LONG newVal);
[propget, id(4), helpstring("GetClassName")] HRESULT Class([out, retval] BSTR* pVal);
[propget, id(5), helpstring("EnumChildWindows")] HRESULT Children([out, retval] IUnknown** pVal);
[propget, id(6), helpstring("GetParent")] HRESULT Parent([out, retval] IRadWindow** pVal);
[propget, id(7), helpstring("Convenience for GetWindowLong(GWL_STYLE)")] HRESULT Style([out, retval] LONG* pVal);
[propput, id(7), helpstring("Convenience for SetWindowLong(GWL_STYLE, ?)")] HRESULT Style([in] LONG newVal);
[propget, id(8), helpstring("Convenience for GetWindowLong(GWL_EXSTYLE)")] HRESULT ExStyle([out, retval] LONG* pVal);
[propput, id(8), helpstring("Convenience for SetWindowLong(GWL_EXSTYLE, ?)")] HRESULT ExStyle([in] LONG newVal);
[propget, id(9), helpstring("GetWindowThreadProcessId")] HRESULT pid([out, retval] ULONG* pVal);
};
[
object,
uuid(FC4A9E56-A60A-41A8-B8FE-CE0BF3E249CE),
dual,
nonextensible,
pointer_default(unique)
]
interface IRadFixedCollection : IDispatch{
[propget, id(1)] HRESULT Count([out, retval] LONG* pVal);
[propget, id(DISPID_NEWENUM), restricted] HRESULT _NewEnum([out, retval] IUnknown** pVal);
};
[
object,
uuid(A402E10F-1786-4DE4-8E0E-B5E590E54C45),
dual,
nonextensible,
pointer_default(unique)
]
interface IRadWin32 : IDispatch{
[propget, id(1), helpstring("GetForegroundWindow")] HRESULT ForegroundWindow([out, retval] IRadWindow** pVal);
[propget, id(2), helpstring("EnumWindows")] HRESULT Windows([out, retval] IUnknown** pVal);
[propget, id(3)] HRESULT Window([in] ULONGLONG hWnd, [out, retval] IRadWindow** pVal);
};
[
uuid(2F66E96C-E93A-4E19-B71B-D9B2DDC92F00),
version(1.0),
]
library RadWshLib
{
importlib("stdole2.tlb");
[
uuid(B90F5D72-A680-4663-B86E-8A77563BEBD8)
]
coclass RadWindow
{
[default] interface IRadWindow;
};
[
uuid(EDD540AC-66FC-4168-9777-1524FF5DE5B8)
]
coclass RadWin32
{
[default] interface IRadWin32;
};
[
uuid(57396489-5D24-4800-A418-124A7D98769A)
]
coclass RadFixedCollection
{
[default] interface IRadFixedCollection;
};
};