comparison fuhtark_test/include/winapi/tapi.h @ 1500:91c8c3b7cbf0

add: futhark tests for generating vulkan api
author sam <sam@basx.dev>
date Wed, 26 Nov 2025 21:36:48 +0700
parents
children
comparison
equal deleted inserted replaced
1499:1f58458b7ef7 1500:91c8c3b7cbf0
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
5 */
6 #ifndef TAPI_H
7 #define TAPI_H
8
9 #ifndef TAPI_CURRENT_VERSION
10 #define TAPI_CURRENT_VERSION 0x00030001
11 #endif
12
13 #include <windows.h>
14 #include <basetsd.h>
15 #include <oaidl.h>
16
17 #pragma pack(1)
18
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22
23 #define DECLARE_OPAQUE32(name) typedef DWORD name
24
25 DECLARE_OPAQUE32(HCALL);
26 typedef HCALL *LPHCALL;
27
28 DECLARE_OPAQUE32(HCALLHUB);
29 typedef HCALLHUB *LPHCALLHUB;
30
31 DECLARE_OPAQUE32(HLINE);
32 typedef HLINE *LPHLINE;
33
34 DECLARE_OPAQUE32(HPHONE);
35 typedef HPHONE *LPHPHONE;
36
37 DECLARE_OPAQUE32(HLINEAPP);
38 typedef HLINEAPP *LPHLINEAPP;
39
40 DECLARE_OPAQUE32(HPHONEAPP);
41 typedef HPHONEAPP *LPHPHONEAPP;
42
43 DECLARE_OPAQUE32(HAGENTSESSION);
44 typedef HAGENTSESSION *LPHAGENTSESSION;
45
46 DECLARE_OPAQUE32(HAGENT);
47 typedef HAGENT *LPHAGENT;
48
49 DECLARE_OPAQUE32(HPRIVATECHANNEL);
50 typedef HPRIVATECHANNEL *LPHPRIVATECHANNEL;
51
52 typedef HICON *LPHICON;
53
54 typedef void (CALLBACK *LINECALLBACK)(DWORD hDevice,DWORD dwMessage,DWORD_PTR dwInstance,DWORD_PTR dwParam1,DWORD_PTR dwParam2,DWORD_PTR dwParam3);
55 typedef void (CALLBACK *PHONECALLBACK)(DWORD hDevice,DWORD dwMessage,DWORD_PTR dwInstance,DWORD_PTR dwParam1,DWORD_PTR dwParam2,DWORD_PTR dwParam3);
56
57 #define LINE_ADDRESSSTATE 0L
58 #define LINE_CALLINFO 1L
59 #define LINE_CALLSTATE 2L
60 #define LINE_CLOSE 3L
61 #define LINE_DEVSPECIFIC 4L
62 #define LINE_DEVSPECIFICFEATURE 5L
63 #define LINE_GATHERDIGITS 6L
64 #define LINE_GENERATE 7L
65 #define LINE_LINEDEVSTATE 8L
66 #define LINE_MONITORDIGITS 9L
67 #define LINE_MONITORMEDIA 10L
68 #define LINE_MONITORTONE 11L
69 #define LINE_REPLY 12L
70 #define LINE_REQUEST 13L
71 #define PHONE_BUTTON 14L
72 #define PHONE_CLOSE 15L
73 #define PHONE_DEVSPECIFIC 16L
74 #define PHONE_REPLY 17L
75 #define PHONE_STATE 18L
76 #define LINE_CREATE 19L
77 #define PHONE_CREATE 20L
78 #define LINE_AGENTSPECIFIC 21L
79 #define LINE_AGENTSTATUS 22L
80 #define LINE_APPNEWCALL 23L
81 #define LINE_PROXYREQUEST 24L
82 #define LINE_REMOVE 25L
83 #define PHONE_REMOVE 26L
84
85 #define LINE_AGENTSESSIONSTATUS 27L
86 #define LINE_QUEUESTATUS 28L
87 #define LINE_AGENTSTATUSEX 29L
88 #define LINE_GROUPSTATUS 30L
89 #define LINE_PROXYSTATUS 31L
90
91 #define LINE_APPNEWCALLHUB 32L
92 #define LINE_CALLHUBCLOSE 33L
93 #define LINE_DEVSPECIFICEX 34L
94
95 #define INITIALIZE_NEGOTIATION 0xFFFFFFFFUL
96
97 #define LINEADDRCAPFLAGS_FWDNUMRINGS 0x00000001
98 #define LINEADDRCAPFLAGS_PICKUPGROUPID 0x00000002
99 #define LINEADDRCAPFLAGS_SECURE 0x00000004
100 #define LINEADDRCAPFLAGS_BLOCKIDDEFAULT 0x00000008
101 #define LINEADDRCAPFLAGS_BLOCKIDOVERRIDE 0x00000010
102 #define LINEADDRCAPFLAGS_DIALED 0x00000020
103 #define LINEADDRCAPFLAGS_ORIGOFFHOOK 0x00000040
104 #define LINEADDRCAPFLAGS_DESTOFFHOOK 0x00000080
105 #define LINEADDRCAPFLAGS_FWDCONSULT 0x00000100
106 #define LINEADDRCAPFLAGS_SETUPCONFNULL 0x00000200
107 #define LINEADDRCAPFLAGS_AUTORECONNECT 0x00000400
108 #define LINEADDRCAPFLAGS_COMPLETIONID 0x00000800
109 #define LINEADDRCAPFLAGS_TRANSFERHELD 0x00001000
110 #define LINEADDRCAPFLAGS_TRANSFERMAKE 0x00002000
111 #define LINEADDRCAPFLAGS_CONFERENCEHELD 0x00004000
112 #define LINEADDRCAPFLAGS_CONFERENCEMAKE 0x00008000
113 #define LINEADDRCAPFLAGS_PARTIALDIAL 0x00010000
114 #define LINEADDRCAPFLAGS_FWDSTATUSVALID 0x00020000
115 #define LINEADDRCAPFLAGS_FWDINTEXTADDR 0x00040000
116 #define LINEADDRCAPFLAGS_FWDBUSYNAADDR 0x00080000
117 #define LINEADDRCAPFLAGS_ACCEPTTOALERT 0x00100000
118 #define LINEADDRCAPFLAGS_CONFDROP 0x00200000
119 #define LINEADDRCAPFLAGS_PICKUPCALLWAIT 0x00400000
120 #define LINEADDRCAPFLAGS_PREDICTIVEDIALER 0x00800000
121 #define LINEADDRCAPFLAGS_QUEUE 0x01000000
122 #define LINEADDRCAPFLAGS_ROUTEPOINT 0x02000000
123 #define LINEADDRCAPFLAGS_HOLDMAKESNEW 0x04000000
124 #define LINEADDRCAPFLAGS_NOINTERNALCALLS 0x08000000
125 #define LINEADDRCAPFLAGS_NOEXTERNALCALLS 0x10000000
126 #define LINEADDRCAPFLAGS_SETCALLINGID 0x20000000
127 #define LINEADDRCAPFLAGS_ACDGROUP 0x40000000
128 #define LINEADDRCAPFLAGS_NOPSTNADDRESSTRANSLATION 0x80000000
129
130 #define LINEADDRESSMODE_ADDRESSID 0x00000001
131 #define LINEADDRESSMODE_DIALABLEADDR 0x00000002
132
133 #define LINEADDRESSSHARING_PRIVATE 0x00000001
134 #define LINEADDRESSSHARING_BRIDGEDEXCL 0x00000002
135 #define LINEADDRESSSHARING_BRIDGEDNEW 0x00000004
136 #define LINEADDRESSSHARING_BRIDGEDSHARED 0x00000008
137 #define LINEADDRESSSHARING_MONITORED 0x00000010
138
139 #define LINEADDRESSSTATE_OTHER 0x00000001
140 #define LINEADDRESSSTATE_DEVSPECIFIC 0x00000002
141 #define LINEADDRESSSTATE_INUSEZERO 0x00000004
142 #define LINEADDRESSSTATE_INUSEONE 0x00000008
143 #define LINEADDRESSSTATE_INUSEMANY 0x00000010
144 #define LINEADDRESSSTATE_NUMCALLS 0x00000020
145 #define LINEADDRESSSTATE_FORWARD 0x00000040
146 #define LINEADDRESSSTATE_TERMINALS 0x00000080
147 #define LINEADDRESSSTATE_CAPSCHANGE 0x00000100
148
149 #define LINEADDRESSTYPE_PHONENUMBER 0x00000001
150 #define LINEADDRESSTYPE_SDP 0x00000002
151 #define LINEADDRESSTYPE_EMAILNAME 0x00000004
152 #define LINEADDRESSTYPE_DOMAINNAME 0x00000008
153 #define LINEADDRESSTYPE_IPADDRESS 0x00000010
154
155 #define LINEADDRFEATURE_FORWARD 0x00000001
156 #define LINEADDRFEATURE_MAKECALL 0x00000002
157 #define LINEADDRFEATURE_PICKUP 0x00000004
158 #define LINEADDRFEATURE_SETMEDIACONTROL 0x00000008
159 #define LINEADDRFEATURE_SETTERMINAL 0x00000010
160 #define LINEADDRFEATURE_SETUPCONF 0x00000020
161 #define LINEADDRFEATURE_UNCOMPLETECALL 0x00000040
162 #define LINEADDRFEATURE_UNPARK 0x00000080
163 #define LINEADDRFEATURE_PICKUPHELD 0x00000100
164 #define LINEADDRFEATURE_PICKUPGROUP 0x00000200
165 #define LINEADDRFEATURE_PICKUPDIRECT 0x00000400
166 #define LINEADDRFEATURE_PICKUPWAITING 0x00000800
167 #define LINEADDRFEATURE_FORWARDFWD 0x00001000
168 #define LINEADDRFEATURE_FORWARDDND 0x00002000
169
170 #define LINEAGENTFEATURE_SETAGENTGROUP 0x00000001
171 #define LINEAGENTFEATURE_SETAGENTSTATE 0x00000002
172 #define LINEAGENTFEATURE_SETAGENTACTIVITY 0x00000004
173 #define LINEAGENTFEATURE_AGENTSPECIFIC 0x00000008
174 #define LINEAGENTFEATURE_GETAGENTACTIVITYLIST 0x00000010
175 #define LINEAGENTFEATURE_GETAGENTGROUP 0x00000020
176
177 #define LINEAGENTSTATE_LOGGEDOFF 0x00000001
178 #define LINEAGENTSTATE_NOTREADY 0x00000002
179 #define LINEAGENTSTATE_READY 0x00000004
180 #define LINEAGENTSTATE_BUSYACD 0x00000008
181 #define LINEAGENTSTATE_BUSYINCOMING 0x00000010
182 #define LINEAGENTSTATE_BUSYOUTBOUND 0x00000020
183 #define LINEAGENTSTATE_BUSYOTHER 0x00000040
184 #define LINEAGENTSTATE_WORKINGAFTERCALL 0x00000080
185 #define LINEAGENTSTATE_UNKNOWN 0x00000100
186 #define LINEAGENTSTATE_UNAVAIL 0x00000200
187
188 #define LINEAGENTSTATUS_GROUP 0x00000001
189 #define LINEAGENTSTATUS_STATE 0x00000002
190 #define LINEAGENTSTATUS_NEXTSTATE 0x00000004
191 #define LINEAGENTSTATUS_ACTIVITY 0x00000008
192 #define LINEAGENTSTATUS_ACTIVITYLIST 0x00000010
193 #define LINEAGENTSTATUS_GROUPLIST 0x00000020
194 #define LINEAGENTSTATUS_CAPSCHANGE 0x00000040
195 #define LINEAGENTSTATUS_VALIDSTATES 0x00000080
196 #define LINEAGENTSTATUS_VALIDNEXTSTATES 0x00000100
197
198 #define LINEAGENTSTATEEX_NOTREADY 0x00000001
199 #define LINEAGENTSTATEEX_READY 0x00000002
200 #define LINEAGENTSTATEEX_BUSYACD 0x00000004
201 #define LINEAGENTSTATEEX_BUSYINCOMING 0x00000008
202 #define LINEAGENTSTATEEX_BUSYOUTGOING 0x00000010
203 #define LINEAGENTSTATEEX_UNKNOWN 0x00000020
204 #define LINEAGENTSTATEEX_RELEASED 0x00000040
205
206 #define LINEAGENTSTATUSEX_NEWAGENT 0x00000001
207 #define LINEAGENTSTATUSEX_STATE 0x00000002
208 #define LINEAGENTSTATUSEX_UPDATEINFO 0x00000004
209
210 #define LINEAGENTSESSIONSTATE_NOTREADY 0x00000001
211 #define LINEAGENTSESSIONSTATE_READY 0x00000002
212 #define LINEAGENTSESSIONSTATE_BUSYONCALL 0x00000004
213 #define LINEAGENTSESSIONSTATE_BUSYWRAPUP 0x00000008
214 #define LINEAGENTSESSIONSTATE_ENDED 0x00000010
215 #define LINEAGENTSESSIONSTATE_RELEASED 0x00000020
216
217 #define LINEAGENTSESSIONSTATUS_NEWSESSION 0x00000001
218 #define LINEAGENTSESSIONSTATUS_STATE 0x00000002
219 #define LINEAGENTSESSIONSTATUS_UPDATEINFO 0x00000004
220
221 #define LINEQUEUESTATUS_UPDATEINFO 0x00000001
222 #define LINEQUEUESTATUS_NEWQUEUE 0x00000002
223 #define LINEQUEUESTATUS_QUEUEREMOVED 0x00000004
224
225 #define LINEGROUPSTATUS_NEWGROUP 0x00000001
226 #define LINEGROUPSTATUS_GROUPREMOVED 0x00000002
227
228 #define LINEPROXYSTATUS_OPEN 0x00000001
229 #define LINEPROXYSTATUS_CLOSE 0x00000002
230 #define LINEPROXYSTATUS_ALLOPENFORACD 0x00000004
231
232 #define LINEANSWERMODE_NONE 0x00000001
233 #define LINEANSWERMODE_DROP 0x00000002
234 #define LINEANSWERMODE_HOLD 0x00000004
235
236 #define LINEBEARERMODE_VOICE 0x00000001
237 #define LINEBEARERMODE_SPEECH 0x00000002
238 #define LINEBEARERMODE_MULTIUSE 0x00000004
239 #define LINEBEARERMODE_DATA 0x00000008
240 #define LINEBEARERMODE_ALTSPEECHDATA 0x00000010
241 #define LINEBEARERMODE_NONCALLSIGNALING 0x00000020
242 #define LINEBEARERMODE_PASSTHROUGH 0x00000040
243 #define LINEBEARERMODE_RESTRICTEDDATA 0x00000080
244
245 #define LINEBUSYMODE_STATION 0x00000001
246 #define LINEBUSYMODE_TRUNK 0x00000002
247 #define LINEBUSYMODE_UNKNOWN 0x00000004
248 #define LINEBUSYMODE_UNAVAIL 0x00000008
249
250 #define LINECALLCOMPLCOND_BUSY 0x00000001
251 #define LINECALLCOMPLCOND_NOANSWER 0x00000002
252
253 #define LINECALLCOMPLMODE_CAMPON 0x00000001
254 #define LINECALLCOMPLMODE_CALLBACK 0x00000002
255 #define LINECALLCOMPLMODE_INTRUDE 0x00000004
256 #define LINECALLCOMPLMODE_MESSAGE 0x00000008
257
258 #define LINECALLFEATURE_ACCEPT 0x00000001
259 #define LINECALLFEATURE_ADDTOCONF 0x00000002
260 #define LINECALLFEATURE_ANSWER 0x00000004
261 #define LINECALLFEATURE_BLINDTRANSFER 0x00000008
262 #define LINECALLFEATURE_COMPLETECALL 0x00000010
263 #define LINECALLFEATURE_COMPLETETRANSF 0x00000020
264 #define LINECALLFEATURE_DIAL 0x00000040
265 #define LINECALLFEATURE_DROP 0x00000080
266 #define LINECALLFEATURE_GATHERDIGITS 0x00000100
267 #define LINECALLFEATURE_GENERATEDIGITS 0x00000200
268 #define LINECALLFEATURE_GENERATETONE 0x00000400
269 #define LINECALLFEATURE_HOLD 0x00000800
270 #define LINECALLFEATURE_MONITORDIGITS 0x00001000
271 #define LINECALLFEATURE_MONITORMEDIA 0x00002000
272 #define LINECALLFEATURE_MONITORTONES 0x00004000
273 #define LINECALLFEATURE_PARK 0x00008000
274 #define LINECALLFEATURE_PREPAREADDCONF 0x00010000
275 #define LINECALLFEATURE_REDIRECT 0x00020000
276 #define LINECALLFEATURE_REMOVEFROMCONF 0x00040000
277 #define LINECALLFEATURE_SECURECALL 0x00080000
278 #define LINECALLFEATURE_SENDUSERUSER 0x00100000
279 #define LINECALLFEATURE_SETCALLPARAMS 0x00200000
280 #define LINECALLFEATURE_SETMEDIACONTROL 0x00400000
281 #define LINECALLFEATURE_SETTERMINAL 0x00800000
282 #define LINECALLFEATURE_SETUPCONF 0x01000000
283 #define LINECALLFEATURE_SETUPTRANSFER 0x02000000
284 #define LINECALLFEATURE_SWAPHOLD 0x04000000
285 #define LINECALLFEATURE_UNHOLD 0x08000000
286 #define LINECALLFEATURE_RELEASEUSERUSERINFO 0x10000000
287 #define LINECALLFEATURE_SETTREATMENT 0x20000000
288 #define LINECALLFEATURE_SETQOS 0x40000000
289 #define LINECALLFEATURE_SETCALLDATA 0x80000000
290 #define LINECALLFEATURE2_NOHOLDCONFERENCE 0x00000001
291 #define LINECALLFEATURE2_ONESTEPTRANSFER 0x00000002
292 #define LINECALLFEATURE2_COMPLCAMPON 0x00000004
293 #define LINECALLFEATURE2_COMPLCALLBACK 0x00000008
294 #define LINECALLFEATURE2_COMPLINTRUDE 0x00000010
295 #define LINECALLFEATURE2_COMPLMESSAGE 0x00000020
296 #define LINECALLFEATURE2_TRANSFERNORM 0x00000040
297 #define LINECALLFEATURE2_TRANSFERCONF 0x00000080
298 #define LINECALLFEATURE2_PARKDIRECT 0x00000100
299 #define LINECALLFEATURE2_PARKNONDIRECT 0x00000200
300
301 #define LINECALLHUBTRACKING_NONE 0x00000000
302 #define LINECALLHUBTRACKING_PROVIDERLEVEL 0x00000001
303 #define LINECALLHUBTRACKING_ALLCALLS 0x00000002
304
305 #define LINECALLINFOSTATE_OTHER 0x00000001
306 #define LINECALLINFOSTATE_DEVSPECIFIC 0x00000002
307 #define LINECALLINFOSTATE_BEARERMODE 0x00000004
308 #define LINECALLINFOSTATE_RATE 0x00000008
309 #define LINECALLINFOSTATE_MEDIAMODE 0x00000010
310 #define LINECALLINFOSTATE_APPSPECIFIC 0x00000020
311 #define LINECALLINFOSTATE_CALLID 0x00000040
312 #define LINECALLINFOSTATE_RELATEDCALLID 0x00000080
313 #define LINECALLINFOSTATE_ORIGIN 0x00000100
314 #define LINECALLINFOSTATE_REASON 0x00000200
315 #define LINECALLINFOSTATE_COMPLETIONID 0x00000400
316 #define LINECALLINFOSTATE_NUMOWNERINCR 0x00000800
317 #define LINECALLINFOSTATE_NUMOWNERDECR 0x00001000
318 #define LINECALLINFOSTATE_NUMMONITORS 0x00002000
319 #define LINECALLINFOSTATE_TRUNK 0x00004000
320 #define LINECALLINFOSTATE_CALLERID 0x00008000
321 #define LINECALLINFOSTATE_CALLEDID 0x00010000
322 #define LINECALLINFOSTATE_CONNECTEDID 0x00020000
323 #define LINECALLINFOSTATE_REDIRECTIONID 0x00040000
324 #define LINECALLINFOSTATE_REDIRECTINGID 0x00080000
325 #define LINECALLINFOSTATE_DISPLAY 0x00100000
326 #define LINECALLINFOSTATE_USERUSERINFO 0x00200000
327 #define LINECALLINFOSTATE_HIGHLEVELCOMP 0x00400000
328 #define LINECALLINFOSTATE_LOWLEVELCOMP 0x00800000
329 #define LINECALLINFOSTATE_CHARGINGINFO 0x01000000
330 #define LINECALLINFOSTATE_TERMINAL 0x02000000
331 #define LINECALLINFOSTATE_DIALPARAMS 0x04000000
332 #define LINECALLINFOSTATE_MONITORMODES 0x08000000
333 #define LINECALLINFOSTATE_TREATMENT 0x10000000
334 #define LINECALLINFOSTATE_QOS 0x20000000
335 #define LINECALLINFOSTATE_CALLDATA 0x40000000
336
337 #define LINECALLORIGIN_OUTBOUND 0x00000001
338 #define LINECALLORIGIN_INTERNAL 0x00000002
339 #define LINECALLORIGIN_EXTERNAL 0x00000004
340 #define LINECALLORIGIN_UNKNOWN 0x00000010
341 #define LINECALLORIGIN_UNAVAIL 0x00000020
342 #define LINECALLORIGIN_CONFERENCE 0x00000040
343 #define LINECALLORIGIN_INBOUND 0x00000080
344
345 #define LINECALLPARAMFLAGS_SECURE 0x00000001
346 #define LINECALLPARAMFLAGS_IDLE 0x00000002
347 #define LINECALLPARAMFLAGS_BLOCKID 0x00000004
348 #define LINECALLPARAMFLAGS_ORIGOFFHOOK 0x00000008
349 #define LINECALLPARAMFLAGS_DESTOFFHOOK 0x00000010
350 #define LINECALLPARAMFLAGS_NOHOLDCONFERENCE 0x00000020
351 #define LINECALLPARAMFLAGS_PREDICTIVEDIAL 0x00000040
352 #define LINECALLPARAMFLAGS_ONESTEPTRANSFER 0x00000080
353
354 #define LINECALLPARTYID_BLOCKED 0x00000001
355 #define LINECALLPARTYID_OUTOFAREA 0x00000002
356 #define LINECALLPARTYID_NAME 0x00000004
357 #define LINECALLPARTYID_ADDRESS 0x00000008
358 #define LINECALLPARTYID_PARTIAL 0x00000010
359 #define LINECALLPARTYID_UNKNOWN 0x00000020
360 #define LINECALLPARTYID_UNAVAIL 0x00000040
361
362 #define LINECALLPRIVILEGE_NONE 0x00000001
363 #define LINECALLPRIVILEGE_MONITOR 0x00000002
364 #define LINECALLPRIVILEGE_OWNER 0x00000004
365
366 #define LINECALLREASON_DIRECT 0x00000001
367 #define LINECALLREASON_FWDBUSY 0x00000002
368 #define LINECALLREASON_FWDNOANSWER 0x00000004
369 #define LINECALLREASON_FWDUNCOND 0x00000008
370 #define LINECALLREASON_PICKUP 0x00000010
371 #define LINECALLREASON_UNPARK 0x00000020
372 #define LINECALLREASON_REDIRECT 0x00000040
373 #define LINECALLREASON_CALLCOMPLETION 0x00000080
374 #define LINECALLREASON_TRANSFER 0x00000100
375 #define LINECALLREASON_REMINDER 0x00000200
376 #define LINECALLREASON_UNKNOWN 0x00000400
377 #define LINECALLREASON_UNAVAIL 0x00000800
378 #define LINECALLREASON_INTRUDE 0x00001000
379 #define LINECALLREASON_PARKED 0x00002000
380 #define LINECALLREASON_CAMPEDON 0x00004000
381 #define LINECALLREASON_ROUTEREQUEST 0x00008000
382
383 #define LINECALLSELECT_LINE 0x00000001
384 #define LINECALLSELECT_ADDRESS 0x00000002
385 #define LINECALLSELECT_CALL 0x00000004
386 #define LINECALLSELECT_DEVICEID 0x00000008
387 #define LINECALLSELECT_CALLID 0x00000010
388
389 #define LINECALLSTATE_IDLE 0x00000001
390 #define LINECALLSTATE_OFFERING 0x00000002
391 #define LINECALLSTATE_ACCEPTED 0x00000004
392 #define LINECALLSTATE_DIALTONE 0x00000008
393 #define LINECALLSTATE_DIALING 0x00000010
394 #define LINECALLSTATE_RINGBACK 0x00000020
395 #define LINECALLSTATE_BUSY 0x00000040
396 #define LINECALLSTATE_SPECIALINFO 0x00000080
397 #define LINECALLSTATE_CONNECTED 0x00000100
398 #define LINECALLSTATE_PROCEEDING 0x00000200
399 #define LINECALLSTATE_ONHOLD 0x00000400
400 #define LINECALLSTATE_CONFERENCED 0x00000800
401 #define LINECALLSTATE_ONHOLDPENDCONF 0x00001000
402 #define LINECALLSTATE_ONHOLDPENDTRANSFER 0x00002000
403 #define LINECALLSTATE_DISCONNECTED 0x00004000
404 #define LINECALLSTATE_UNKNOWN 0x00008000
405
406 #define LINECALLTREATMENT_SILENCE 0x00000001
407 #define LINECALLTREATMENT_RINGBACK 0x00000002
408 #define LINECALLTREATMENT_BUSY 0x00000003
409 #define LINECALLTREATMENT_MUSIC 0x00000004
410
411 #define LINECARDOPTION_PREDEFINED 0x00000001
412 #define LINECARDOPTION_HIDDEN 0x00000002
413
414 #define LINECONNECTEDMODE_ACTIVE 0x00000001
415 #define LINECONNECTEDMODE_INACTIVE 0x00000002
416 #define LINECONNECTEDMODE_ACTIVEHELD 0x00000004
417 #define LINECONNECTEDMODE_INACTIVEHELD 0x00000008
418 #define LINECONNECTEDMODE_CONFIRMED 0x00000010
419
420 #define LINEDEVCAPFLAGS_CROSSADDRCONF 0x00000001
421 #define LINEDEVCAPFLAGS_HIGHLEVCOMP 0x00000002
422 #define LINEDEVCAPFLAGS_LOWLEVCOMP 0x00000004
423 #define LINEDEVCAPFLAGS_MEDIACONTROL 0x00000008
424 #define LINEDEVCAPFLAGS_MULTIPLEADDR 0x00000010
425 #define LINEDEVCAPFLAGS_CLOSEDROP 0x00000020
426 #define LINEDEVCAPFLAGS_DIALBILLING 0x00000040
427 #define LINEDEVCAPFLAGS_DIALQUIET 0x00000080
428 #define LINEDEVCAPFLAGS_DIALDIALTONE 0x00000100
429 #define LINEDEVCAPFLAGS_MSP 0x00000200
430 #define LINEDEVCAPFLAGS_CALLHUB 0x00000400
431 #define LINEDEVCAPFLAGS_CALLHUBTRACKING 0x00000800
432 #define LINEDEVCAPFLAGS_PRIVATEOBJECTS 0x00001000
433 #define LINEDEVCAPFLAGS_LOCAL 0x00002000
434
435 #define LINEDEVSTATE_OTHER 0x00000001
436 #define LINEDEVSTATE_RINGING 0x00000002
437 #define LINEDEVSTATE_CONNECTED 0x00000004
438 #define LINEDEVSTATE_DISCONNECTED 0x00000008
439 #define LINEDEVSTATE_MSGWAITON 0x00000010
440 #define LINEDEVSTATE_MSGWAITOFF 0x00000020
441 #define LINEDEVSTATE_INSERVICE 0x00000040
442 #define LINEDEVSTATE_OUTOFSERVICE 0x00000080
443 #define LINEDEVSTATE_MAINTENANCE 0x00000100
444 #define LINEDEVSTATE_OPEN 0x00000200
445 #define LINEDEVSTATE_CLOSE 0x00000400
446 #define LINEDEVSTATE_NUMCALLS 0x00000800
447 #define LINEDEVSTATE_NUMCOMPLETIONS 0x00001000
448 #define LINEDEVSTATE_TERMINALS 0x00002000
449 #define LINEDEVSTATE_ROAMMODE 0x00004000
450 #define LINEDEVSTATE_BATTERY 0x00008000
451 #define LINEDEVSTATE_SIGNAL 0x00010000
452 #define LINEDEVSTATE_DEVSPECIFIC 0x00020000
453 #define LINEDEVSTATE_REINIT 0x00040000
454 #define LINEDEVSTATE_LOCK 0x00080000
455 #define LINEDEVSTATE_CAPSCHANGE 0x00100000
456 #define LINEDEVSTATE_CONFIGCHANGE 0x00200000
457 #define LINEDEVSTATE_TRANSLATECHANGE 0x00400000
458 #define LINEDEVSTATE_COMPLCANCEL 0x00800000
459 #define LINEDEVSTATE_REMOVED 0x01000000
460
461 #define LINEDEVSTATUSFLAGS_CONNECTED 0x00000001
462 #define LINEDEVSTATUSFLAGS_MSGWAIT 0x00000002
463 #define LINEDEVSTATUSFLAGS_INSERVICE 0x00000004
464 #define LINEDEVSTATUSFLAGS_LOCKED 0x00000008
465
466 #define LINEDIALTONEMODE_NORMAL 0x00000001
467 #define LINEDIALTONEMODE_SPECIAL 0x00000002
468 #define LINEDIALTONEMODE_INTERNAL 0x00000004
469 #define LINEDIALTONEMODE_EXTERNAL 0x00000008
470 #define LINEDIALTONEMODE_UNKNOWN 0x00000010
471 #define LINEDIALTONEMODE_UNAVAIL 0x00000020
472
473 #define LINEDIGITMODE_PULSE 0x00000001
474 #define LINEDIGITMODE_DTMF 0x00000002
475 #define LINEDIGITMODE_DTMFEND 0x00000004
476
477 #define LINEDISCONNECTMODE_NORMAL 0x00000001
478 #define LINEDISCONNECTMODE_UNKNOWN 0x00000002
479 #define LINEDISCONNECTMODE_REJECT 0x00000004
480 #define LINEDISCONNECTMODE_PICKUP 0x00000008
481 #define LINEDISCONNECTMODE_FORWARDED 0x00000010
482 #define LINEDISCONNECTMODE_BUSY 0x00000020
483 #define LINEDISCONNECTMODE_NOANSWER 0x00000040
484 #define LINEDISCONNECTMODE_BADADDRESS 0x00000080
485 #define LINEDISCONNECTMODE_UNREACHABLE 0x00000100
486 #define LINEDISCONNECTMODE_CONGESTION 0x00000200
487 #define LINEDISCONNECTMODE_INCOMPATIBLE 0x00000400
488 #define LINEDISCONNECTMODE_UNAVAIL 0x00000800
489 #define LINEDISCONNECTMODE_NODIALTONE 0x00001000
490 #define LINEDISCONNECTMODE_NUMBERCHANGED 0x00002000
491 #define LINEDISCONNECTMODE_OUTOFORDER 0x00004000
492 #define LINEDISCONNECTMODE_TEMPFAILURE 0x00008000
493 #define LINEDISCONNECTMODE_QOSUNAVAIL 0x00010000
494 #define LINEDISCONNECTMODE_BLOCKED 0x00020000
495 #define LINEDISCONNECTMODE_DONOTDISTURB 0x00040000
496 #define LINEDISCONNECTMODE_CANCELLED 0x00080000
497
498 #define LINEERR_ALLOCATED 0x80000001
499 #define LINEERR_BADDEVICEID 0x80000002
500 #define LINEERR_BEARERMODEUNAVAIL 0x80000003
501 #define LINEERR_CALLUNAVAIL 0x80000005
502 #define LINEERR_COMPLETIONOVERRUN 0x80000006
503 #define LINEERR_CONFERENCEFULL 0x80000007
504 #define LINEERR_DIALBILLING 0x80000008
505 #define LINEERR_DIALDIALTONE 0x80000009
506 #define LINEERR_DIALPROMPT 0x8000000A
507 #define LINEERR_DIALQUIET 0x8000000B
508 #define LINEERR_INCOMPATIBLEAPIVERSION 0x8000000C
509 #define LINEERR_INCOMPATIBLEEXTVERSION 0x8000000D
510 #define LINEERR_INIFILECORRUPT 0x8000000E
511 #define LINEERR_INUSE 0x8000000F
512 #define LINEERR_INVALADDRESS 0x80000010
513 #define LINEERR_INVALADDRESSID 0x80000011
514 #define LINEERR_INVALADDRESSMODE 0x80000012
515 #define LINEERR_INVALADDRESSSTATE 0x80000013
516 #define LINEERR_INVALAPPHANDLE 0x80000014
517 #define LINEERR_INVALAPPNAME 0x80000015
518 #define LINEERR_INVALBEARERMODE 0x80000016
519 #define LINEERR_INVALCALLCOMPLMODE 0x80000017
520 #define LINEERR_INVALCALLHANDLE 0x80000018
521 #define LINEERR_INVALCALLPARAMS 0x80000019
522 #define LINEERR_INVALCALLPRIVILEGE 0x8000001A
523 #define LINEERR_INVALCALLSELECT 0x8000001B
524 #define LINEERR_INVALCALLSTATE 0x8000001C
525 #define LINEERR_INVALCALLSTATELIST 0x8000001D
526 #define LINEERR_INVALCARD 0x8000001E
527 #define LINEERR_INVALCOMPLETIONID 0x8000001F
528 #define LINEERR_INVALCONFCALLHANDLE 0x80000020
529 #define LINEERR_INVALCONSULTCALLHANDLE 0x80000021
530 #define LINEERR_INVALCOUNTRYCODE 0x80000022
531 #define LINEERR_INVALDEVICECLASS 0x80000023
532 #define LINEERR_INVALDEVICEHANDLE 0x80000024
533 #define LINEERR_INVALDIALPARAMS 0x80000025
534 #define LINEERR_INVALDIGITLIST 0x80000026
535 #define LINEERR_INVALDIGITMODE 0x80000027
536 #define LINEERR_INVALDIGITS 0x80000028
537 #define LINEERR_INVALEXTVERSION 0x80000029
538 #define LINEERR_INVALGROUPID 0x8000002A
539 #define LINEERR_INVALLINEHANDLE 0x8000002B
540 #define LINEERR_INVALLINESTATE 0x8000002C
541 #define LINEERR_INVALLOCATION 0x8000002D
542 #define LINEERR_INVALMEDIALIST 0x8000002E
543 #define LINEERR_INVALMEDIAMODE 0x8000002F
544 #define LINEERR_INVALMESSAGEID 0x80000030
545 #define LINEERR_INVALPARAM 0x80000032
546 #define LINEERR_INVALPARKID 0x80000033
547 #define LINEERR_INVALPARKMODE 0x80000034
548 #define LINEERR_INVALPOINTER 0x80000035
549 #define LINEERR_INVALPRIVSELECT 0x80000036
550 #define LINEERR_INVALRATE 0x80000037
551 #define LINEERR_INVALREQUESTMODE 0x80000038
552 #define LINEERR_INVALTERMINALID 0x80000039
553 #define LINEERR_INVALTERMINALMODE 0x8000003A
554 #define LINEERR_INVALTIMEOUT 0x8000003B
555 #define LINEERR_INVALTONE 0x8000003C
556 #define LINEERR_INVALTONELIST 0x8000003D
557 #define LINEERR_INVALTONEMODE 0x8000003E
558 #define LINEERR_INVALTRANSFERMODE 0x8000003F
559 #define LINEERR_LINEMAPPERFAILED 0x80000040
560 #define LINEERR_NOCONFERENCE 0x80000041
561 #define LINEERR_NODEVICE 0x80000042
562 #define LINEERR_NODRIVER 0x80000043
563 #define LINEERR_NOMEM 0x80000044
564 #define LINEERR_NOREQUEST 0x80000045
565 #define LINEERR_NOTOWNER 0x80000046
566 #define LINEERR_NOTREGISTERED 0x80000047
567 #define LINEERR_OPERATIONFAILED 0x80000048
568 #define LINEERR_OPERATIONUNAVAIL 0x80000049
569 #define LINEERR_RATEUNAVAIL 0x8000004A
570 #define LINEERR_RESOURCEUNAVAIL 0x8000004B
571 #define LINEERR_REQUESTOVERRUN 0x8000004C
572 #define LINEERR_STRUCTURETOOSMALL 0x8000004D
573 #define LINEERR_TARGETNOTFOUND 0x8000004E
574 #define LINEERR_TARGETSELF 0x8000004F
575 #define LINEERR_UNINITIALIZED 0x80000050
576 #define LINEERR_USERUSERINFOTOOBIG 0x80000051
577 #define LINEERR_REINIT 0x80000052
578 #define LINEERR_ADDRESSBLOCKED 0x80000053
579 #define LINEERR_BILLINGREJECTED 0x80000054
580 #define LINEERR_INVALFEATURE 0x80000055
581 #define LINEERR_NOMULTIPLEINSTANCE 0x80000056
582 #define LINEERR_INVALAGENTID 0x80000057
583 #define LINEERR_INVALAGENTGROUP 0x80000058
584 #define LINEERR_INVALPASSWORD 0x80000059
585 #define LINEERR_INVALAGENTSTATE 0x8000005A
586 #define LINEERR_INVALAGENTACTIVITY 0x8000005B
587 #define LINEERR_DIALVOICEDETECT 0x8000005C
588 #define LINEERR_USERCANCELLED 0x8000005D
589 #define LINEERR_INVALADDRESSTYPE 0x8000005E
590 #define LINEERR_INVALAGENTSESSIONSTATE 0x8000005F
591 #define LINEERR_DISCONNECTED 0X80000060
592 #define LINEERR_SERVICE_NOT_RUNNING 0x80000061
593
594 #define LINEFEATURE_DEVSPECIFIC 0x00000001
595 #define LINEFEATURE_DEVSPECIFICFEAT 0x00000002
596 #define LINEFEATURE_FORWARD 0x00000004
597 #define LINEFEATURE_MAKECALL 0x00000008
598 #define LINEFEATURE_SETMEDIACONTROL 0x00000010
599 #define LINEFEATURE_SETTERMINAL 0x00000020
600 #define LINEFEATURE_SETDEVSTATUS 0x00000040
601 #define LINEFEATURE_FORWARDFWD 0x00000080
602 #define LINEFEATURE_FORWARDDND 0x00000100
603
604 #define LINEFORWARDMODE_UNCOND 0x00000001
605 #define LINEFORWARDMODE_UNCONDINTERNAL 0x00000002
606 #define LINEFORWARDMODE_UNCONDEXTERNAL 0x00000004
607 #define LINEFORWARDMODE_UNCONDSPECIFIC 0x00000008
608 #define LINEFORWARDMODE_BUSY 0x00000010
609 #define LINEFORWARDMODE_BUSYINTERNAL 0x00000020
610 #define LINEFORWARDMODE_BUSYEXTERNAL 0x00000040
611 #define LINEFORWARDMODE_BUSYSPECIFIC 0x00000080
612 #define LINEFORWARDMODE_NOANSW 0x00000100
613 #define LINEFORWARDMODE_NOANSWINTERNAL 0x00000200
614 #define LINEFORWARDMODE_NOANSWEXTERNAL 0x00000400
615 #define LINEFORWARDMODE_NOANSWSPECIFIC 0x00000800
616 #define LINEFORWARDMODE_BUSYNA 0x00001000
617 #define LINEFORWARDMODE_BUSYNAINTERNAL 0x00002000
618 #define LINEFORWARDMODE_BUSYNAEXTERNAL 0x00004000
619 #define LINEFORWARDMODE_BUSYNASPECIFIC 0x00008000
620 #define LINEFORWARDMODE_UNKNOWN 0x00010000
621 #define LINEFORWARDMODE_UNAVAIL 0x00020000
622
623 #define LINEGATHERTERM_BUFFERFULL 0x00000001
624 #define LINEGATHERTERM_TERMDIGIT 0x00000002
625 #define LINEGATHERTERM_FIRSTTIMEOUT 0x00000004
626 #define LINEGATHERTERM_INTERTIMEOUT 0x00000008
627 #define LINEGATHERTERM_CANCEL 0x00000010
628
629 #define LINEGENERATETERM_DONE 0x00000001
630 #define LINEGENERATETERM_CANCEL 0x00000002
631
632 #define LINEINITIALIZEEXOPTION_USEHIDDENWINDOW 0x00000001
633 #define LINEINITIALIZEEXOPTION_USEEVENT 0x00000002
634 #define LINEINITIALIZEEXOPTION_USECOMPLETIONPORT 0x00000003
635 #define LINEINITIALIZEEXOPTION_CALLHUBTRACKING 0x80000000
636 #define LINELOCATIONOPTION_PULSEDIAL 0x00000001
637
638 #define LINEMAPPER 0xFFFFFFFF
639
640 #define LINEMEDIACONTROL_NONE 0x00000001
641 #define LINEMEDIACONTROL_START 0x00000002
642 #define LINEMEDIACONTROL_RESET 0x00000004
643 #define LINEMEDIACONTROL_PAUSE 0x00000008
644 #define LINEMEDIACONTROL_RESUME 0x00000010
645 #define LINEMEDIACONTROL_RATEUP 0x00000020
646 #define LINEMEDIACONTROL_RATEDOWN 0x00000040
647 #define LINEMEDIACONTROL_RATENORMAL 0x00000080
648 #define LINEMEDIACONTROL_VOLUMEUP 0x00000100
649 #define LINEMEDIACONTROL_VOLUMEDOWN 0x00000200
650 #define LINEMEDIACONTROL_VOLUMENORMAL 0x00000400
651
652 #define LINEMEDIAMODE_UNKNOWN 0x00000002
653 #define LINEMEDIAMODE_INTERACTIVEVOICE 0x00000004
654 #define LINEMEDIAMODE_AUTOMATEDVOICE 0x00000008
655 #define LINEMEDIAMODE_DATAMODEM 0x00000010
656 #define LINEMEDIAMODE_G3FAX 0x00000020
657 #define LINEMEDIAMODE_TDD 0x00000040
658 #define LINEMEDIAMODE_G4FAX 0x00000080
659 #define LINEMEDIAMODE_DIGITALDATA 0x00000100
660 #define LINEMEDIAMODE_TELETEX 0x00000200
661 #define LINEMEDIAMODE_VIDEOTEX 0x00000400
662 #define LINEMEDIAMODE_TELEX 0x00000800
663 #define LINEMEDIAMODE_MIXED 0x00001000
664 #define LINEMEDIAMODE_ADSI 0x00002000
665 #define LINEMEDIAMODE_VOICEVIEW 0x00004000
666 #define LINEMEDIAMODE_VIDEO 0x00008000
667 #define LAST_LINEMEDIAMODE 0x00008000
668
669 #define LINEOFFERINGMODE_ACTIVE 0x00000001
670 #define LINEOFFERINGMODE_INACTIVE 0x00000002
671
672 #define LINEOPENOPTION_SINGLEADDRESS 0x80000000
673 #define LINEOPENOPTION_PROXY 0x40000000
674
675 #define LINEPARKMODE_DIRECTED 0x00000001
676 #define LINEPARKMODE_NONDIRECTED 0x00000002
677
678 #define LINEPROXYREQUEST_SETAGENTGROUP 0x00000001
679 #define LINEPROXYREQUEST_SETAGENTSTATE 0x00000002
680 #define LINEPROXYREQUEST_SETAGENTACTIVITY 0x00000003
681 #define LINEPROXYREQUEST_GETAGENTCAPS 0x00000004
682 #define LINEPROXYREQUEST_GETAGENTSTATUS 0x00000005
683 #define LINEPROXYREQUEST_AGENTSPECIFIC 0x00000006
684 #define LINEPROXYREQUEST_GETAGENTACTIVITYLIST 0x00000007
685 #define LINEPROXYREQUEST_GETAGENTGROUPLIST 0x00000008
686
687 #define LINEPROXYREQUEST_CREATEAGENT 0x00000009
688 #define LINEPROXYREQUEST_SETAGENTMEASUREMENTPERIOD 0x0000000A
689 #define LINEPROXYREQUEST_GETAGENTINFO 0x0000000B
690 #define LINEPROXYREQUEST_CREATEAGENTSESSION 0x0000000C
691 #define LINEPROXYREQUEST_GETAGENTSESSIONLIST 0x0000000D
692 #define LINEPROXYREQUEST_SETAGENTSESSIONSTATE 0x0000000E
693 #define LINEPROXYREQUEST_GETAGENTSESSIONINFO 0x0000000F
694 #define LINEPROXYREQUEST_GETQUEUELIST 0x00000010
695 #define LINEPROXYREQUEST_SETQUEUEMEASUREMENTPERIOD 0x00000011
696 #define LINEPROXYREQUEST_GETQUEUEINFO 0x00000012
697 #define LINEPROXYREQUEST_GETGROUPLIST 0x00000013
698 #define LINEPROXYREQUEST_SETAGENTSTATEEX 0x00000014
699
700 #define LINEREMOVEFROMCONF_NONE 0x00000001
701 #define LINEREMOVEFROMCONF_LAST 0x00000002
702 #define LINEREMOVEFROMCONF_ANY 0x00000003
703
704 #define LINEREQUESTMODE_MAKECALL 0x00000001
705 #define LINEREQUESTMODE_MEDIACALL 0x00000002
706 #define LINEREQUESTMODE_DROP 0x00000004
707 #define LAST_LINEREQUESTMODE LINEREQUESTMODE_MEDIACALL
708
709 #define LINEROAMMODE_UNKNOWN 0x00000001
710 #define LINEROAMMODE_UNAVAIL 0x00000002
711 #define LINEROAMMODE_HOME 0x00000004
712 #define LINEROAMMODE_ROAMA 0x00000008
713 #define LINEROAMMODE_ROAMB 0x00000010
714
715 #define LINESPECIALINFO_NOCIRCUIT 0x00000001
716 #define LINESPECIALINFO_CUSTIRREG 0x00000002
717 #define LINESPECIALINFO_REORDER 0x00000004
718 #define LINESPECIALINFO_UNKNOWN 0x00000008
719 #define LINESPECIALINFO_UNAVAIL 0x00000010
720
721 #define LINETERMDEV_PHONE 0x00000001
722 #define LINETERMDEV_HEADSET 0x00000002
723 #define LINETERMDEV_SPEAKER 0x00000004
724
725 #define LINETERMMODE_BUTTONS 0x00000001
726 #define LINETERMMODE_LAMPS 0x00000002
727 #define LINETERMMODE_DISPLAY 0x00000004
728 #define LINETERMMODE_RINGER 0x00000008
729 #define LINETERMMODE_HOOKSWITCH 0x00000010
730 #define LINETERMMODE_MEDIATOLINE 0x00000020
731 #define LINETERMMODE_MEDIAFROMLINE 0x00000040
732 #define LINETERMMODE_MEDIABIDIRECT 0x00000080
733
734 #define LINETERMSHARING_PRIVATE 0x00000001
735 #define LINETERMSHARING_SHAREDEXCL 0x00000002
736 #define LINETERMSHARING_SHAREDCONF 0x00000004
737
738 #define LINETOLLLISTOPTION_ADD 0x00000001
739 #define LINETOLLLISTOPTION_REMOVE 0x00000002
740
741 #define LINETONEMODE_CUSTOM 0x00000001
742 #define LINETONEMODE_RINGBACK 0x00000002
743 #define LINETONEMODE_BUSY 0x00000004
744 #define LINETONEMODE_BEEP 0x00000008
745 #define LINETONEMODE_BILLING 0x00000010
746
747 #define LINETRANSFERMODE_TRANSFER 0x00000001
748 #define LINETRANSFERMODE_CONFERENCE 0x00000002
749
750 #define LINETRANSLATEOPTION_CARDOVERRIDE 0x00000001
751 #define LINETRANSLATEOPTION_CANCELCALLWAITING 0x00000002
752 #define LINETRANSLATEOPTION_FORCELOCAL 0x00000004
753 #define LINETRANSLATEOPTION_FORCELD 0x00000008
754
755 #define LINETRANSLATERESULT_CANONICAL 0x00000001
756 #define LINETRANSLATERESULT_INTERNATIONAL 0x00000002
757 #define LINETRANSLATERESULT_LONGDISTANCE 0x00000004
758 #define LINETRANSLATERESULT_LOCAL 0x00000008
759 #define LINETRANSLATERESULT_INTOLLLIST 0x00000010
760 #define LINETRANSLATERESULT_NOTINTOLLLIST 0x00000020
761 #define LINETRANSLATERESULT_DIALBILLING 0x00000040
762 #define LINETRANSLATERESULT_DIALQUIET 0x00000080
763 #define LINETRANSLATERESULT_DIALDIALTONE 0x00000100
764 #define LINETRANSLATERESULT_DIALPROMPT 0x00000200
765 #define LINETRANSLATERESULT_VOICEDETECT 0x00000400
766 #define LINETRANSLATERESULT_NOTRANSLATION 0x00000800
767
768 #define PHONEBUTTONFUNCTION_UNKNOWN 0x00000000
769 #define PHONEBUTTONFUNCTION_CONFERENCE 0x00000001
770 #define PHONEBUTTONFUNCTION_TRANSFER 0x00000002
771 #define PHONEBUTTONFUNCTION_DROP 0x00000003
772 #define PHONEBUTTONFUNCTION_HOLD 0x00000004
773 #define PHONEBUTTONFUNCTION_RECALL 0x00000005
774 #define PHONEBUTTONFUNCTION_DISCONNECT 0x00000006
775 #define PHONEBUTTONFUNCTION_CONNECT 0x00000007
776 #define PHONEBUTTONFUNCTION_MSGWAITON 0x00000008
777 #define PHONEBUTTONFUNCTION_MSGWAITOFF 0x00000009
778 #define PHONEBUTTONFUNCTION_SELECTRING 0x0000000A
779 #define PHONEBUTTONFUNCTION_ABBREVDIAL 0x0000000B
780 #define PHONEBUTTONFUNCTION_FORWARD 0x0000000C
781 #define PHONEBUTTONFUNCTION_PICKUP 0x0000000D
782 #define PHONEBUTTONFUNCTION_RINGAGAIN 0x0000000E
783 #define PHONEBUTTONFUNCTION_PARK 0x0000000F
784 #define PHONEBUTTONFUNCTION_REJECT 0x00000010
785 #define PHONEBUTTONFUNCTION_REDIRECT 0x00000011
786 #define PHONEBUTTONFUNCTION_MUTE 0x00000012
787 #define PHONEBUTTONFUNCTION_VOLUMEUP 0x00000013
788 #define PHONEBUTTONFUNCTION_VOLUMEDOWN 0x00000014
789 #define PHONEBUTTONFUNCTION_SPEAKERON 0x00000015
790 #define PHONEBUTTONFUNCTION_SPEAKEROFF 0x00000016
791 #define PHONEBUTTONFUNCTION_FLASH 0x00000017
792 #define PHONEBUTTONFUNCTION_DATAON 0x00000018
793 #define PHONEBUTTONFUNCTION_DATAOFF 0x00000019
794 #define PHONEBUTTONFUNCTION_DONOTDISTURB 0x0000001A
795 #define PHONEBUTTONFUNCTION_INTERCOM 0x0000001B
796 #define PHONEBUTTONFUNCTION_BRIDGEDAPP 0x0000001C
797 #define PHONEBUTTONFUNCTION_BUSY 0x0000001D
798 #define PHONEBUTTONFUNCTION_CALLAPP 0x0000001E
799 #define PHONEBUTTONFUNCTION_DATETIME 0x0000001F
800 #define PHONEBUTTONFUNCTION_DIRECTORY 0x00000020
801 #define PHONEBUTTONFUNCTION_COVER 0x00000021
802 #define PHONEBUTTONFUNCTION_CALLID 0x00000022
803 #define PHONEBUTTONFUNCTION_LASTNUM 0x00000023
804 #define PHONEBUTTONFUNCTION_NIGHTSRV 0x00000024
805 #define PHONEBUTTONFUNCTION_SENDCALLS 0x00000025
806 #define PHONEBUTTONFUNCTION_MSGINDICATOR 0x00000026
807 #define PHONEBUTTONFUNCTION_REPDIAL 0x00000027
808 #define PHONEBUTTONFUNCTION_SETREPDIAL 0x00000028
809 #define PHONEBUTTONFUNCTION_SYSTEMSPEED 0x00000029
810 #define PHONEBUTTONFUNCTION_STATIONSPEED 0x0000002A
811 #define PHONEBUTTONFUNCTION_CAMPON 0x0000002B
812 #define PHONEBUTTONFUNCTION_SAVEREPEAT 0x0000002C
813 #define PHONEBUTTONFUNCTION_QUEUECALL 0x0000002D
814 #define PHONEBUTTONFUNCTION_NONE 0x0000002E
815 #define PHONEBUTTONFUNCTION_SEND 0x0000002F
816
817 #define PHONEBUTTONMODE_DUMMY 0x00000001
818 #define PHONEBUTTONMODE_CALL 0x00000002
819 #define PHONEBUTTONMODE_FEATURE 0x00000004
820 #define PHONEBUTTONMODE_KEYPAD 0x00000008
821 #define PHONEBUTTONMODE_LOCAL 0x00000010
822 #define PHONEBUTTONMODE_DISPLAY 0x00000020
823
824 #define PHONEBUTTONSTATE_UP 0x00000001
825 #define PHONEBUTTONSTATE_DOWN 0x00000002
826 #define PHONEBUTTONSTATE_UNKNOWN 0x00000004
827 #define PHONEBUTTONSTATE_UNAVAIL 0x00000008
828
829 #define PHONEERR_ALLOCATED 0x90000001
830 #define PHONEERR_BADDEVICEID 0x90000002
831 #define PHONEERR_INCOMPATIBLEAPIVERSION 0x90000003
832 #define PHONEERR_INCOMPATIBLEEXTVERSION 0x90000004
833 #define PHONEERR_INIFILECORRUPT 0x90000005
834 #define PHONEERR_INUSE 0x90000006
835 #define PHONEERR_INVALAPPHANDLE 0x90000007
836 #define PHONEERR_INVALAPPNAME 0x90000008
837 #define PHONEERR_INVALBUTTONLAMPID 0x90000009
838 #define PHONEERR_INVALBUTTONMODE 0x9000000A
839 #define PHONEERR_INVALBUTTONSTATE 0x9000000B
840 #define PHONEERR_INVALDATAID 0x9000000C
841 #define PHONEERR_INVALDEVICECLASS 0x9000000D
842 #define PHONEERR_INVALEXTVERSION 0x9000000E
843 #define PHONEERR_INVALHOOKSWITCHDEV 0x9000000F
844 #define PHONEERR_INVALHOOKSWITCHMODE 0x90000010
845 #define PHONEERR_INVALLAMPMODE 0x90000011
846 #define PHONEERR_INVALPARAM 0x90000012
847 #define PHONEERR_INVALPHONEHANDLE 0x90000013
848 #define PHONEERR_INVALPHONESTATE 0x90000014
849 #define PHONEERR_INVALPOINTER 0x90000015
850 #define PHONEERR_INVALPRIVILEGE 0x90000016
851 #define PHONEERR_INVALRINGMODE 0x90000017
852 #define PHONEERR_NODEVICE 0x90000018
853 #define PHONEERR_NODRIVER 0x90000019
854 #define PHONEERR_NOMEM 0x9000001A
855 #define PHONEERR_NOTOWNER 0x9000001B
856 #define PHONEERR_OPERATIONFAILED 0x9000001C
857 #define PHONEERR_OPERATIONUNAVAIL 0x9000001D
858 #define PHONEERR_RESOURCEUNAVAIL 0x9000001F
859 #define PHONEERR_REQUESTOVERRUN 0x90000020
860 #define PHONEERR_STRUCTURETOOSMALL 0x90000021
861 #define PHONEERR_UNINITIALIZED 0x90000022
862 #define PHONEERR_REINIT 0x90000023
863 #define PHONEERR_DISCONNECTED 0x90000024
864 #define PHONEERR_SERVICE_NOT_RUNNING 0x90000025
865
866 #define PHONEFEATURE_GETBUTTONINFO 0x00000001
867 #define PHONEFEATURE_GETDATA 0x00000002
868 #define PHONEFEATURE_GETDISPLAY 0x00000004
869 #define PHONEFEATURE_GETGAINHANDSET 0x00000008
870 #define PHONEFEATURE_GETGAINSPEAKER 0x00000010
871 #define PHONEFEATURE_GETGAINHEADSET 0x00000020
872 #define PHONEFEATURE_GETHOOKSWITCHHANDSET 0x00000040
873 #define PHONEFEATURE_GETHOOKSWITCHSPEAKER 0x00000080
874 #define PHONEFEATURE_GETHOOKSWITCHHEADSET 0x00000100
875 #define PHONEFEATURE_GETLAMP 0x00000200
876 #define PHONEFEATURE_GETRING 0x00000400
877 #define PHONEFEATURE_GETVOLUMEHANDSET 0x00000800
878 #define PHONEFEATURE_GETVOLUMESPEAKER 0x00001000
879 #define PHONEFEATURE_GETVOLUMEHEADSET 0x00002000
880 #define PHONEFEATURE_SETBUTTONINFO 0x00004000
881 #define PHONEFEATURE_SETDATA 0x00008000
882 #define PHONEFEATURE_SETDISPLAY 0x00010000
883 #define PHONEFEATURE_SETGAINHANDSET 0x00020000
884 #define PHONEFEATURE_SETGAINSPEAKER 0x00040000
885 #define PHONEFEATURE_SETGAINHEADSET 0x00080000
886 #define PHONEFEATURE_SETHOOKSWITCHHANDSET 0x00100000
887 #define PHONEFEATURE_SETHOOKSWITCHSPEAKER 0x00200000
888 #define PHONEFEATURE_SETHOOKSWITCHHEADSET 0x00400000
889 #define PHONEFEATURE_SETLAMP 0x00800000
890 #define PHONEFEATURE_SETRING 0x01000000
891 #define PHONEFEATURE_SETVOLUMEHANDSET 0x02000000
892 #define PHONEFEATURE_SETVOLUMESPEAKER 0x04000000
893 #define PHONEFEATURE_SETVOLUMEHEADSET 0x08000000
894 #define PHONEFEATURE_GENERICPHONE 0x10000000
895
896 #define PHONEHOOKSWITCHDEV_HANDSET 0x00000001
897 #define PHONEHOOKSWITCHDEV_SPEAKER 0x00000002
898 #define PHONEHOOKSWITCHDEV_HEADSET 0x00000004
899
900 #define PHONEHOOKSWITCHMODE_ONHOOK 0x00000001
901 #define PHONEHOOKSWITCHMODE_MIC 0x00000002
902 #define PHONEHOOKSWITCHMODE_SPEAKER 0x00000004
903 #define PHONEHOOKSWITCHMODE_MICSPEAKER 0x00000008
904 #define PHONEHOOKSWITCHMODE_UNKNOWN 0x00000010
905
906 #define PHONEINITIALIZEEXOPTION_USEHIDDENWINDOW 0x00000001
907 #define PHONEINITIALIZEEXOPTION_USEEVENT 0x00000002
908 #define PHONEINITIALIZEEXOPTION_USECOMPLETIONPORT 0x00000003
909
910 #define PHONELAMPMODE_DUMMY 0x00000001
911 #define PHONELAMPMODE_OFF 0x00000002
912 #define PHONELAMPMODE_STEADY 0x00000004
913 #define PHONELAMPMODE_WINK 0x00000008
914 #define PHONELAMPMODE_FLASH 0x00000010
915 #define PHONELAMPMODE_FLUTTER 0x00000020
916 #define PHONELAMPMODE_BROKENFLUTTER 0x00000040
917 #define PHONELAMPMODE_UNKNOWN 0x00000080
918
919 #define PHONEPRIVILEGE_MONITOR 0x00000001
920 #define PHONEPRIVILEGE_OWNER 0x00000002
921
922 #define PHONESTATE_OTHER 0x00000001
923 #define PHONESTATE_CONNECTED 0x00000002
924 #define PHONESTATE_DISCONNECTED 0x00000004
925 #define PHONESTATE_OWNER 0x00000008
926 #define PHONESTATE_MONITORS 0x00000010
927 #define PHONESTATE_DISPLAY 0x00000020
928 #define PHONESTATE_LAMP 0x00000040
929 #define PHONESTATE_RINGMODE 0x00000080
930 #define PHONESTATE_RINGVOLUME 0x00000100
931 #define PHONESTATE_HANDSETHOOKSWITCH 0x00000200
932 #define PHONESTATE_HANDSETVOLUME 0x00000400
933 #define PHONESTATE_HANDSETGAIN 0x00000800
934 #define PHONESTATE_SPEAKERHOOKSWITCH 0x00001000
935 #define PHONESTATE_SPEAKERVOLUME 0x00002000
936 #define PHONESTATE_SPEAKERGAIN 0x00004000
937 #define PHONESTATE_HEADSETHOOKSWITCH 0x00008000
938 #define PHONESTATE_HEADSETVOLUME 0x00010000
939 #define PHONESTATE_HEADSETGAIN 0x00020000
940 #define PHONESTATE_SUSPEND 0x00040000
941 #define PHONESTATE_RESUME 0x00080000
942 #define PHONESTATE_DEVSPECIFIC 0x00100000
943 #define PHONESTATE_REINIT 0x00200000
944 #define PHONESTATE_CAPSCHANGE 0x00400000
945 #define PHONESTATE_REMOVED 0x00800000
946
947 #define PHONESTATUSFLAGS_CONNECTED 0x00000001
948 #define PHONESTATUSFLAGS_SUSPENDED 0x00000002
949
950 #define STRINGFORMAT_ASCII 0x00000001
951 #define STRINGFORMAT_DBCS 0x00000002
952 #define STRINGFORMAT_UNICODE 0x00000003
953 #define STRINGFORMAT_BINARY 0x00000004
954
955 #define TAPI_REPLY WM_USER + 99
956
957 #define TAPIERR_CONNECTED 0L
958 #define TAPIERR_DROPPED -1L
959 #define TAPIERR_NOREQUESTRECIPIENT -2L
960 #define TAPIERR_REQUESTQUEUEFULL -3L
961 #define TAPIERR_INVALDESTADDRESS -4L
962 #define TAPIERR_INVALWINDOWHANDLE -5L
963 #define TAPIERR_INVALDEVICECLASS -6L
964 #define TAPIERR_INVALDEVICEID -7L
965 #define TAPIERR_DEVICECLASSUNAVAIL -8L
966 #define TAPIERR_DEVICEIDUNAVAIL -9L
967 #define TAPIERR_DEVICEINUSE -10L
968 #define TAPIERR_DESTBUSY -11L
969 #define TAPIERR_DESTNOANSWER -12L
970 #define TAPIERR_DESTUNAVAIL -13L
971 #define TAPIERR_UNKNOWNWINHANDLE -14L
972 #define TAPIERR_UNKNOWNREQUESTID -15L
973 #define TAPIERR_REQUESTFAILED -16L
974 #define TAPIERR_REQUESTCANCELLED -17L
975 #define TAPIERR_INVALPOINTER -18L
976 #define TAPIERR_NOTADMIN -19L
977 #define TAPIERR_MMCWRITELOCKED -20L
978 #define TAPIERR_PROVIDERALREADYINSTALLED -21L
979 #define TAPIERR_SCP_ALREADY_EXISTS -22L
980 #define TAPIERR_SCP_DOES_NOT_EXIST -23L
981
982 #define TAPIMAXDESTADDRESSSIZE 80L
983 #define TAPIMAXAPPNAMESIZE 40L
984 #define TAPIMAXCALLEDPARTYSIZE 40L
985 #define TAPIMAXCOMMENTSIZE 80L
986 #define TAPIMAXDEVICECLASSSIZE 40L
987 #define TAPIMAXDEVICEIDSIZE 40L
988
989 #ifndef GUID_DEFINED
990 #define GUID_DEFINED
991 typedef struct _GUID {
992 unsigned long Data1;
993 unsigned short Data2;
994 unsigned short Data3;
995 unsigned char Data4[8];
996 } GUID;
997 #endif
998
999 #ifndef __LPGUID_DEFINED__
1000 #define __LPGUID_DEFINED__
1001 typedef GUID *LPGUID;
1002 #endif
1003
1004 typedef struct lineaddresscaps_tag {
1005 DWORD dwTotalSize;
1006 DWORD dwNeededSize;
1007 DWORD dwUsedSize;
1008 DWORD dwLineDeviceID;
1009 DWORD dwAddressSize;
1010 DWORD dwAddressOffset;
1011 DWORD dwDevSpecificSize;
1012 DWORD dwDevSpecificOffset;
1013 DWORD dwAddressSharing;
1014 DWORD dwAddressStates;
1015 DWORD dwCallInfoStates;
1016 DWORD dwCallerIDFlags;
1017 DWORD dwCalledIDFlags;
1018 DWORD dwConnectedIDFlags;
1019 DWORD dwRedirectionIDFlags;
1020 DWORD dwRedirectingIDFlags;
1021 DWORD dwCallStates;
1022 DWORD dwDialToneModes;
1023 DWORD dwBusyModes;
1024 DWORD dwSpecialInfo;
1025 DWORD dwDisconnectModes;
1026 DWORD dwMaxNumActiveCalls;
1027 DWORD dwMaxNumOnHoldCalls;
1028 DWORD dwMaxNumOnHoldPendingCalls;
1029 DWORD dwMaxNumConference;
1030 DWORD dwMaxNumTransConf;
1031 DWORD dwAddrCapFlags;
1032 DWORD dwCallFeatures;
1033 DWORD dwRemoveFromConfCaps;
1034 DWORD dwRemoveFromConfState;
1035 DWORD dwTransferModes;
1036 DWORD dwParkModes;
1037 DWORD dwForwardModes;
1038 DWORD dwMaxForwardEntries;
1039 DWORD dwMaxSpecificEntries;
1040 DWORD dwMinFwdNumRings;
1041 DWORD dwMaxFwdNumRings;
1042 DWORD dwMaxCallCompletions;
1043 DWORD dwCallCompletionConds;
1044 DWORD dwCallCompletionModes;
1045 DWORD dwNumCompletionMessages;
1046 DWORD dwCompletionMsgTextEntrySize;
1047 DWORD dwCompletionMsgTextSize;
1048 DWORD dwCompletionMsgTextOffset;
1049 DWORD dwAddressFeatures;
1050 DWORD dwPredictiveAutoTransferStates;
1051 DWORD dwNumCallTreatments;
1052 DWORD dwCallTreatmentListSize;
1053 DWORD dwCallTreatmentListOffset;
1054 DWORD dwDeviceClassesSize;
1055 DWORD dwDeviceClassesOffset;
1056 DWORD dwMaxCallDataSize;
1057 DWORD dwCallFeatures2;
1058 DWORD dwMaxNoAnswerTimeout;
1059 DWORD dwConnectedModes;
1060 DWORD dwOfferingModes;
1061 DWORD dwAvailableMediaModes;
1062 } LINEADDRESSCAPS,*LPLINEADDRESSCAPS;
1063
1064 typedef struct lineaddressstatus_tag {
1065 DWORD dwTotalSize;
1066 DWORD dwNeededSize;
1067 DWORD dwUsedSize;
1068 DWORD dwNumInUse;
1069 DWORD dwNumActiveCalls;
1070 DWORD dwNumOnHoldCalls;
1071 DWORD dwNumOnHoldPendCalls;
1072 DWORD dwAddressFeatures;
1073 DWORD dwNumRingsNoAnswer;
1074 DWORD dwForwardNumEntries;
1075 DWORD dwForwardSize;
1076 DWORD dwForwardOffset;
1077 DWORD dwTerminalModesSize;
1078 DWORD dwTerminalModesOffset;
1079 DWORD dwDevSpecificSize;
1080 DWORD dwDevSpecificOffset;
1081 } LINEADDRESSSTATUS,*LPLINEADDRESSSTATUS;
1082
1083 typedef struct lineagentactivityentry_tag {
1084 DWORD dwID;
1085 DWORD dwNameSize;
1086 DWORD dwNameOffset;
1087 } LINEAGENTACTIVITYENTRY,*LPLINEAGENTACTIVITYENTRY;
1088
1089 typedef struct lineagentactivitylist_tag {
1090 DWORD dwTotalSize;
1091 DWORD dwNeededSize;
1092 DWORD dwUsedSize;
1093 DWORD dwNumEntries;
1094 DWORD dwListSize;
1095 DWORD dwListOffset;
1096 } LINEAGENTACTIVITYLIST,*LPLINEAGENTACTIVITYLIST;
1097
1098 typedef struct lineagentcaps_tag {
1099 DWORD dwTotalSize;
1100 DWORD dwNeededSize;
1101 DWORD dwUsedSize;
1102 DWORD dwAgentHandlerInfoSize;
1103 DWORD dwAgentHandlerInfoOffset;
1104 DWORD dwCapsVersion;
1105 DWORD dwFeatures;
1106 DWORD dwStates;
1107 DWORD dwNextStates;
1108 DWORD dwMaxNumGroupEntries;
1109 DWORD dwAgentStatusMessages;
1110 DWORD dwNumAgentExtensionIDs;
1111 DWORD dwAgentExtensionIDListSize;
1112 DWORD dwAgentExtensionIDListOffset;
1113 GUID ProxyGUID;
1114 } LINEAGENTCAPS,*LPLINEAGENTCAPS;
1115
1116 typedef struct lineagentgroupentry_tag {
1117 struct {
1118 DWORD dwGroupID1;
1119 DWORD dwGroupID2;
1120 DWORD dwGroupID3;
1121 DWORD dwGroupID4;
1122 } GroupID;
1123 DWORD dwNameSize;
1124 DWORD dwNameOffset;
1125 } LINEAGENTGROUPENTRY,*LPLINEAGENTGROUPENTRY;
1126
1127 typedef struct lineagentgrouplist_tag {
1128 DWORD dwTotalSize;
1129 DWORD dwNeededSize;
1130 DWORD dwUsedSize;
1131 DWORD dwNumEntries;
1132 DWORD dwListSize;
1133 DWORD dwListOffset;
1134 } LINEAGENTGROUPLIST,*LPLINEAGENTGROUPLIST;
1135
1136 typedef struct lineagentstatus_tag {
1137 DWORD dwTotalSize;
1138 DWORD dwNeededSize;
1139 DWORD dwUsedSize;
1140 DWORD dwNumEntries;
1141 DWORD dwGroupListSize;
1142 DWORD dwGroupListOffset;
1143 DWORD dwState;
1144 DWORD dwNextState;
1145 DWORD dwActivityID;
1146 DWORD dwActivitySize;
1147 DWORD dwActivityOffset;
1148 DWORD dwAgentFeatures;
1149 DWORD dwValidStates;
1150 DWORD dwValidNextStates;
1151 } LINEAGENTSTATUS,*LPLINEAGENTSTATUS;
1152
1153 typedef struct lineappinfo_tag {
1154 DWORD dwMachineNameSize;
1155 DWORD dwMachineNameOffset;
1156 DWORD dwUserNameSize;
1157 DWORD dwUserNameOffset;
1158 DWORD dwModuleFilenameSize;
1159 DWORD dwModuleFilenameOffset;
1160 DWORD dwFriendlyNameSize;
1161 DWORD dwFriendlyNameOffset;
1162 DWORD dwMediaModes;
1163 DWORD dwAddressID;
1164 } LINEAPPINFO,*LPLINEAPPINFO;
1165
1166 typedef struct lineagententry_tag {
1167 HAGENT hAgent;
1168 DWORD dwNameSize;
1169 DWORD dwNameOffset;
1170 DWORD dwIDSize;
1171 DWORD dwIDOffset;
1172 DWORD dwPINSize;
1173 DWORD dwPINOffset;
1174 } LINEAGENTENTRY,*LPLINEAGENTENTRY;
1175
1176 typedef struct lineagentlist_tag {
1177 DWORD dwTotalSize;
1178 DWORD dwNeededSize;
1179 DWORD dwUsedSize;
1180 DWORD dwNumEntries;
1181 DWORD dwListSize;
1182 DWORD dwListOffset;
1183 } LINEAGENTLIST,*LPLINEAGENTLIST;
1184
1185 typedef struct lineagentinfo_tag {
1186 DWORD dwTotalSize;
1187 DWORD dwNeededSize;
1188 DWORD dwUsedSize;
1189 DWORD dwAgentState;
1190 DWORD dwNextAgentState;
1191 DWORD dwMeasurementPeriod;
1192 CURRENCY cyOverallCallRate;
1193 DWORD dwNumberOfACDCalls;
1194 DWORD dwNumberOfIncomingCalls;
1195 DWORD dwNumberOfOutgoingCalls;
1196 DWORD dwTotalACDTalkTime;
1197 DWORD dwTotalACDCallTime;
1198 DWORD dwTotalACDWrapUpTime;
1199 } LINEAGENTINFO,*LPLINEAGENTINFO;
1200
1201 typedef struct lineagentsession_tag {
1202 HAGENTSESSION hAgentSession;
1203 HAGENT hAgent;
1204 GUID GroupID;
1205 DWORD dwWorkingAddressID;
1206 } LINEAGENTSESSIONENTRY ,*LPLINEAGENTSESSIONENTRY;
1207
1208 typedef struct lineagentsessionlist_tag {
1209 DWORD dwTotalSize;
1210 DWORD dwNeededSize;
1211 DWORD dwUsedSize;
1212 DWORD dwNumEntries;
1213 DWORD dwListSize;
1214 DWORD dwListOffset;
1215 } LINEAGENTSESSIONLIST,*LPLINEAGENTSESSIONLIST;
1216
1217 typedef struct lineagentsessioninfo_tag {
1218 DWORD dwTotalSize;
1219 DWORD dwNeededSize;
1220 DWORD dwUsedSize;
1221 DWORD dwAgentSessionState;
1222 DWORD dwNextAgentSessionState;
1223 DATE dateSessionStartTime;
1224 DWORD dwSessionDuration;
1225 DWORD dwNumberOfCalls;
1226 DWORD dwTotalTalkTime;
1227 DWORD dwAverageTalkTime;
1228 DWORD dwTotalCallTime;
1229 DWORD dwAverageCallTime;
1230 DWORD dwTotalWrapUpTime;
1231 DWORD dwAverageWrapUpTime;
1232 CURRENCY cyACDCallRate;
1233 DWORD dwLongestTimeToAnswer;
1234 DWORD dwAverageTimeToAnswer;
1235 } LINEAGENTSESSIONINFO,*LPLINEAGENTSESSIONINFO;
1236
1237 typedef struct linequeueentry_tag {
1238 DWORD dwQueueID;
1239 DWORD dwNameSize;
1240 DWORD dwNameOffset;
1241 } LINEQUEUEENTRY,*LPLINEQUEUEENTRY;
1242
1243 typedef struct linequeuelist_tag {
1244 DWORD dwTotalSize;
1245 DWORD dwNeededSize;
1246 DWORD dwUsedSize;
1247 DWORD dwNumEntries;
1248 DWORD dwListSize;
1249 DWORD dwListOffset;
1250 } LINEQUEUELIST,*LPLINEQUEUELIST;
1251
1252 typedef struct linequeueinfo_tag {
1253 DWORD dwTotalSize;
1254 DWORD dwNeededSize;
1255 DWORD dwUsedSize;
1256 DWORD dwMeasurementPeriod;
1257 DWORD dwTotalCallsQueued;
1258 DWORD dwCurrentCallsQueued;
1259 DWORD dwTotalCallsAbandoned;
1260 DWORD dwTotalCallsFlowedIn;
1261 DWORD dwTotalCallsFlowedOut;
1262 DWORD dwLongestEverWaitTime;
1263 DWORD dwCurrentLongestWaitTime;
1264 DWORD dwAverageWaitTime;
1265 DWORD dwFinalDisposition;
1266 } LINEQUEUEINFO,*LPLINEQUEUEINFO;
1267
1268 typedef struct lineproxyrequestlist_tag {
1269 DWORD dwTotalSize;
1270 DWORD dwNeededSize;
1271 DWORD dwUsedSize;
1272 DWORD dwNumEntries;
1273 DWORD dwListSize;
1274 DWORD dwListOffset;
1275 } LINEPROXYREQUESTLIST,*LPLINEPROXYREQUESTLIST;
1276
1277 typedef struct linecallhubtrackinginfo_tag {
1278 DWORD dwTotalSize;
1279 DWORD dwNeededSize;
1280 DWORD dwUsedSize;
1281 DWORD dwAvailableTracking;
1282 DWORD dwCurrentTracking;
1283 } LINECALLHUBTRACKINGINFO,*LPLINECALLHUBTRACKINGINFO;
1284
1285 typedef struct linedialparams_tag {
1286 DWORD dwDialPause;
1287 DWORD dwDialSpeed;
1288 DWORD dwDigitDuration;
1289 DWORD dwWaitForDialtone;
1290 } LINEDIALPARAMS,*LPLINEDIALPARAMS;
1291
1292 typedef struct linecallinfo_tag {
1293 DWORD dwTotalSize;
1294 DWORD dwNeededSize;
1295 DWORD dwUsedSize;
1296 HLINE hLine;
1297 DWORD dwLineDeviceID;
1298 DWORD dwAddressID;
1299 DWORD dwBearerMode;
1300 DWORD dwRate;
1301 DWORD dwMediaMode;
1302 DWORD dwAppSpecific;
1303 DWORD dwCallID;
1304 DWORD dwRelatedCallID;
1305 DWORD dwCallParamFlags;
1306 DWORD dwCallStates;
1307 DWORD dwMonitorDigitModes;
1308 DWORD dwMonitorMediaModes;
1309 LINEDIALPARAMS DialParams;
1310 DWORD dwOrigin;
1311 DWORD dwReason;
1312 DWORD dwCompletionID;
1313 DWORD dwNumOwners;
1314 DWORD dwNumMonitors;
1315 DWORD dwCountryCode;
1316 DWORD dwTrunk;
1317 DWORD dwCallerIDFlags;
1318 DWORD dwCallerIDSize;
1319 DWORD dwCallerIDOffset;
1320 DWORD dwCallerIDNameSize;
1321 DWORD dwCallerIDNameOffset;
1322 DWORD dwCalledIDFlags;
1323 DWORD dwCalledIDSize;
1324 DWORD dwCalledIDOffset;
1325 DWORD dwCalledIDNameSize;
1326 DWORD dwCalledIDNameOffset;
1327 DWORD dwConnectedIDFlags;
1328 DWORD dwConnectedIDSize;
1329 DWORD dwConnectedIDOffset;
1330 DWORD dwConnectedIDNameSize;
1331 DWORD dwConnectedIDNameOffset;
1332 DWORD dwRedirectionIDFlags;
1333 DWORD dwRedirectionIDSize;
1334 DWORD dwRedirectionIDOffset;
1335 DWORD dwRedirectionIDNameSize;
1336 DWORD dwRedirectionIDNameOffset;
1337 DWORD dwRedirectingIDFlags;
1338 DWORD dwRedirectingIDSize;
1339 DWORD dwRedirectingIDOffset;
1340 DWORD dwRedirectingIDNameSize;
1341 DWORD dwRedirectingIDNameOffset;
1342 DWORD dwAppNameSize;
1343 DWORD dwAppNameOffset;
1344 DWORD dwDisplayableAddressSize;
1345 DWORD dwDisplayableAddressOffset;
1346 DWORD dwCalledPartySize;
1347 DWORD dwCalledPartyOffset;
1348 DWORD dwCommentSize;
1349 DWORD dwCommentOffset;
1350 DWORD dwDisplaySize;
1351 DWORD dwDisplayOffset;
1352 DWORD dwUserUserInfoSize;
1353 DWORD dwUserUserInfoOffset;
1354 DWORD dwHighLevelCompSize;
1355 DWORD dwHighLevelCompOffset;
1356 DWORD dwLowLevelCompSize;
1357 DWORD dwLowLevelCompOffset;
1358 DWORD dwChargingInfoSize;
1359 DWORD dwChargingInfoOffset;
1360 DWORD dwTerminalModesSize;
1361 DWORD dwTerminalModesOffset;
1362 DWORD dwDevSpecificSize;
1363 DWORD dwDevSpecificOffset;
1364 DWORD dwCallTreatment;
1365 DWORD dwCallDataSize;
1366 DWORD dwCallDataOffset;
1367 DWORD dwSendingFlowspecSize;
1368 DWORD dwSendingFlowspecOffset;
1369 DWORD dwReceivingFlowspecSize;
1370 DWORD dwReceivingFlowspecOffset;
1371 DWORD dwCallerIDAddressType;
1372 DWORD dwCalledIDAddressType;
1373 DWORD dwConnectedIDAddressType;
1374 DWORD dwRedirectionIDAddressType;
1375 DWORD dwRedirectingIDAddressType;
1376 } LINECALLINFO,*LPLINECALLINFO;
1377
1378 typedef struct linecalllist_tag {
1379 DWORD dwTotalSize;
1380 DWORD dwNeededSize;
1381 DWORD dwUsedSize;
1382 DWORD dwCallsNumEntries;
1383 DWORD dwCallsSize;
1384 DWORD dwCallsOffset;
1385 } LINECALLLIST,*LPLINECALLLIST;
1386
1387 typedef struct linecallparams_tag {
1388 DWORD dwTotalSize;
1389 DWORD dwBearerMode;
1390 DWORD dwMinRate;
1391 DWORD dwMaxRate;
1392 DWORD dwMediaMode;
1393 DWORD dwCallParamFlags;
1394 DWORD dwAddressMode;
1395 DWORD dwAddressID;
1396 LINEDIALPARAMS DialParams;
1397 DWORD dwOrigAddressSize;
1398 DWORD dwOrigAddressOffset;
1399 DWORD dwDisplayableAddressSize;
1400 DWORD dwDisplayableAddressOffset;
1401 DWORD dwCalledPartySize;
1402 DWORD dwCalledPartyOffset;
1403 DWORD dwCommentSize;
1404 DWORD dwCommentOffset;
1405 DWORD dwUserUserInfoSize;
1406 DWORD dwUserUserInfoOffset;
1407 DWORD dwHighLevelCompSize;
1408 DWORD dwHighLevelCompOffset;
1409 DWORD dwLowLevelCompSize;
1410 DWORD dwLowLevelCompOffset;
1411 DWORD dwDevSpecificSize;
1412 DWORD dwDevSpecificOffset;
1413 DWORD dwPredictiveAutoTransferStates;
1414 DWORD dwTargetAddressSize;
1415 DWORD dwTargetAddressOffset;
1416 DWORD dwSendingFlowspecSize;
1417 DWORD dwSendingFlowspecOffset;
1418 DWORD dwReceivingFlowspecSize;
1419 DWORD dwReceivingFlowspecOffset;
1420 DWORD dwDeviceClassSize;
1421 DWORD dwDeviceClassOffset;
1422 DWORD dwDeviceConfigSize;
1423 DWORD dwDeviceConfigOffset;
1424 DWORD dwCallDataSize;
1425 DWORD dwCallDataOffset;
1426 DWORD dwNoAnswerTimeout;
1427 DWORD dwCallingPartyIDSize;
1428 DWORD dwCallingPartyIDOffset;
1429 DWORD dwAddressType;
1430 } LINECALLPARAMS,*LPLINECALLPARAMS;
1431
1432 typedef struct linecallstatus_tag {
1433 DWORD dwTotalSize;
1434 DWORD dwNeededSize;
1435 DWORD dwUsedSize;
1436 DWORD dwCallState;
1437 DWORD dwCallStateMode;
1438 DWORD dwCallPrivilege;
1439 DWORD dwCallFeatures;
1440 DWORD dwDevSpecificSize;
1441 DWORD dwDevSpecificOffset;
1442 DWORD dwCallFeatures2;
1443 SYSTEMTIME tStateEntryTime;
1444 } LINECALLSTATUS,*LPLINECALLSTATUS;
1445
1446 typedef struct linecalltreatmententry_tag {
1447 DWORD dwCallTreatmentID;
1448 DWORD dwCallTreatmentNameSize;
1449 DWORD dwCallTreatmentNameOffset;
1450 } LINECALLTREATMENTENTRY,*LPLINECALLTREATMENTENTRY;
1451
1452 typedef struct linecardentry_tag {
1453 DWORD dwPermanentCardID;
1454 DWORD dwCardNameSize;
1455 DWORD dwCardNameOffset;
1456 DWORD dwCardNumberDigits;
1457 DWORD dwSameAreaRuleSize;
1458 DWORD dwSameAreaRuleOffset;
1459 DWORD dwLongDistanceRuleSize;
1460 DWORD dwLongDistanceRuleOffset;
1461 DWORD dwInternationalRuleSize;
1462 DWORD dwInternationalRuleOffset;
1463 DWORD dwOptions;
1464 } LINECARDENTRY,*LPLINECARDENTRY;
1465
1466 typedef struct linecountryentry_tag {
1467 DWORD dwCountryID;
1468 DWORD dwCountryCode;
1469 DWORD dwNextCountryID;
1470 DWORD dwCountryNameSize;
1471 DWORD dwCountryNameOffset;
1472 DWORD dwSameAreaRuleSize;
1473 DWORD dwSameAreaRuleOffset;
1474 DWORD dwLongDistanceRuleSize;
1475 DWORD dwLongDistanceRuleOffset;
1476 DWORD dwInternationalRuleSize;
1477 DWORD dwInternationalRuleOffset;
1478 } LINECOUNTRYENTRY,*LPLINECOUNTRYENTRY;
1479
1480 typedef struct linecountrylist_tag {
1481 DWORD dwTotalSize;
1482 DWORD dwNeededSize;
1483 DWORD dwUsedSize;
1484 DWORD dwNumCountries;
1485 DWORD dwCountryListSize;
1486 DWORD dwCountryListOffset;
1487 } LINECOUNTRYLIST,*LPLINECOUNTRYLIST;
1488
1489 typedef struct linedevcaps_tag {
1490 DWORD dwTotalSize;
1491 DWORD dwNeededSize;
1492 DWORD dwUsedSize;
1493 DWORD dwProviderInfoSize;
1494 DWORD dwProviderInfoOffset;
1495 DWORD dwSwitchInfoSize;
1496 DWORD dwSwitchInfoOffset;
1497 DWORD dwPermanentLineID;
1498 DWORD dwLineNameSize;
1499 DWORD dwLineNameOffset;
1500 DWORD dwStringFormat;
1501 DWORD dwAddressModes;
1502 DWORD dwNumAddresses;
1503 DWORD dwBearerModes;
1504 DWORD dwMaxRate;
1505 DWORD dwMediaModes;
1506 DWORD dwGenerateToneModes;
1507 DWORD dwGenerateToneMaxNumFreq;
1508 DWORD dwGenerateDigitModes;
1509 DWORD dwMonitorToneMaxNumFreq;
1510 DWORD dwMonitorToneMaxNumEntries;
1511 DWORD dwMonitorDigitModes;
1512 DWORD dwGatherDigitsMinTimeout;
1513 DWORD dwGatherDigitsMaxTimeout;
1514 DWORD dwMedCtlDigitMaxListSize;
1515 DWORD dwMedCtlMediaMaxListSize;
1516 DWORD dwMedCtlToneMaxListSize;
1517 DWORD dwMedCtlCallStateMaxListSize;
1518 DWORD dwDevCapFlags;
1519 DWORD dwMaxNumActiveCalls;
1520 DWORD dwAnswerMode;
1521 DWORD dwRingModes;
1522 DWORD dwLineStates;
1523 DWORD dwUUIAcceptSize;
1524 DWORD dwUUIAnswerSize;
1525 DWORD dwUUIMakeCallSize;
1526 DWORD dwUUIDropSize;
1527 DWORD dwUUISendUserUserInfoSize;
1528 DWORD dwUUICallInfoSize;
1529 LINEDIALPARAMS MinDialParams;
1530 LINEDIALPARAMS MaxDialParams;
1531 LINEDIALPARAMS DefaultDialParams;
1532 DWORD dwNumTerminals;
1533 DWORD dwTerminalCapsSize;
1534 DWORD dwTerminalCapsOffset;
1535 DWORD dwTerminalTextEntrySize;
1536 DWORD dwTerminalTextSize;
1537 DWORD dwTerminalTextOffset;
1538 DWORD dwDevSpecificSize;
1539 DWORD dwDevSpecificOffset;
1540 DWORD dwLineFeatures;
1541 DWORD dwSettableDevStatus;
1542 DWORD dwDeviceClassesSize;
1543 DWORD dwDeviceClassesOffset;
1544 GUID PermanentLineGuid;
1545 DWORD dwAddressTypes;
1546 GUID ProtocolGuid;
1547 DWORD dwAvailableTracking;
1548 } LINEDEVCAPS,*LPLINEDEVCAPS;
1549
1550 typedef struct linedevstatus_tag {
1551 DWORD dwTotalSize;
1552 DWORD dwNeededSize;
1553 DWORD dwUsedSize;
1554 DWORD dwNumOpens;
1555 DWORD dwOpenMediaModes;
1556 DWORD dwNumActiveCalls;
1557 DWORD dwNumOnHoldCalls;
1558 DWORD dwNumOnHoldPendCalls;
1559 DWORD dwLineFeatures;
1560 DWORD dwNumCallCompletions;
1561 DWORD dwRingMode;
1562 DWORD dwSignalLevel;
1563 DWORD dwBatteryLevel;
1564 DWORD dwRoamMode;
1565 DWORD dwDevStatusFlags;
1566 DWORD dwTerminalModesSize;
1567 DWORD dwTerminalModesOffset;
1568 DWORD dwDevSpecificSize;
1569 DWORD dwDevSpecificOffset;
1570 DWORD dwAvailableMediaModes;
1571 DWORD dwAppInfoSize;
1572 DWORD dwAppInfoOffset;
1573 } LINEDEVSTATUS,*LPLINEDEVSTATUS;
1574
1575 typedef struct lineextensionid_tag {
1576 DWORD dwExtensionID0;
1577 DWORD dwExtensionID1;
1578 DWORD dwExtensionID2;
1579 DWORD dwExtensionID3;
1580 } LINEEXTENSIONID,*LPLINEEXTENSIONID;
1581
1582 typedef struct lineforward_tag {
1583 DWORD dwForwardMode;
1584 DWORD dwCallerAddressSize;
1585 DWORD dwCallerAddressOffset;
1586 DWORD dwDestCountryCode;
1587 DWORD dwDestAddressSize;
1588 DWORD dwDestAddressOffset;
1589 DWORD dwCallerAddressType;
1590 DWORD dwDestAddressType;
1591 } LINEFORWARD,*LPLINEFORWARD;
1592
1593 typedef struct lineforwardlist_tag {
1594 DWORD dwTotalSize;
1595 DWORD dwNumEntries;
1596 LINEFORWARD ForwardList[1];
1597 } LINEFORWARDLIST,*LPLINEFORWARDLIST;
1598
1599 typedef struct linegeneratetone_tag {
1600 DWORD dwFrequency;
1601 DWORD dwCadenceOn;
1602 DWORD dwCadenceOff;
1603 DWORD dwVolume;
1604 } LINEGENERATETONE,*LPLINEGENERATETONE;
1605
1606 typedef struct lineinitializeexparams_tag {
1607 DWORD dwTotalSize;
1608 DWORD dwNeededSize;
1609 DWORD dwUsedSize;
1610 DWORD dwOptions;
1611 union {
1612 HANDLE hEvent;
1613 HANDLE hCompletionPort;
1614 } Handles;
1615 DWORD dwCompletionKey;
1616 } LINEINITIALIZEEXPARAMS,*LPLINEINITIALIZEEXPARAMS;
1617
1618 typedef struct linelocationentry_tag {
1619 DWORD dwPermanentLocationID;
1620 DWORD dwLocationNameSize;
1621 DWORD dwLocationNameOffset;
1622 DWORD dwCountryCode;
1623 DWORD dwCityCodeSize;
1624 DWORD dwCityCodeOffset;
1625 DWORD dwPreferredCardID;
1626 DWORD dwLocalAccessCodeSize;
1627 DWORD dwLocalAccessCodeOffset;
1628 DWORD dwLongDistanceAccessCodeSize;
1629 DWORD dwLongDistanceAccessCodeOffset;
1630 DWORD dwTollPrefixListSize;
1631 DWORD dwTollPrefixListOffset;
1632 DWORD dwCountryID;
1633 DWORD dwOptions;
1634 DWORD dwCancelCallWaitingSize;
1635 DWORD dwCancelCallWaitingOffset;
1636 } LINELOCATIONENTRY,*LPLINELOCATIONENTRY;
1637
1638 typedef struct linemediacontrolcallstate_tag {
1639 DWORD dwCallStates;
1640 DWORD dwMediaControl;
1641 } LINEMEDIACONTROLCALLSTATE,*LPLINEMEDIACONTROLCALLSTATE;
1642
1643 typedef struct linemediacontroldigit_tag {
1644 DWORD dwDigit;
1645 DWORD dwDigitModes;
1646 DWORD dwMediaControl;
1647 } LINEMEDIACONTROLDIGIT,*LPLINEMEDIACONTROLDIGIT;
1648
1649 typedef struct linemediacontrolmedia_tag {
1650 DWORD dwMediaModes;
1651 DWORD dwDuration;
1652 DWORD dwMediaControl;
1653 } LINEMEDIACONTROLMEDIA,*LPLINEMEDIACONTROLMEDIA;
1654
1655 typedef struct linemediacontroltone_tag {
1656 DWORD dwAppSpecific;
1657 DWORD dwDuration;
1658 DWORD dwFrequency1;
1659 DWORD dwFrequency2;
1660 DWORD dwFrequency3;
1661 DWORD dwMediaControl;
1662 } LINEMEDIACONTROLTONE,*LPLINEMEDIACONTROLTONE;
1663
1664 typedef struct linemessage_tag {
1665 DWORD hDevice;
1666 DWORD dwMessageID;
1667 DWORD_PTR dwCallbackInstance;
1668 DWORD_PTR dwParam1;
1669 DWORD_PTR dwParam2;
1670 DWORD_PTR dwParam3;
1671 } LINEMESSAGE,*LPLINEMESSAGE;
1672
1673 typedef struct linemonitortone_tag {
1674 DWORD dwAppSpecific;
1675 DWORD dwDuration;
1676 DWORD dwFrequency1;
1677 DWORD dwFrequency2;
1678 DWORD dwFrequency3;
1679 } LINEMONITORTONE,*LPLINEMONITORTONE;
1680
1681 typedef struct lineproviderentry_tag {
1682 DWORD dwPermanentProviderID;
1683 DWORD dwProviderFilenameSize;
1684 DWORD dwProviderFilenameOffset;
1685 } LINEPROVIDERENTRY,*LPLINEPROVIDERENTRY;
1686
1687 typedef struct lineproviderlist_tag {
1688 DWORD dwTotalSize;
1689 DWORD dwNeededSize;
1690 DWORD dwUsedSize;
1691 DWORD dwNumProviders;
1692 DWORD dwProviderListSize;
1693 DWORD dwProviderListOffset;
1694 } LINEPROVIDERLIST,*LPLINEPROVIDERLIST;
1695
1696 typedef struct lineproxyrequest_tag {
1697 DWORD dwSize;
1698 DWORD dwClientMachineNameSize;
1699 DWORD dwClientMachineNameOffset;
1700 DWORD dwClientUserNameSize;
1701 DWORD dwClientUserNameOffset;
1702 DWORD dwClientAppAPIVersion;
1703 DWORD dwRequestType;
1704 __MINGW_EXTENSION union {
1705 struct {
1706 DWORD dwAddressID;
1707 LINEAGENTGROUPLIST GroupList;
1708 } SetAgentGroup;
1709 struct {
1710 DWORD dwAddressID;
1711 DWORD dwAgentState;
1712 DWORD dwNextAgentState;
1713 } SetAgentState;
1714 struct {
1715 DWORD dwAddressID;
1716 DWORD dwActivityID;
1717 } SetAgentActivity;
1718 struct {
1719 DWORD dwAddressID;
1720 LINEAGENTCAPS AgentCaps;
1721 } GetAgentCaps;
1722 struct {
1723 DWORD dwAddressID;
1724 LINEAGENTSTATUS AgentStatus;
1725 } GetAgentStatus;
1726 struct {
1727 DWORD dwAddressID;
1728 DWORD dwAgentExtensionIDIndex;
1729 DWORD dwSize;
1730 BYTE Params[1];
1731 } AgentSpecific;
1732 struct {
1733 DWORD dwAddressID;
1734 LINEAGENTACTIVITYLIST ActivityList;
1735 } GetAgentActivityList;
1736 struct {
1737 DWORD dwAddressID;
1738 LINEAGENTGROUPLIST GroupList;
1739 } GetAgentGroupList;
1740 struct {
1741 HAGENT hAgent;
1742 DWORD dwAgentIDSize;
1743 DWORD dwAgentIDOffset;
1744 DWORD dwAgentPINSize;
1745 DWORD dwAgentPINOffset;
1746 } CreateAgent;
1747 struct {
1748 HAGENT hAgent;
1749 DWORD dwAgentState;
1750 DWORD dwNextAgentState;
1751 } SetAgentStateEx;
1752 struct {
1753 HAGENT hAgent;
1754 DWORD dwMeasurementPeriod;
1755 } SetAgentMeasurementPeriod;
1756 struct {
1757 HAGENT hAgent;
1758 LINEAGENTINFO AgentInfo;
1759 } GetAgentInfo;
1760 struct {
1761 HAGENTSESSION hAgentSession;
1762 DWORD dwAgentPINSize;
1763 DWORD dwAgentPINOffset;
1764 HAGENT hAgent;
1765 GUID GroupID;
1766 DWORD dwWorkingAddressID;
1767 } CreateAgentSession;
1768 struct {
1769 HAGENT hAgent;
1770 LINEAGENTSESSIONLIST SessionList;
1771 } GetAgentSessionList;
1772 struct {
1773 HAGENTSESSION hAgentSession;
1774 LINEAGENTSESSIONINFO SessionInfo;
1775 } GetAgentSessionInfo;
1776 struct {
1777 HAGENTSESSION hAgentSession;
1778 DWORD dwAgentSessionState;
1779 DWORD dwNextAgentSessionState;
1780 } SetAgentSessionState;
1781 struct {
1782 GUID GroupID;
1783 LINEQUEUELIST QueueList;
1784 } GetQueueList;
1785 struct {
1786 DWORD dwQueueID;
1787 DWORD dwMeasurementPeriod;
1788 } SetQueueMeasurementPeriod;
1789 struct {
1790 DWORD dwQueueID;
1791 LINEQUEUEINFO QueueInfo;
1792 } GetQueueInfo;
1793 struct {
1794 LINEAGENTGROUPLIST GroupList;
1795 } GetGroupList;
1796 };
1797 } LINEPROXYREQUEST,*LPLINEPROXYREQUEST;
1798
1799 typedef struct linereqmakecall_tag {
1800 char szDestAddress[TAPIMAXDESTADDRESSSIZE];
1801 char szAppName[TAPIMAXAPPNAMESIZE];
1802 char szCalledParty[TAPIMAXCALLEDPARTYSIZE];
1803 char szComment[TAPIMAXCOMMENTSIZE];
1804 } LINEREQMAKECALL,*LPLINEREQMAKECALL;
1805
1806 typedef struct linereqmakecallW_tag {
1807 WCHAR szDestAddress[TAPIMAXDESTADDRESSSIZE];
1808 WCHAR szAppName[TAPIMAXAPPNAMESIZE];
1809 WCHAR szCalledParty[TAPIMAXCALLEDPARTYSIZE];
1810 WCHAR szComment[TAPIMAXCOMMENTSIZE];
1811 } LINEREQMAKECALLW,*LPLINEREQMAKECALLW;
1812
1813 #ifdef UNICODE
1814 #define LINEREQMAKECALL LINEREQMAKECALLW
1815 #endif
1816
1817 typedef struct linereqmediacall_tag {
1818 HWND hWnd;
1819 WPARAM wRequestID;
1820 char szDeviceClass[TAPIMAXDEVICECLASSSIZE];
1821 unsigned char ucDeviceID[TAPIMAXDEVICEIDSIZE];
1822 DWORD dwSize;
1823 DWORD dwSecure;
1824 char szDestAddress[TAPIMAXDESTADDRESSSIZE];
1825 char szAppName[TAPIMAXAPPNAMESIZE];
1826 char szCalledParty[TAPIMAXCALLEDPARTYSIZE];
1827 char szComment[TAPIMAXCOMMENTSIZE];
1828 } LINEREQMEDIACALL,*LPLINEREQMEDIACALL;
1829
1830 typedef struct linereqmediacallW_tag {
1831 HWND hWnd;
1832 WPARAM wRequestID;
1833 WCHAR szDeviceClass[TAPIMAXDEVICECLASSSIZE];
1834 unsigned char ucDeviceID[TAPIMAXDEVICEIDSIZE];
1835 DWORD dwSize;
1836 DWORD dwSecure;
1837 WCHAR szDestAddress[TAPIMAXDESTADDRESSSIZE];
1838 WCHAR szAppName[TAPIMAXAPPNAMESIZE];
1839 WCHAR szCalledParty[TAPIMAXCALLEDPARTYSIZE];
1840 WCHAR szComment[TAPIMAXCOMMENTSIZE];
1841 } LINEREQMEDIACALLW,*LPLINEREQMEDIACALLW;
1842
1843 #ifdef UNICODE
1844 #define LINEREQMEDIACALL LINEREQMEDIACALLW
1845 #endif
1846
1847 typedef struct linetermcaps_tag {
1848 DWORD dwTermDev;
1849 DWORD dwTermModes;
1850 DWORD dwTermSharing;
1851 } LINETERMCAPS,*LPLINETERMCAPS;
1852
1853 typedef struct linetranslatecaps_tag {
1854 DWORD dwTotalSize;
1855 DWORD dwNeededSize;
1856 DWORD dwUsedSize;
1857 DWORD dwNumLocations;
1858 DWORD dwLocationListSize;
1859 DWORD dwLocationListOffset;
1860 DWORD dwCurrentLocationID;
1861 DWORD dwNumCards;
1862 DWORD dwCardListSize;
1863 DWORD dwCardListOffset;
1864 DWORD dwCurrentPreferredCardID;
1865 } LINETRANSLATECAPS,*LPLINETRANSLATECAPS;
1866
1867 typedef struct linetranslateoutput_tag {
1868 DWORD dwTotalSize;
1869 DWORD dwNeededSize;
1870 DWORD dwUsedSize;
1871 DWORD dwDialableStringSize;
1872 DWORD dwDialableStringOffset;
1873 DWORD dwDisplayableStringSize;
1874 DWORD dwDisplayableStringOffset;
1875 DWORD dwCurrentCountry;
1876 DWORD dwDestCountry;
1877 DWORD dwTranslateResults;
1878 } LINETRANSLATEOUTPUT,*LPLINETRANSLATEOUTPUT;
1879
1880 typedef struct phonebuttoninfo_tag {
1881 DWORD dwTotalSize;
1882 DWORD dwNeededSize;
1883 DWORD dwUsedSize;
1884 DWORD dwButtonMode;
1885 DWORD dwButtonFunction;
1886 DWORD dwButtonTextSize;
1887 DWORD dwButtonTextOffset;
1888 DWORD dwDevSpecificSize;
1889 DWORD dwDevSpecificOffset;
1890 DWORD dwButtonState;
1891 } PHONEBUTTONINFO,*LPPHONEBUTTONINFO;
1892
1893 typedef struct phonecaps_tag {
1894 DWORD dwTotalSize;
1895 DWORD dwNeededSize;
1896 DWORD dwUsedSize;
1897 DWORD dwProviderInfoSize;
1898 DWORD dwProviderInfoOffset;
1899 DWORD dwPhoneInfoSize;
1900 DWORD dwPhoneInfoOffset;
1901 DWORD dwPermanentPhoneID;
1902 DWORD dwPhoneNameSize;
1903 DWORD dwPhoneNameOffset;
1904 DWORD dwStringFormat;
1905 DWORD dwPhoneStates;
1906 DWORD dwHookSwitchDevs;
1907 DWORD dwHandsetHookSwitchModes;
1908 DWORD dwSpeakerHookSwitchModes;
1909 DWORD dwHeadsetHookSwitchModes;
1910 DWORD dwVolumeFlags;
1911 DWORD dwGainFlags;
1912 DWORD dwDisplayNumRows;
1913 DWORD dwDisplayNumColumns;
1914 DWORD dwNumRingModes;
1915 DWORD dwNumButtonLamps;
1916 DWORD dwButtonModesSize;
1917 DWORD dwButtonModesOffset;
1918 DWORD dwButtonFunctionsSize;
1919 DWORD dwButtonFunctionsOffset;
1920 DWORD dwLampModesSize;
1921 DWORD dwLampModesOffset;
1922 DWORD dwNumSetData;
1923 DWORD dwSetDataSize;
1924 DWORD dwSetDataOffset;
1925 DWORD dwNumGetData;
1926 DWORD dwGetDataSize;
1927 DWORD dwGetDataOffset;
1928 DWORD dwDevSpecificSize;
1929 DWORD dwDevSpecificOffset;
1930 DWORD dwDeviceClassesSize;
1931 DWORD dwDeviceClassesOffset;
1932 DWORD dwPhoneFeatures;
1933 DWORD dwSettableHandsetHookSwitchModes;
1934 DWORD dwSettableSpeakerHookSwitchModes;
1935 DWORD dwSettableHeadsetHookSwitchModes;
1936 DWORD dwMonitoredHandsetHookSwitchModes;
1937 DWORD dwMonitoredSpeakerHookSwitchModes;
1938 DWORD dwMonitoredHeadsetHookSwitchModes;
1939 GUID PermanentPhoneGuid;
1940 } PHONECAPS,*LPPHONECAPS;
1941
1942 typedef struct phoneextensionid_tag {
1943 DWORD dwExtensionID0;
1944 DWORD dwExtensionID1;
1945 DWORD dwExtensionID2;
1946 DWORD dwExtensionID3;
1947 } PHONEEXTENSIONID,*LPPHONEEXTENSIONID;
1948
1949 typedef struct phoneinitializeexparams_tag {
1950 DWORD dwTotalSize;
1951 DWORD dwNeededSize;
1952 DWORD dwUsedSize;
1953 DWORD dwOptions;
1954 union {
1955 HANDLE hEvent;
1956 HANDLE hCompletionPort;
1957 } Handles;
1958 DWORD dwCompletionKey;
1959 } PHONEINITIALIZEEXPARAMS,*LPPHONEINITIALIZEEXPARAMS;
1960
1961 typedef struct phonemessage_tag {
1962 DWORD hDevice;
1963 DWORD dwMessageID;
1964 DWORD_PTR dwCallbackInstance;
1965 DWORD_PTR dwParam1;
1966 DWORD_PTR dwParam2;
1967 DWORD_PTR dwParam3;
1968 } PHONEMESSAGE,*LPPHONEMESSAGE;
1969
1970 typedef struct phonestatus_tag {
1971 DWORD dwTotalSize;
1972 DWORD dwNeededSize;
1973 DWORD dwUsedSize;
1974 DWORD dwStatusFlags;
1975 DWORD dwNumOwners;
1976 DWORD dwNumMonitors;
1977 DWORD dwRingMode;
1978 DWORD dwRingVolume;
1979 DWORD dwHandsetHookSwitchMode;
1980 DWORD dwHandsetVolume;
1981 DWORD dwHandsetGain;
1982 DWORD dwSpeakerHookSwitchMode;
1983 DWORD dwSpeakerVolume;
1984 DWORD dwSpeakerGain;
1985 DWORD dwHeadsetHookSwitchMode;
1986 DWORD dwHeadsetVolume;
1987 DWORD dwHeadsetGain;
1988 DWORD dwDisplaySize;
1989 DWORD dwDisplayOffset;
1990 DWORD dwLampModesSize;
1991 DWORD dwLampModesOffset;
1992 DWORD dwOwnerNameSize;
1993 DWORD dwOwnerNameOffset;
1994 DWORD dwDevSpecificSize;
1995 DWORD dwDevSpecificOffset;
1996 DWORD dwPhoneFeatures;
1997 } PHONESTATUS,*LPPHONESTATUS;
1998
1999 typedef struct varstring_tag {
2000 DWORD dwTotalSize;
2001 DWORD dwNeededSize;
2002 DWORD dwUsedSize;
2003 DWORD dwStringFormat;
2004 DWORD dwStringSize;
2005 DWORD dwStringOffset;
2006 } VARSTRING,*LPVARSTRING;
2007
2008 #ifdef UNICODE
2009 #define lineAddProvider lineAddProviderW
2010 #define lineBlindTransfer lineBlindTransferW
2011 #define lineConfigDialog lineConfigDialogW
2012 #define lineConfigDialogEdit lineConfigDialogEditW
2013 #define lineCreateAgent lineCreateAgentW
2014 #define lineCreateAgent lineCreateAgentW
2015 #define lineDial lineDialW
2016 #define lineForward lineForwardW
2017 #define lineGatherDigits lineGatherDigitsW
2018 #define lineGenerateDigits lineGenerateDigitsW
2019 #define lineGetAddressCaps lineGetAddressCapsW
2020 #define lineGetAddressID lineGetAddressIDW
2021 #define lineGetAddressStatus lineGetAddressStatusW
2022 #define lineGetAgentActivityList lineGetAgentActivityListW
2023 #define lineGetAgentCaps lineGetAgentCapsW
2024 #define lineGetAgentGroupList lineGetAgentGroupListW
2025 #define lineGetAgentStatus lineGetAgentStatusW
2026 #define lineGetAppPriority lineGetAppPriorityW
2027 #define lineGetCallInfo lineGetCallInfoW
2028 #define lineGetCountry lineGetCountryW
2029 #define lineGetDevCaps lineGetDevCapsW
2030 #define lineGetDevConfig lineGetDevConfigW
2031 #define lineGetGroupList lineGetGroupListW
2032 #define lineGetIcon lineGetIconW
2033 #define lineGetID lineGetIDW
2034 #define lineGetDevStatus lineGetDevStatusW
2035 #define lineGetProviderList lineGetProviderListW
2036 #define lineGetQueueList lineGetQueueListW
2037 #define lineGetRequest lineGetRequestW
2038 #define lineGetTranslateCaps lineGetTranslateCapsW
2039 #define lineHandoff lineHandoffW
2040 #define lineInitializeEx lineInitializeExW
2041 #define lineMakeCall lineMakeCallW
2042 #define lineOpen lineOpenW
2043 #define linePark lineParkW
2044 #define linePickup linePickupW
2045 #define linePrepareAddToConference linePrepareAddToConferenceW
2046 #define lineRedirect lineRedirectW
2047 #define lineSetAppPriority lineSetAppPriorityW
2048 #define lineSetDevConfig lineSetDevConfigW
2049 #define lineSetTollList lineSetTollListW
2050 #define lineSetupConference lineSetupConferenceW
2051 #define lineSetupTransfer lineSetupTransferW
2052 #define lineTranslateAddress lineTranslateAddressW
2053 #define lineTranslateDialog lineTranslateDialogW
2054 #define lineUnpark lineUnparkW
2055 #define phoneConfigDialog phoneConfigDialogW
2056 #define phoneGetButtonInfo phoneGetButtonInfoW
2057 #define phoneGetDevCaps phoneGetDevCapsW
2058 #define phoneGetIcon phoneGetIconW
2059 #define phoneGetID phoneGetIDW
2060 #define phoneGetStatus phoneGetStatusW
2061 #define phoneInitializeEx phoneInitializeExW
2062 #define phoneSetButtonInfo phoneSetButtonInfoW
2063 #define tapiGetLocationInfo tapiGetLocationInfoW
2064 #define tapiRequestMakeCall tapiRequestMakeCallW
2065 #define tapiRequestMediaCall tapiRequestMediaCallW
2066 #else
2067 #define lineAddProvider lineAddProviderA
2068 #define lineBlindTransfer lineBlindTransferA
2069 #define lineConfigDialog lineConfigDialogA
2070 #define lineConfigDialogEdit lineConfigDialogEditA
2071 #define lineCreateAgent lineCreateAgentA
2072 #define lineCreateAgent lineCreateAgentA
2073 #define lineDial lineDialA
2074 #define lineForward lineForwardA
2075 #define lineGatherDigits lineGatherDigitsA
2076 #define lineGenerateDigits lineGenerateDigitsA
2077 #define lineGetAddressCaps lineGetAddressCapsA
2078 #define lineGetAddressID lineGetAddressIDA
2079 #define lineGetAddressStatus lineGetAddressStatusA
2080 #define lineGetAgentActivityList lineGetAgentActivityListA
2081 #define lineGetAgentCaps lineGetAgentCapsA
2082 #define lineGetAgentGroupList lineGetAgentGroupListA
2083 #define lineGetAgentStatus lineGetAgentStatusA
2084 #define lineGetAppPriority lineGetAppPriorityA
2085 #define lineGetCallInfo lineGetCallInfoA
2086 #define lineGetCountry lineGetCountryA
2087 #define lineGetDevCaps lineGetDevCapsA
2088 #define lineGetDevConfig lineGetDevConfigA
2089 #define lineGetGroupList lineGetGroupListA
2090 #define lineGetIcon lineGetIconA
2091 #define lineGetID lineGetIDA
2092 #define lineGetDevStatus lineGetDevStatusA
2093 #define lineGetProviderList lineGetProviderListA
2094 #define lineGetQueueList lineGetQueueListA
2095 #define lineGetRequest lineGetRequestA
2096 #define lineGetTranslateCaps lineGetTranslateCapsA
2097 #define lineHandoff lineHandoffA
2098 #define lineInitializeEx lineInitializeExA
2099 #define lineMakeCall lineMakeCallA
2100 #define lineOpen lineOpenA
2101 #define linePark lineParkA
2102 #define linePickup linePickupA
2103 #define linePrepareAddToConference linePrepareAddToConferenceA
2104 #define lineRedirect lineRedirectA
2105 #define lineSetAppPriority lineSetAppPriorityA
2106 #define lineSetDevConfig lineSetDevConfigA
2107 #define lineSetTollList lineSetTollListA
2108 #define lineSetupConference lineSetupConferenceA
2109 #define lineSetupTransfer lineSetupTransferA
2110 #define lineTranslateAddress lineTranslateAddressA
2111 #define lineTranslateDialog lineTranslateDialogA
2112 #define lineUnpark lineUnparkA
2113 #define phoneConfigDialog phoneConfigDialogA
2114 #define phoneGetButtonInfo phoneGetButtonInfoA
2115 #define phoneGetDevCaps phoneGetDevCapsA
2116 #define phoneGetIcon phoneGetIconA
2117 #define phoneGetID phoneGetIDA
2118 #define phoneGetStatus phoneGetStatusA
2119 #define phoneInitializeEx phoneInitializeExA
2120 #define phoneSetButtonInfo phoneSetButtonInfoA
2121 #define tapiGetLocationInfo tapiGetLocationInfoA
2122 #define tapiRequestMakeCall tapiRequestMakeCallA
2123 #define tapiRequestMediaCall tapiRequestMediaCallA
2124 #endif
2125
2126 LONG WINAPI lineAccept(HCALL hCall,LPCSTR lpsUserUserInfo,DWORD dwSize);
2127 LONG WINAPI lineAddProvider(LPCSTR lpszProviderFilename,HWND hwndOwner,LPDWORD lpdwPermanentProviderID);
2128 LONG WINAPI lineAddProviderA(LPCSTR lpszProviderFilename,HWND hwndOwner,LPDWORD lpdwPermanentProviderID);
2129 LONG WINAPI lineAddProviderW(LPCWSTR lpszProviderFilename,HWND hwndOwner,LPDWORD lpdwPermanentProviderID);
2130 LONG WINAPI lineAddToConference(HCALL hConfCall,HCALL hConsultCall);
2131 LONG WINAPI lineAgentSpecific(HLINE hLine,DWORD dwAddressID,DWORD dwAgentExtensionIDIndex,LPVOID lpParams,DWORD dwSize);
2132 LONG WINAPI lineAnswer(HCALL hCall,LPCSTR lpsUserUserInfo,DWORD dwSize);
2133 LONG WINAPI lineBlindTransfer(HCALL hCall,LPCSTR lpszDestAddress,DWORD dwCountryCode);
2134 LONG WINAPI lineBlindTransferA(HCALL hCall,LPCSTR lpszDestAddress,DWORD dwCountryCode);
2135 LONG WINAPI lineBlindTransferW(HCALL hCall,LPCWSTR lpszDestAddressW,DWORD dwCountryCode);
2136 LONG WINAPI lineClose(HLINE hLine);
2137 LONG WINAPI lineCompleteCall(HCALL hCall,LPDWORD lpdwCompletionID,DWORD dwCompletionMode,DWORD dwMessageID);
2138 LONG WINAPI lineCompleteTransfer(HCALL hCall,HCALL hConsultCall,LPHCALL lphConfCall,DWORD dwTransferMode);
2139 LONG WINAPI lineConfigDialog(DWORD dwDeviceID,HWND hwndOwner,LPCSTR lpszDeviceClass);
2140 LONG WINAPI lineConfigDialogA(DWORD dwDeviceID,HWND hwndOwner,LPCSTR lpszDeviceClass);
2141 LONG WINAPI lineConfigDialogW(DWORD dwDeviceID,HWND hwndOwner,LPCWSTR lpszDeviceClass);
2142 LONG WINAPI lineConfigDialogEdit(DWORD dwDeviceID,HWND hwndOwner,LPCSTR lpszDeviceClass,LPVOID const lpDeviceConfigIn,DWORD dwSize,LPVARSTRING lpDeviceConfigOut);
2143 LONG WINAPI lineConfigDialogEditA(DWORD dwDeviceID,HWND hwndOwner,LPCSTR lpszDeviceClass,LPVOID const lpDeviceConfigIn,DWORD dwSize,LPVARSTRING lpDeviceConfigOut);
2144 LONG WINAPI lineConfigDialogEditW(DWORD dwDeviceID,HWND hwndOwner,LPCWSTR lpszDeviceClass,LPVOID const lpDeviceConfigIn,DWORD dwSize,LPVARSTRING lpDeviceConfigOut);
2145 LONG WINAPI lineConfigProvider(HWND hwndOwner,DWORD dwPermanentProviderID);
2146 LONG WINAPI lineCreateAgentW(HLINE hLine,LPWSTR lpszAgentID,LPWSTR lpszAgentPIN,LPHAGENT lphAgent);
2147 LONG WINAPI lineCreateAgentA(HLINE hLine,LPSTR lpszAgentID,LPSTR lpszAgentPIN,LPHAGENT lphAgent);
2148 LONG WINAPI lineCreateAgentSessionW(HLINE hLine,HAGENT hAgent,LPWSTR lpszAgentPIN,DWORD dwWorkingAddressID,LPGUID lpGroupID,LPHAGENTSESSION lphAgentSession);
2149 LONG WINAPI lineCreateAgentSessionA(HLINE hLine,HAGENT hAgent,LPSTR lpszAgentPIN,DWORD dwWorkingAddressID,LPGUID lpGroupID,LPHAGENTSESSION lphAgentSession);
2150 LONG WINAPI lineDeallocateCall(HCALL hCall);
2151 LONG WINAPI lineDevSpecific(HLINE hLine,DWORD dwAddressID,HCALL hCall,LPVOID lpParams,DWORD dwSize);
2152 LONG WINAPI lineDevSpecificFeature(HLINE hLine,DWORD dwFeature,LPVOID lpParams,DWORD dwSize);
2153 LONG WINAPI lineDial(HCALL hCall,LPCSTR lpszDestAddress,DWORD dwCountryCode);
2154 LONG WINAPI lineDialA(HCALL hCall,LPCSTR lpszDestAddress,DWORD dwCountryCode);
2155 LONG WINAPI lineDialW(HCALL hCall,LPCWSTR lpszDestAddress,DWORD dwCountryCode);
2156 LONG WINAPI lineDrop(HCALL hCall,LPCSTR lpsUserUserInfo,DWORD dwSize);
2157 LONG WINAPI lineForward(HLINE hLine,DWORD bAllAddresses,DWORD dwAddressID,LPLINEFORWARDLIST const lpForwardList,DWORD dwNumRingsNoAnswer,LPHCALL lphConsultCall,LPLINECALLPARAMS const lpCallParams);
2158 LONG WINAPI lineForwardA(HLINE hLine,DWORD bAllAddresses,DWORD dwAddressID,LPLINEFORWARDLIST const lpForwardList,DWORD dwNumRingsNoAnswer,LPHCALL lphConsultCall,LPLINECALLPARAMS const lpCallParams);
2159 LONG WINAPI lineForwardW(HLINE hLine,DWORD bAllAddresses,DWORD dwAddressID,LPLINEFORWARDLIST const lpForwardList,DWORD dwNumRingsNoAnswer,LPHCALL lphConsultCall,LPLINECALLPARAMS const lpCallParams);
2160 LONG WINAPI lineGatherDigits(HCALL hCall,DWORD dwDigitModes,LPSTR lpsDigits,DWORD dwNumDigits,LPCSTR lpszTerminationDigits,DWORD dwFirstDigitTimeout,DWORD dwInterDigitTimeout);
2161 LONG WINAPI lineGatherDigitsA(HCALL hCall,DWORD dwDigitModes,LPSTR lpsDigits,DWORD dwNumDigits,LPCSTR lpszTerminationDigits,DWORD dwFirstDigitTimeout,DWORD dwInterDigitTimeout);
2162 LONG WINAPI lineGatherDigitsW(HCALL hCall,DWORD dwDigitModes,LPWSTR lpsDigits,DWORD dwNumDigits,LPCWSTR lpszTerminationDigits,DWORD dwFirstDigitTimeout,DWORD dwInterDigitTimeout);
2163 LONG WINAPI lineGenerateDigits(HCALL hCall,DWORD dwDigitMode,LPCSTR lpszDigits,DWORD dwDuration);
2164 LONG WINAPI lineGenerateDigitsA(HCALL hCall,DWORD dwDigitMode,LPCSTR lpszDigits,DWORD dwDuration);
2165 LONG WINAPI lineGenerateDigitsW(HCALL hCall,DWORD dwDigitMode,LPCWSTR lpszDigits,DWORD dwDuration);
2166 LONG WINAPI lineGenerateTone(HCALL hCall,DWORD dwToneMode,DWORD dwDuration,DWORD dwNumTones,LPLINEGENERATETONE const lpTones);
2167 LONG WINAPI lineGetAddressCaps(HLINEAPP hLineApp,DWORD dwDeviceID,DWORD dwAddressID,DWORD dwAPIVersion,DWORD dwExtVersion,LPLINEADDRESSCAPS lpAddressCaps);
2168 LONG WINAPI lineGetAddressCapsA(HLINEAPP hLineApp,DWORD dwDeviceID,DWORD dwAddressID,DWORD dwAPIVersion,DWORD dwExtVersion,LPLINEADDRESSCAPS lpAddressCaps);
2169 LONG WINAPI lineGetAddressCapsW(HLINEAPP hLineApp,DWORD dwDeviceID,DWORD dwAddressID,DWORD dwAPIVersion,DWORD dwExtVersion,LPLINEADDRESSCAPS lpAddressCaps);
2170 LONG WINAPI lineGetAddressID(HLINE hLine,LPDWORD lpdwAddressID,DWORD dwAddressMode,LPCSTR lpsAddress,DWORD dwSize);
2171 LONG WINAPI lineGetAddressIDA(HLINE hLine,LPDWORD lpdwAddressID,DWORD dwAddressMode,LPCSTR lpsAddress,DWORD dwSize);
2172 LONG WINAPI lineGetAddressIDW(HLINE hLine,LPDWORD lpdwAddressID,DWORD dwAddressMode,LPCWSTR lpsAddress,DWORD dwSize);
2173 LONG WINAPI lineGetAddressStatus(HLINE hLine,DWORD dwAddressID,LPLINEADDRESSSTATUS lpAddressStatus);
2174 LONG WINAPI lineGetAddressStatusA(HLINE hLine,DWORD dwAddressID,LPLINEADDRESSSTATUS lpAddressStatus);
2175 LONG WINAPI lineGetAddressStatusW(HLINE hLine,DWORD dwAddressID,LPLINEADDRESSSTATUS lpAddressStatus);
2176 LONG WINAPI lineGetAgentActivityListA(HLINE hLine,DWORD dwAddressID,LPLINEAGENTACTIVITYLIST lpAgentActivityList);
2177 LONG WINAPI lineGetAgentActivityListW(HLINE hLine,DWORD dwAddressID,LPLINEAGENTACTIVITYLIST lpAgentActivityList);
2178 LONG WINAPI lineGetAgentCapsA(HLINEAPP hLineApp,DWORD dwDeviceID,DWORD dwAddressID,DWORD dwAppAPIVersion,LPLINEAGENTCAPS lpAgentCaps);
2179 LONG WINAPI lineGetAgentCapsW(HLINEAPP hLineApp,DWORD dwDeviceID,DWORD dwAddressID,DWORD dwAppAPIVersion,LPLINEAGENTCAPS lpAgentCaps);
2180 LONG WINAPI lineGetAgentGroupListA(HLINE hLine,DWORD dwAddressID,LPLINEAGENTGROUPLIST lpAgentGroupList);
2181 LONG WINAPI lineGetAgentGroupListW(HLINE hLine,DWORD dwAddressID,LPLINEAGENTGROUPLIST lpAgentGroupList);
2182 LONG WINAPI lineGetAgentInfo(HLINE hLine,HAGENT hAgent,LPLINEAGENTINFO lpAgentInfo);
2183 LONG WINAPI lineGetAgentSessionInfo(HLINE hLine,HAGENTSESSION hAgentSession,LPLINEAGENTSESSIONINFO lpAgentSessionInfo);
2184 LONG WINAPI lineGetAgentSessionList(HLINE hLine,HAGENT hAgent,LPLINEAGENTSESSIONLIST lpAgentSessionList);
2185 LONG WINAPI lineGetAgentStatusA(HLINE hLine,DWORD dwAddressID,LPLINEAGENTSTATUS lpAgentStatus);
2186 LONG WINAPI lineGetAgentStatusW(HLINE hLine,DWORD dwAddressID,LPLINEAGENTSTATUS lpAgentStatus);
2187 LONG WINAPI lineGetAppPriority(LPCSTR lpszAppFilename,DWORD dwMediaMode,LPLINEEXTENSIONID lpExtensionID,DWORD dwRequestMode,LPVARSTRING lpExtensionName,LPDWORD lpdwPriority);
2188 LONG WINAPI lineGetAppPriorityA(LPCSTR lpszAppFilename,DWORD dwMediaMode,LPLINEEXTENSIONID lpExtensionID,DWORD dwRequestMode,LPVARSTRING lpExtensionName,LPDWORD lpdwPriority);
2189 LONG WINAPI lineGetAppPriorityW(LPCWSTR lpszAppFilename,DWORD dwMediaMode,LPLINEEXTENSIONID lpExtensionID,DWORD dwRequestMode,LPVARSTRING lpExtensionName,LPDWORD lpdwPriority);
2190 LONG WINAPI lineGetCallInfo(HCALL hCall,LPLINECALLINFO lpCallInfo);
2191 LONG WINAPI lineGetCallInfoA(HCALL hCall,LPLINECALLINFO lpCallInfo);
2192 LONG WINAPI lineGetCallInfoW(HCALL hCall,LPLINECALLINFO lpCallInfo);
2193 LONG WINAPI lineGetCallStatus(HCALL hCall,LPLINECALLSTATUS lpCallStatus);
2194 LONG WINAPI lineGetConfRelatedCalls(HCALL hCall,LPLINECALLLIST lpCallList);
2195 LONG WINAPI lineGetCountry(DWORD dwCountryID,DWORD dwAPIVersion,LPLINECOUNTRYLIST lpLineCountryList);
2196 LONG WINAPI lineGetCountryA(DWORD dwCountryID,DWORD dwAPIVersion,LPLINECOUNTRYLIST lpLineCountryList);
2197 LONG WINAPI lineGetCountryW(DWORD dwCountryID,DWORD dwAPIVersion,LPLINECOUNTRYLIST lpLineCountryList);
2198 LONG WINAPI lineGetDevCaps(HLINEAPP hLineApp,DWORD dwDeviceID,DWORD dwAPIVersion,DWORD dwExtVersion,LPLINEDEVCAPS lpLineDevCaps);
2199 LONG WINAPI lineGetDevCapsA(HLINEAPP hLineApp,DWORD dwDeviceID,DWORD dwAPIVersion,DWORD dwExtVersion,LPLINEDEVCAPS lpLineDevCaps);
2200 LONG WINAPI lineGetDevCapsW(HLINEAPP hLineApp,DWORD dwDeviceID,DWORD dwAPIVersion,DWORD dwExtVersion,LPLINEDEVCAPS lpLineDevCaps);
2201 LONG WINAPI lineGetDevConfig(DWORD dwDeviceID,LPVARSTRING lpDeviceConfig,LPCSTR lpszDeviceClass);
2202 LONG WINAPI lineGetDevConfigA(DWORD dwDeviceID,LPVARSTRING lpDeviceConfig,LPCSTR lpszDeviceClass);
2203 LONG WINAPI lineGetDevConfigW(DWORD dwDeviceID,LPVARSTRING lpDeviceConfig,LPCWSTR lpszDeviceClass);
2204 LONG WINAPI lineGetGroupListA(HLINE hLine,LPLINEAGENTGROUPLIST lpGroupList);
2205 LONG WINAPI lineGetGroupListW(HLINE hLine,LPLINEAGENTGROUPLIST lpGroupList);
2206 LONG WINAPI lineGetIcon(DWORD dwDeviceID,LPCSTR lpszDeviceClass,LPHICON lphIcon);
2207 LONG WINAPI lineGetIconA(DWORD dwDeviceID,LPCSTR lpszDeviceClass,LPHICON lphIcon);
2208 LONG WINAPI lineGetIconW(DWORD dwDeviceID,LPCWSTR lpszDeviceClass,LPHICON lphIcon);
2209 LONG WINAPI lineGetID(HLINE hLine,DWORD dwAddressID,HCALL hCall,DWORD dwSelect,LPVARSTRING lpDeviceID,LPCSTR lpszDeviceClass);
2210 LONG WINAPI lineGetIDA(HLINE hLine,DWORD dwAddressID,HCALL hCall,DWORD dwSelect,LPVARSTRING lpDeviceID,LPCSTR lpszDeviceClass);
2211 LONG WINAPI lineGetIDW(HLINE hLine,DWORD dwAddressID,HCALL hCall,DWORD dwSelect,LPVARSTRING lpDeviceID,LPCWSTR lpszDeviceClass);
2212 LONG WINAPI lineGetLineDevStatus(HLINE hLine,LPLINEDEVSTATUS lpLineDevStatus);
2213 LONG WINAPI lineGetLineDevStatusA(HLINE hLine,LPLINEDEVSTATUS lpLineDevStatus);
2214 LONG WINAPI lineGetLineDevStatusW(HLINE hLine,LPLINEDEVSTATUS lpLineDevStatus);
2215 LONG WINAPI lineGetMessage(HLINEAPP hLineApp,LPLINEMESSAGE lpMessage,DWORD dwTimeout);
2216 LONG WINAPI lineGetNewCalls(HLINE hLine,DWORD dwAddressID,DWORD dwSelect,LPLINECALLLIST lpCallList);
2217 LONG WINAPI lineGetNumRings(HLINE hLine,DWORD dwAddressID,LPDWORD lpdwNumRings);
2218 LONG WINAPI lineGetProviderList(DWORD dwAPIVersion,LPLINEPROVIDERLIST lpProviderList);
2219 LONG WINAPI lineGetProviderListA(DWORD dwAPIVersion,LPLINEPROVIDERLIST lpProviderList);
2220 LONG WINAPI lineGetProviderListW(DWORD dwAPIVersion,LPLINEPROVIDERLIST lpProviderList);
2221 LONG WINAPI lineGetProxyStatus(HLINEAPP hLineApp,DWORD dwDeviceID,DWORD dwAppAPIVersion,LPLINEPROXYREQUESTLIST lpLineProxyReqestList);
2222 LONG WINAPI lineGetQueueInfo(HLINE hLine,DWORD dwQueueID,LPLINEQUEUEINFO lpLineQueueInfo);
2223 LONG WINAPI lineGetQueueListA(HLINE hLine,LPGUID lpGroupID,LPLINEQUEUELIST lpQueueList);
2224 LONG WINAPI lineGetQueueListW(HLINE hLine,LPGUID lpGroupID,LPLINEQUEUELIST lpQueueList);
2225 LONG WINAPI lineGetRequest(HLINEAPP hLineApp,DWORD dwRequestMode,LPVOID lpRequestBuffer);
2226 LONG WINAPI lineGetRequestA(HLINEAPP hLineApp,DWORD dwRequestMode,LPVOID lpRequestBuffer);
2227 LONG WINAPI lineGetRequestW(HLINEAPP hLineApp,DWORD dwRequestMode,LPVOID lpRequestBuffer);
2228 LONG WINAPI lineGetStatusMessages(HLINE hLine,LPDWORD lpdwLineStates,LPDWORD lpdwAddressStates);
2229 LONG WINAPI lineGetTranslateCaps(HLINEAPP hLineApp,DWORD dwAPIVersion,LPLINETRANSLATECAPS lpTranslateCaps);
2230 LONG WINAPI lineGetTranslateCapsA(HLINEAPP hLineApp,DWORD dwAPIVersion,LPLINETRANSLATECAPS lpTranslateCaps);
2231 LONG WINAPI lineGetTranslateCapsW(HLINEAPP hLineApp,DWORD dwAPIVersion,LPLINETRANSLATECAPS lpTranslateCaps);
2232 LONG WINAPI lineHandoff(HCALL hCall,LPCSTR lpszFileName,DWORD dwMediaMode);
2233 LONG WINAPI lineHandoffA(HCALL hCall,LPCSTR lpszFileName,DWORD dwMediaMode);
2234 LONG WINAPI lineHandoffW(HCALL hCall,LPCWSTR lpszFileName,DWORD dwMediaMode);
2235 LONG WINAPI lineHold(HCALL hCall);
2236 LONG WINAPI lineInitialize(LPHLINEAPP lphLineApp,HINSTANCE hInstance,LINECALLBACK lpfnCallback,LPCSTR lpszAppName,LPDWORD lpdwNumDevs);
2237 LONG WINAPI lineInitializeExA(LPHLINEAPP lphLineApp,HINSTANCE hInstance,LINECALLBACK lpfnCallback,LPCSTR lpszFriendlyAppName,LPDWORD lpdwNumDevs,LPDWORD lpdwAPIVersion,LPLINEINITIALIZEEXPARAMS lpLineInitializeExParams);
2238 LONG WINAPI lineInitializeExW(LPHLINEAPP lphLineApp,HINSTANCE hInstance,LINECALLBACK lpfnCallback,LPCWSTR lpszFriendlyAppName,LPDWORD lpdwNumDevs,LPDWORD lpdwAPIVersion,LPLINEINITIALIZEEXPARAMS lpLineInitializeExParams);
2239 LONG WINAPI lineMakeCall(HLINE hLine,LPHCALL lphCall,LPCSTR lpszDestAddress,DWORD dwCountryCode,LPLINECALLPARAMS const lpCallParams);
2240 LONG WINAPI lineMakeCallA(HLINE hLine,LPHCALL lphCall,LPCSTR lpszDestAddress,DWORD dwCountryCode,LPLINECALLPARAMS const lpCallParams);
2241 LONG WINAPI lineMakeCallW(HLINE hLine,LPHCALL lphCall,LPCWSTR lpszDestAddress,DWORD dwCountryCode,LPLINECALLPARAMS const lpCallParams);
2242 LONG WINAPI lineMonitorDigits(HCALL hCall,DWORD dwDigitModes);
2243 LONG WINAPI lineMonitorMedia(HCALL hCall,DWORD dwMediaModes);
2244 LONG WINAPI lineMonitorTones(HCALL hCall,LPLINEMONITORTONE const lpToneList,DWORD dwNumEntries);
2245 LONG WINAPI lineNegotiateAPIVersion(HLINEAPP hLineApp,DWORD dwDeviceID,DWORD dwAPILowVersion,DWORD dwAPIHighVersion,LPDWORD lpdwAPIVersion,LPLINEEXTENSIONID lpExtensionID);
2246 LONG WINAPI lineNegotiateExtVersion(HLINEAPP hLineApp,DWORD dwDeviceID,DWORD dwAPIVersion,DWORD dwExtLowVersion,DWORD dwExtHighVersion,LPDWORD lpdwExtVersion);
2247 LONG WINAPI lineOpen(HLINEAPP hLineApp,DWORD dwDeviceID,LPHLINE lphLine,DWORD dwAPIVersion,DWORD dwExtVersion,DWORD_PTR dwCallbackInstance,DWORD dwPrivileges,DWORD dwMediaModes,LPLINECALLPARAMS const lpCallParams);
2248 LONG WINAPI lineOpenA(HLINEAPP hLineApp,DWORD dwDeviceID,LPHLINE lphLine,DWORD dwAPIVersion,DWORD dwExtVersion,DWORD_PTR dwCallbackInstance,DWORD dwPrivileges,DWORD dwMediaModes,LPLINECALLPARAMS const lpCallParams);
2249 LONG WINAPI lineOpenW(HLINEAPP hLineApp,DWORD dwDeviceID,LPHLINE lphLine,DWORD dwAPIVersion,DWORD dwExtVersion,DWORD_PTR dwCallbackInstance,DWORD dwPrivileges,DWORD dwMediaModes,LPLINECALLPARAMS const lpCallParams);
2250 LONG WINAPI linePark(HCALL hCall,DWORD dwParkMode,LPCSTR lpszDirAddress,LPVARSTRING lpNonDirAddress);
2251 LONG WINAPI lineParkA(HCALL hCall,DWORD dwParkMode,LPCSTR lpszDirAddress,LPVARSTRING lpNonDirAddress);
2252 LONG WINAPI lineParkW(HCALL hCall,DWORD dwParkMode,LPCWSTR lpszDirAddress,LPVARSTRING lpNonDirAddress);
2253 LONG WINAPI linePickup(HLINE hLine,DWORD dwAddressID,LPHCALL lphCall,LPCSTR lpszDestAddress,LPCSTR lpszGroupID);
2254 LONG WINAPI linePickupA(HLINE hLine,DWORD dwAddressID,LPHCALL lphCall,LPCSTR lpszDestAddress,LPCSTR lpszGroupID);
2255 LONG WINAPI linePickupW(HLINE hLine,DWORD dwAddressID,LPHCALL lphCall,LPCWSTR lpszDestAddress,LPCWSTR lpszGroupID);
2256 LONG WINAPI linePrepareAddToConference(HCALL hConfCall,LPHCALL lphConsultCall,LPLINECALLPARAMS const lpCallParams);
2257 LONG WINAPI linePrepareAddToConferenceA(HCALL hConfCall,LPHCALL lphConsultCall,LPLINECALLPARAMS const lpCallParams);
2258 LONG WINAPI linePrepareAddToConferenceW(HCALL hConfCall,LPHCALL lphConsultCall,LPLINECALLPARAMS const lpCallParams);
2259 LONG WINAPI lineProxyMessage(HLINE hLine,HCALL hCall,DWORD dwMsg,DWORD dwParam1,DWORD dwParam2,DWORD dwParam3);
2260 LONG WINAPI lineProxyResponse(HLINE hLine,LPLINEPROXYREQUEST lpProxyRequest,DWORD dwResult);
2261 LONG WINAPI lineRedirect(HCALL hCall,LPCSTR lpszDestAddress,DWORD dwCountryCode);
2262 LONG WINAPI lineRedirectA(HCALL hCall,LPCSTR lpszDestAddress,DWORD dwCountryCode);
2263 LONG WINAPI lineRedirectW(HCALL hCall,LPCWSTR lpszDestAddress,DWORD dwCountryCode);
2264 LONG WINAPI lineRegisterRequestRecipient(HLINEAPP hLineApp,DWORD dwRegistrationInstance,DWORD dwRequestMode,DWORD bEnable);
2265 LONG WINAPI lineReleaseUserUserInfo(HCALL hCall);
2266 LONG WINAPI lineRemoveFromConference(HCALL hCall);
2267 LONG WINAPI lineRemoveProvider(DWORD dwPermanentProviderID,HWND hwndOwner);
2268 LONG WINAPI lineSecureCall(HCALL hCall);
2269 LONG WINAPI lineSendUserUserInfo(HCALL hCall,LPCSTR lpsUserUserInfo,DWORD dwSize);
2270 LONG WINAPI lineSetAgentActivity(HLINE hLine,DWORD dwAddressID,DWORD dwActivityID);
2271 LONG WINAPI lineSetAgentGroup(HLINE hLine,DWORD dwAddressID,LPLINEAGENTGROUPLIST lpAgentGroupList);
2272 LONG WINAPI lineSetAgentMeasurementPeriod(HLINE hLine,HAGENT hAgent,DWORD dwMeasurementPeriod);
2273 LONG WINAPI lineSetAgentSessionState(HLINE hLine,HAGENTSESSION hAgentSession,DWORD dwAgentSessionState,DWORD dwNextAgentSessionState);
2274 LONG WINAPI lineSetAgentStateEx(HLINE hLine,HAGENT hAgent,DWORD dwAgentState,DWORD dwNextAgentState);
2275 LONG WINAPI lineSetAgentState(HLINE hLine,DWORD dwAddressID,DWORD dwAgentState,DWORD dwNextAgentState);
2276 LONG WINAPI lineSetAppPriority(LPCSTR lpszAppFilename,DWORD dwMediaMode,LPLINEEXTENSIONID lpExtensionID,DWORD dwRequestMode,LPCSTR lpszExtensionName,DWORD dwPriority);
2277 LONG WINAPI lineSetAppPriorityA(LPCSTR lpszAppFilename,DWORD dwMediaMode,LPLINEEXTENSIONID lpExtensionID,DWORD dwRequestMode,LPCSTR lpszExtensionName,DWORD dwPriority);
2278 LONG WINAPI lineSetAppPriorityW(LPCWSTR lpszAppFilename,DWORD dwMediaMode,LPLINEEXTENSIONID lpExtensionID,DWORD dwRequestMode,LPCWSTR lpszExtensionName,DWORD dwPriority);
2279 LONG WINAPI lineSetAppSpecific(HCALL hCall,DWORD dwAppSpecific);
2280 LONG WINAPI lineSetCallData(HCALL hCall,LPVOID lpCallData,DWORD dwSize);
2281 LONG WINAPI lineSetCallParams(HCALL hCall,DWORD dwBearerMode,DWORD dwMinRate,DWORD dwMaxRate,LPLINEDIALPARAMS const lpDialParams);
2282 LONG WINAPI lineSetCallPrivilege(HCALL hCall,DWORD dwCallPrivilege);
2283 LONG WINAPI lineSetCallQualityOfService(HCALL hCall,LPVOID lpSendingFlowspec,DWORD dwSendingFlowspecSize,LPVOID lpReceivingFlowspec,DWORD dwReceivingFlowspecSize);
2284 LONG WINAPI lineSetCallTreatment(HCALL hCall,DWORD dwTreatment);
2285 LONG WINAPI lineSetCurrentLocation(HLINEAPP hLineApp,DWORD dwLocation);
2286 LONG WINAPI lineSetDevConfig(DWORD dwDeviceID,LPVOID const lpDeviceConfig,DWORD dwSize,LPCSTR lpszDeviceClass);
2287 LONG WINAPI lineSetDevConfigA(DWORD dwDeviceID,LPVOID const lpDeviceConfig,DWORD dwSize,LPCSTR lpszDeviceClass);
2288 LONG WINAPI lineSetDevConfigW(DWORD dwDeviceID,LPVOID const lpDeviceConfig,DWORD dwSize,LPCWSTR lpszDeviceClass);
2289 LONG WINAPI lineSetLineDevStatus(HLINE hLine,DWORD dwStatusToChange,DWORD fStatus);
2290 LONG WINAPI lineSetMediaControl(HLINE hLine,DWORD dwAddressID,HCALL hCall,DWORD dwSelect,LPLINEMEDIACONTROLDIGIT const lpDigitList,DWORD dwDigitNumEntries,LPLINEMEDIACONTROLMEDIA const lpMediaList,DWORD dwMediaNumEntries,LPLINEMEDIACONTROLTONE const lpToneList,DWORD dwToneNumEntries,LPLINEMEDIACONTROLCALLSTATE const lpCallStateList,DWORD dwCallStateNumEntries);
2291 LONG WINAPI lineSetMediaMode(HCALL hCall,DWORD dwMediaModes);
2292 LONG WINAPI lineSetQueueMeasurementPeriod(HLINE hLine,DWORD dwQueueID,DWORD dwMeasurementPeriod);
2293 LONG WINAPI lineSetNumRings(HLINE hLine,DWORD dwAddressID,DWORD dwNumRings);
2294 LONG WINAPI lineSetStatusMessages(HLINE hLine,DWORD dwLineStates,DWORD dwAddressStates);
2295 LONG WINAPI lineSetTerminal(HLINE hLine,DWORD dwAddressID,HCALL hCall,DWORD dwSelect,DWORD dwTerminalModes,DWORD dwTerminalID,DWORD bEnable);
2296 LONG WINAPI lineSetTollList(HLINEAPP hLineApp,DWORD dwDeviceID,LPCSTR lpszAddressIn,DWORD dwTollListOption);
2297 LONG WINAPI lineSetTollListA(HLINEAPP hLineApp,DWORD dwDeviceID,LPCSTR lpszAddressIn,DWORD dwTollListOption);
2298 LONG WINAPI lineSetTollListW(HLINEAPP hLineApp,DWORD dwDeviceID,LPCWSTR lpszAddressInW,DWORD dwTollListOption);
2299 LONG WINAPI lineSetupConference(HCALL hCall,HLINE hLine,LPHCALL lphConfCall,LPHCALL lphConsultCall,DWORD dwNumParties,LPLINECALLPARAMS const lpCallParams);
2300 LONG WINAPI lineSetupConferenceA(HCALL hCall,HLINE hLine,LPHCALL lphConfCall,LPHCALL lphConsultCall,DWORD dwNumParties,LPLINECALLPARAMS const lpCallParams);
2301 LONG WINAPI lineSetupConferenceW(HCALL hCall,HLINE hLine,LPHCALL lphConfCall,LPHCALL lphConsultCall,DWORD dwNumParties,LPLINECALLPARAMS const lpCallParams);
2302 LONG WINAPI lineSetupTransfer(HCALL hCall,LPHCALL lphConsultCall,LPLINECALLPARAMS const lpCallParams);
2303 LONG WINAPI lineSetupTransferA(HCALL hCall,LPHCALL lphConsultCall,LPLINECALLPARAMS const lpCallParams);
2304 LONG WINAPI lineSetupTransferW(HCALL hCall,LPHCALL lphConsultCall,LPLINECALLPARAMS const lpCallParams);
2305 LONG WINAPI lineShutdown(HLINEAPP hLineApp);
2306 LONG WINAPI lineSwapHold(HCALL hActiveCall,HCALL hHeldCall);
2307 LONG WINAPI lineTranslateAddress(HLINEAPP hLineApp,DWORD dwDeviceID,DWORD dwAPIVersion,LPCSTR lpszAddressIn,DWORD dwCard,DWORD dwTranslateOptions,LPLINETRANSLATEOUTPUT lpTranslateOutput);
2308 LONG WINAPI lineTranslateAddressA(HLINEAPP hLineApp,DWORD dwDeviceID,DWORD dwAPIVersion,LPCSTR lpszAddressIn,DWORD dwCard,DWORD dwTranslateOptions,LPLINETRANSLATEOUTPUT lpTranslateOutput);
2309 LONG WINAPI lineTranslateAddressW(HLINEAPP hLineApp,DWORD dwDeviceID,DWORD dwAPIVersion,LPCWSTR lpszAddressIn,DWORD dwCard,DWORD dwTranslateOptions,LPLINETRANSLATEOUTPUT lpTranslateOutput);
2310 LONG WINAPI lineTranslateDialog(HLINEAPP hLineApp,DWORD dwDeviceID,DWORD dwAPIVersion,HWND hwndOwner,LPCSTR lpszAddressIn);
2311 LONG WINAPI lineTranslateDialogA(HLINEAPP hLineApp,DWORD dwDeviceID,DWORD dwAPIVersion,HWND hwndOwner,LPCSTR lpszAddressIn);
2312 LONG WINAPI lineTranslateDialogW(HLINEAPP hLineApp,DWORD dwDeviceID,DWORD dwAPIVersion,HWND hwndOwner,LPCWSTR lpszAddressIn);
2313 LONG WINAPI lineUncompleteCall(HLINE hLine,DWORD dwCompletionID);
2314 LONG WINAPI lineUnhold(HCALL hCall);
2315 LONG WINAPI lineUnpark(HLINE hLine,DWORD dwAddressID,LPHCALL lphCall,LPCSTR lpszDestAddress);
2316 LONG WINAPI lineUnparkA(HLINE hLine,DWORD dwAddressID,LPHCALL lphCall,LPCSTR lpszDestAddress);
2317 LONG WINAPI lineUnparkW(HLINE hLine,DWORD dwAddressID,LPHCALL lphCall,LPCWSTR lpszDestAddress);
2318 LONG WINAPI phoneClose(HPHONE hPhone);
2319 LONG WINAPI phoneConfigDialog(DWORD dwDeviceID,HWND hwndOwner,LPCSTR lpszDeviceClass);
2320 LONG WINAPI phoneConfigDialogA(DWORD dwDeviceID,HWND hwndOwner,LPCSTR lpszDeviceClass);
2321 LONG WINAPI phoneConfigDialogW(DWORD dwDeviceID,HWND hwndOwner,LPCWSTR lpszDeviceClass);
2322 LONG WINAPI phoneDevSpecific(HPHONE hPhone,LPVOID lpParams,DWORD dwSize);
2323 LONG WINAPI phoneGetButtonInfo(HPHONE hPhone,DWORD dwButtonLampID,LPPHONEBUTTONINFO lpButtonInfo);
2324 LONG WINAPI phoneGetButtonInfoA(HPHONE hPhone,DWORD dwButtonLampID,LPPHONEBUTTONINFO lpButtonInfo);
2325 LONG WINAPI phoneGetButtonInfoW(HPHONE hPhone,DWORD dwButtonLampID,LPPHONEBUTTONINFO lpButtonInfo);
2326 LONG WINAPI phoneGetData(HPHONE hPhone,DWORD dwDataID,LPVOID lpData,DWORD dwSize);
2327 LONG WINAPI phoneGetDevCaps(HPHONEAPP hPhoneApp,DWORD dwDeviceID,DWORD dwAPIVersion,DWORD dwExtVersion,LPPHONECAPS lpPhoneCaps);
2328 LONG WINAPI phoneGetDevCapsA(HPHONEAPP hPhoneApp,DWORD dwDeviceID,DWORD dwAPIVersion,DWORD dwExtVersion,LPPHONECAPS lpPhoneCaps);
2329 LONG WINAPI phoneGetDevCapsW(HPHONEAPP hPhoneApp,DWORD dwDeviceID,DWORD dwAPIVersion,DWORD dwExtVersion,LPPHONECAPS lpPhoneCaps);
2330 LONG WINAPI phoneGetDisplay(HPHONE hPhone,LPVARSTRING lpDisplay);
2331 LONG WINAPI phoneGetGain(HPHONE hPhone,DWORD dwHookSwitchDev,LPDWORD lpdwGain);
2332 LONG WINAPI phoneGetHookSwitch(HPHONE hPhone,LPDWORD lpdwHookSwitchDevs);
2333 LONG WINAPI phoneGetIcon(DWORD dwDeviceID,LPCSTR lpszDeviceClass,LPHICON lphIcon);
2334 LONG WINAPI phoneGetIconA(DWORD dwDeviceID,LPCSTR lpszDeviceClass,LPHICON lphIcon);
2335 LONG WINAPI phoneGetIconW(DWORD dwDeviceID,LPCWSTR lpszDeviceClass,LPHICON lphIcon);
2336 LONG WINAPI phoneGetID(HPHONE hPhone,LPVARSTRING lpDeviceID,LPCSTR lpszDeviceClass);
2337 LONG WINAPI phoneGetIDA(HPHONE hPhone,LPVARSTRING lpDeviceID,LPCSTR lpszDeviceClass);
2338 LONG WINAPI phoneGetIDW(HPHONE hPhone,LPVARSTRING lpDeviceID,LPCWSTR lpszDeviceClass);
2339 LONG WINAPI phoneGetLamp(HPHONE hPhone,DWORD dwButtonLampID,LPDWORD lpdwLampMode);
2340 LONG WINAPI phoneGetMessage(HPHONEAPP hPhoneApp,LPPHONEMESSAGE lpMessage,DWORD dwTimeout);
2341 LONG WINAPI phoneGetRing(HPHONE hPhone,LPDWORD lpdwRingMode,LPDWORD lpdwVolume);
2342 LONG WINAPI phoneGetStatus(HPHONE hPhone,LPPHONESTATUS lpPhoneStatus);
2343 LONG WINAPI phoneGetStatusA(HPHONE hPhone,LPPHONESTATUS lpPhoneStatus);
2344 LONG WINAPI phoneGetStatusW(HPHONE hPhone,LPPHONESTATUS lpPhoneStatus);
2345 LONG WINAPI phoneGetStatusMessages(HPHONE hPhone,LPDWORD lpdwPhoneStates,LPDWORD lpdwButtonModes,LPDWORD lpdwButtonStates);
2346 LONG WINAPI phoneGetVolume(HPHONE hPhone,DWORD dwHookSwitchDev,LPDWORD lpdwVolume);
2347 LONG WINAPI phoneInitialize(LPHPHONEAPP lphPhoneApp,HINSTANCE hInstance,PHONECALLBACK lpfnCallback,LPCSTR lpszAppName,LPDWORD lpdwNumDevs);
2348 LONG WINAPI phoneInitializeExA(LPHPHONEAPP lphPhoneApp,HINSTANCE hInstance,PHONECALLBACK lpfnCallback,LPCSTR lpszFriendlyAppName,LPDWORD lpdwNumDevs,LPDWORD lpdwAPIVersion,LPPHONEINITIALIZEEXPARAMS lpPhoneInitializeExParams);
2349 LONG WINAPI phoneInitializeExW(LPHPHONEAPP lphPhoneApp,HINSTANCE hInstance,PHONECALLBACK lpfnCallback,LPCWSTR lpszFriendlyAppName,LPDWORD lpdwNumDevs,LPDWORD lpdwAPIVersion,LPPHONEINITIALIZEEXPARAMS lpPhoneInitializeExParams);
2350 LONG WINAPI phoneNegotiateAPIVersion(HPHONEAPP hPhoneApp,DWORD dwDeviceID,DWORD dwAPILowVersion,DWORD dwAPIHighVersion,LPDWORD lpdwAPIVersion,LPPHONEEXTENSIONID lpExtensionID);
2351 LONG WINAPI phoneNegotiateExtVersion(HPHONEAPP hPhoneApp,DWORD dwDeviceID,DWORD dwAPIVersion,DWORD dwExtLowVersion,DWORD dwExtHighVersion,LPDWORD lpdwExtVersion);
2352 LONG WINAPI phoneOpen(HPHONEAPP hPhoneApp,DWORD dwDeviceID,LPHPHONE lphPhone,DWORD dwAPIVersion,DWORD dwExtVersion,DWORD_PTR dwCallbackInstance,DWORD dwPrivilege);
2353 LONG WINAPI phoneSetButtonInfo(HPHONE hPhone,DWORD dwButtonLampID,LPPHONEBUTTONINFO const lpButtonInfo);
2354 LONG WINAPI phoneSetButtonInfoA(HPHONE hPhone,DWORD dwButtonLampID,LPPHONEBUTTONINFO const lpButtonInfo);
2355 LONG WINAPI phoneSetButtonInfoW(HPHONE hPhone,DWORD dwButtonLampID,LPPHONEBUTTONINFO const lpButtonInfo);
2356 LONG WINAPI phoneSetData(HPHONE hPhone,DWORD dwDataID,LPVOID const lpData,DWORD dwSize);
2357 LONG WINAPI phoneSetDisplay(HPHONE hPhone,DWORD dwRow,DWORD dwColumn,LPCSTR lpsDisplay,DWORD dwSize);
2358 LONG WINAPI phoneSetGain(HPHONE hPhone,DWORD dwHookSwitchDev,DWORD dwGain);
2359 LONG WINAPI phoneSetHookSwitch(HPHONE hPhone,DWORD dwHookSwitchDevs,DWORD dwHookSwitchMode);
2360 LONG WINAPI phoneSetLamp(HPHONE hPhone,DWORD dwButtonLampID,DWORD dwLampMode);
2361 LONG WINAPI phoneSetRing(HPHONE hPhone,DWORD dwRingMode,DWORD dwVolume);
2362 LONG WINAPI phoneSetStatusMessages(HPHONE hPhone,DWORD dwPhoneStates,DWORD dwButtonModes,DWORD dwButtonStates);
2363 LONG WINAPI phoneSetVolume(HPHONE hPhone,DWORD dwHookSwitchDev,DWORD dwVolume);
2364 LONG WINAPI phoneShutdown(HPHONEAPP hPhoneApp);
2365 LONG WINAPI tapiGetLocationInfo(LPSTR lpszCountryCode,LPSTR lpszCityCode);
2366 LONG WINAPI tapiGetLocationInfoA(LPSTR lpszCountryCode,LPSTR lpszCityCode);
2367 LONG WINAPI tapiGetLocationInfoW(LPWSTR lpszCountryCodeW,LPWSTR lpszCityCodeW);
2368 LONG WINAPI tapiRequestDrop(HWND hwnd,WPARAM wRequestID);
2369 LONG WINAPI tapiRequestMakeCall(LPCSTR lpszDestAddress,LPCSTR lpszAppName,LPCSTR lpszCalledParty,LPCSTR lpszComment);
2370 LONG WINAPI tapiRequestMakeCallA(LPCSTR lpszDestAddress,LPCSTR lpszAppName,LPCSTR lpszCalledParty,LPCSTR lpszComment);
2371 LONG WINAPI tapiRequestMakeCallW(LPCWSTR lpszDestAddress,LPCWSTR lpszAppName,LPCWSTR lpszCalledParty,LPCWSTR lpszComment);
2372 LONG WINAPI tapiRequestMediaCall(HWND hwnd,WPARAM wRequestID,LPCSTR lpszDeviceClass,LPCSTR lpDeviceID,DWORD dwSize,DWORD dwSecure,LPCSTR lpszDestAddress,LPCSTR lpszAppName,LPCSTR lpszCalledParty,LPCSTR lpszComment);
2373 LONG WINAPI tapiRequestMediaCallA(HWND hwnd,WPARAM wRequestID,LPCSTR lpszDeviceClass,LPCSTR lpDeviceID,DWORD dwSize,DWORD dwSecure,LPCSTR lpszDestAddress,LPCSTR lpszAppName,LPCSTR lpszCalledParty,LPCSTR lpszComment);
2374 LONG WINAPI tapiRequestMediaCallW(HWND hwnd,WPARAM wRequestID,LPCWSTR lpszDeviceClass,LPCWSTR lpDeviceID,DWORD dwSize,DWORD dwSecure,LPCWSTR lpszDestAddress,LPCWSTR lpszAppName,LPCWSTR lpszCalledParty,LPCWSTR lpszComment);
2375
2376 #define TAPIERROR_FORMATMESSAGE(__ErrCode__) (((__ErrCode__) > 0xFFFF0000) ? ((__ErrCode__) & 0x0000FFFF) : (((__ErrCode__) & 0x10000000) ? ((__ErrCode__) - 0x90000000 + 0xF000) : ((__ErrCode__) - 0x80000000 + 0xE000)))
2377
2378 #ifdef __cplusplus
2379 }
2380 #endif
2381
2382 #pragma pack()
2383 #endif