-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathZabbix1C.idl
75 lines (70 loc) · 1.44 KB
/
Zabbix1C.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
[
uuid(9B66190C-943D-48A6-8EB0-F68B108E6C00),
version(1.0),
helpstring("Zabbix1C Library")
]
library Zabbix1C
{
importlib("stdole2.tlb");
[
uuid(9C009EDE-4E75-4B60-9928-320F2445B118),
version(1.0),
helpstring("Dispatch interface for Zabbix Object "),
dual,
oleautomation
]
interface IZabbix: IDispatch
{
[
propget,
id(0x000000C9)
]
HRESULT _stdcall Host([out, retval] BSTR * Value );
[
propput,
id(0x000000C9)
]
HRESULT _stdcall Host([in] BSTR Value );
[
propget,
id(0x000000CA)
]
HRESULT _stdcall Port([out, retval] long * Value );
[
propput,
id(0x000000CA)
]
HRESULT _stdcall Port([in] long Value );
[
propget,
id(0x000000CD)
]
HRESULT _stdcall Timeout([out, retval] long * Value );
[
propput,
id(0x000000CD)
]
HRESULT _stdcall Timeout([in] long Value );
[
id(0x000000CB)
]
HRESULT _stdcall Init([in] BSTR HostZ, [in] long Port, [in] long Timeout );
[
id(0x000000CC)
]
HRESULT _stdcall Close( void );
[
id(0x000000CE)
]
HRESULT _stdcall Send([in] BSTR Host, [in] BSTR KeyItem, [in] BSTR KeyValue );
};
[
uuid(70F10D59-F640-479E-B87A-F4C396B27BB2),
version(1.0),
helpstring("Zabbix Object")
]
coclass Zabbix
{
[default] interface IZabbix;
};
};