-
Notifications
You must be signed in to change notification settings - Fork 0
/
ODL STYLE.txt
154 lines (150 loc) · 5.06 KB
/
ODL STYLE.txt
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
[
uuid(A1241FE5-B51F-42aa-877B-BFA47BEF3FC1),
version(1.0),
helpstring("ConnectFour ActiveX Control module"),
helpfile("Con4.hlp"),
helpcontext(00000000)
]
library ConnectFourLib
{
importlib("stdole2.tlb");
// Forward declare all types defined in this typelib
dispinterface IConnectFourGame;
dispinterface _IConnectFourEvents;
[
uuid(A1241FE6-B51F-42aa-877B-BFA47BEF3FC1),
helpstring("Dispatch interface for ConnectFour Control"),
hidden
]
dispinterface IConnectFourGame {
properties:
methods:
[id(0x00000001)]
void EndGame();
[id(0x00000002)]
void EnumMembers(
long Current,
short Level,
long Id,
BSTR Name,
short Type,
long X,
long Y);
[id(0x00000003)]
BSTR GetClassID();
[id(0x00000004)]
void GetGameDetails(
BSTR* Name,
BSTR* Info,
BSTR* SeatList,
BSTR* CanChangeSeat,
BSTR* CanSelectSeat,
short* MinParticipants,
short* MaxParticipants,
BSTR* Avatar);
[id(0x00000005)]
void JoinGroup(
long Id,
BSTR Name,
long X,
long Y,
long GroupId,
BSTR GroupName);
[id(0x00000006)]
void LeaveGroup(
long Id,
BSTR Name,
long GroupId,
BSTR GroupName);
[id(0x00000007)]
void Send(
long Id,
BSTR Name,
short Type,
long ToId,
short SendType,
BSTR Message,
BSTR* Data);
[id(0x00000008)]
void SendFromService(
long Id,
short Type,
long SrvSendType,
BSTR Message,
BSTR* Data,
long ReqId);
[id(0x00000009)]
void StartGame(
long Id,
BSTR Name,
long GroupId,
BSTR GroupName,
long LeaderId,
short Capacity,
long Seat);
[id(0xfffffdd8)]
void AboutBox();
};
[
uuid(A1241FE7-B51F-42aa-877B-BFA47BEF3FC1),
helpstring("Event interface for ConnectFour Control")
]
dispinterface _IConnectFourEvents {
properties:
methods:
[id(0x00000001)]
void DupAvatar(
long ParentWnd,
long Seat);
[id(0x00000002)]
void EnumMembers(
long Id,
short MaxLevel);
[id(0x00000003)]
void GetParentWnd(long* hWnd);
[id(0x00000004)]
void GetPresenceInfo(
long Id,
BSTR* Nickname,
BSTR* Fullname,
BSTR* Location,
BSTR* Email);
[id(0x00000005)]
void LeaveGroup();
[id(0x00000006)]
void QueryService(
long* Id,
short* Type);
[id(0x00000007)]
void Send(
long Id,
short SendType,
BSTR Message,
BSTR* Data);
[id(0x00000008)]
void SendToService(
long ServiceId,
long SrvSendType,
BSTR Message,
BSTR* Data,
long ReqId);
[id(0x00000009)]
void SetAvatarPos(
long Seat,
short Left,
short Top,
short Width,
short Height);
[id(0x0000000a)]
void SetGameWnd(long hWnd);
};
[
uuid(A1241FE8-B51F-42aa-877B-BFA47BEF3FC1),
helpstring("ConnectFour Control"),
control
]
coclass Vct {
[default] dispinterface IConnectFourGame;
[default, source] dispinterface _IConnectFourEvents;
};
};