forked from OpenDDS/OpenDDS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IRTDServer.idl
69 lines (65 loc) · 1.9 KB
/
IRTDServer.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
/*
*
* From sample code included in Microsoft Knowledge Base Article 327215.
*/
import "unknwn.idl";
import "wtypes.idl";
import "objidl.idl";
import "oaidl.idl";
[
odl,
uuid(A43788C1-D91B-11D3-8F39-00C04F3651B8),
helpcontext(0x0007a120),
dual,
oleautomation
]
interface IRTDUpdateEvent : IDispatch {
[id(0x0000000a), helpcontext(0x0007a121)]
HRESULT UpdateNotify();
[id(0x0000000b), propget, helpcontext(0x0007a122)]
HRESULT HeartbeatInterval([out, retval] long* plRetVal);
[id(0x0000000b), propput, helpcontext(0x0007a122)]
HRESULT HeartbeatInterval([in] long plRetVal);
[id(0x0000000c), helpcontext(0x0007a123)]
HRESULT Disconnect();
};
[
odl,
uuid(EC0E6191-DB51-11D3-8F3E-00C04F3651B8),
helpcontext(0x0007a124),
dual,
oleautomation
]
interface IRtdServer : IDispatch {
[id(0x0000000a), helpcontext(0x0007a125)]
HRESULT ServerStart(
[in] IRTDUpdateEvent* CallbackObject,
[out, retval] long* pfRes);
[id(0x0000000b), helpcontext(0x0007a126)]
HRESULT ConnectData(
[in] long TopicID,
[in] SAFEARRAY(VARIANT)* Strings,
[in, out] VARIANT_BOOL* GetNewValues,
[out, retval] VARIANT* pvarOut);
[id(0x0000000c), helpcontext(0x0007a127)]
HRESULT RefreshData(
[in, out] long* TopicCount,
[out, retval] SAFEARRAY(VARIANT)* parrayOut);
[id(0x0000000d), helpcontext(0x0007a128)]
HRESULT DisconnectData([in] long TopicID);
[id(0x0000000e), helpcontext(0x0007a129)]
HRESULT Heartbeat([out, retval] long* pfRes);
[id(0x0000000f), helpcontext(0x0007a12a)]
HRESULT ServerTerminate();
};
[
uuid(217C2068-49F7-4207-B14D-B36FB7F9BB17),
version(1.0)
]
library RTDServerLib
{
importlib("stdole32.tlb");
//reference the interfaces
interface IRtdServer;
dispinterface IRTDUpdateEvent;
};