shell32: Size ShellView column widths by font width.
[wine.git] / include / tapi.h
blob52ec619aef31a8732a3dc6aa2835803a6edbe1d1
1 /*
2 * TAPI definitions
4 * Copyright (c) 1999 Andreas Mohr
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __WINE_TAPI_H
22 #define __WINE_TAPI_H
24 #include <windows.h>
25 #include <basetsd.h>
26 #include <oaidl.h>
28 #ifdef __cplusplus
29 extern "C" {
30 #endif /* defined(__cplusplus) */
32 typedef HANDLE HCALL, *LPHCALL;
33 typedef HANDLE HLINE, *LPHLINE;
34 typedef HANDLE HLINEAPP, *LPHLINEAPP;
35 typedef HANDLE HPHONE, *LPHPHONE;
36 typedef HANDLE HPHONEAPP, *LPHPHONEAPP;
38 #define TAPIERR_REQUESTFAILED __MSABI_LONG(-16)
39 #define LINEERR_ALLOCATED 0x80000001
40 #define LINEERR_BADDEVICEID 0x80000002
41 #define LINEERR_BEARERMODEUNAVAIL 0x80000003
42 #define LINEERR_CALLUNAVAIL 0x80000005
43 #define LINEERR_COMPLETIONOVERRUN 0x80000006
44 #define LINEERR_CONFERENCEFULL 0x80000007
45 #define LINEERR_DIALBILLING 0x80000008
46 #define LINEERR_DIALDIALTONE 0x80000009
47 #define LINEERR_DIALPROMPT 0x8000000A
48 #define LINEERR_DIALQUIET 0x8000000B
49 #define LINEERR_INCOMPATIBLEAPIVERSION 0x8000000C
50 #define LINEERR_INCOMPATIBLEEXTVERSION 0x8000000D
51 #define LINEERR_INIFILECORRUPT 0x8000000E
52 #define LINEERR_INUSE 0x8000000F
53 #define LINEERR_INVALADDRESS 0x80000010
54 #define LINEERR_INVALADDRESSID 0x80000011
55 #define LINEERR_INVALADDRESSMODE 0x80000012
56 #define LINEERR_INVALADDRESSSTATE 0x80000013
57 #define LINEERR_INVALAPPHANDLE 0x80000014
58 #define LINEERR_INVALAPPNAME 0x80000015
59 #define LINEERR_INVALBEARERMODE 0x80000016
60 #define LINEERR_INVALCALLCOMPLMODE 0x80000017
61 #define LINEERR_INVALCALLHANDLE 0x80000018
62 #define LINEERR_INVALCALLPARAMS 0x80000019
63 #define LINEERR_INVALCALLPRIVILEGE 0x8000001A
64 #define LINEERR_INVALCALLSELECT 0x8000001B
65 #define LINEERR_INVALCALLSTATE 0x8000001C
66 #define LINEERR_INVALCALLSTATELIST 0x8000001D
67 #define LINEERR_INVALCARD 0x8000001E
68 #define LINEERR_INVALCOMPLETIONID 0x8000001F
69 #define LINEERR_INVALCONFCALLHANDLE 0x80000020
70 #define LINEERR_INVALCONSULTCALLHANDLE 0x80000021
71 #define LINEERR_INVALCOUNTRYCODE 0x80000022
72 #define LINEERR_INVALDEVICECLASS 0x80000023
73 #define LINEERR_INVALDEVICEHANDLE 0x80000024
74 #define LINEERR_INVALDIALPARAMS 0x80000025
75 #define LINEERR_INVALDIGITLIST 0x80000026
76 #define LINEERR_INVALDIGITMODE 0x80000027
77 #define LINEERR_INVALDIGITS 0x80000028
78 #define LINEERR_INVALEXTVERSION 0x80000029
79 #define LINEERR_INVALGROUPID 0x8000002A
80 #define LINEERR_INVALLINEHANDLE 0x8000002B
81 #define LINEERR_INVALLINESTATE 0x8000002C
82 #define LINEERR_INVALLOCATION 0x8000002D
83 #define LINEERR_INVALMEDIALIST 0x8000002E
84 #define LINEERR_INVALMEDIAMODE 0x8000002F
85 #define LINEERR_INVALMESSAGEID 0x80000030
86 #define LINEERR_INVALPARAM 0x80000032
87 #define LINEERR_INVALPARKID 0x80000033
88 #define LINEERR_INVALPARKMODE 0x80000034
89 #define LINEERR_INVALPOINTER 0x80000035
90 #define LINEERR_INVALPRIVSELECT 0x80000036
91 #define LINEERR_INVALRATE 0x80000037
92 #define LINEERR_INVALREQUESTMODE 0x80000038
93 #define LINEERR_INVALTERMINALID 0x80000039
94 #define LINEERR_INVALTERMINALMODE 0x8000003A
95 #define LINEERR_INVALTIMEOUT 0x8000003B
96 #define LINEERR_INVALTONE 0x8000003C
97 #define LINEERR_INVALTONELIST 0x8000003D
98 #define LINEERR_INVALTONEMODE 0x8000003E
99 #define LINEERR_INVALTRANSFERMODE 0x8000003F
100 #define LINEERR_LINEMAPPERFAILED 0x80000040
101 #define LINEERR_NOCONFERENCE 0x80000041
102 #define LINEERR_NODEVICE 0x80000042
103 #define LINEERR_NODRIVER 0x80000043
104 #define LINEERR_NOMEM 0x80000044
105 #define LINEERR_NOREQUEST 0x80000045
106 #define LINEERR_NOTOWNER 0x80000046
107 #define LINEERR_NOTREGISTERED 0x80000047
108 #define LINEERR_OPERATIONFAILED 0x80000048
109 #define LINEERR_OPERATIONUNAVAIL 0x80000049
110 #define LINEERR_RATEUNAVAIL 0x8000004A
111 #define LINEERR_RESOURCEUNAVAIL 0x8000004B
112 #define LINEERR_REQUESTOVERRUN 0x8000004C
113 #define LINEERR_STRUCTURETOOSMALL 0x8000004D
114 #define LINEERR_TARGETNOTFOUND 0x8000004E
115 #define LINEERR_TARGETSELF 0x8000004F
116 #define LINEERR_UNINITIALIZED 0x80000050
117 #define LINEERR_USERUSERINFOTOOBIG 0x80000051
118 #define LINEERR_REINIT 0x80000052
119 #define LINEERR_ADDRESSBLOCKED 0x80000053
120 #define LINEERR_BILLINGREJECTED 0x80000054
121 #define LINEERR_INVALFEATURE 0x80000055
122 #define LINEERR_NOMULTIPLEINSTANCE 0x80000056
124 #define STRINGFORMAT_ASCII 0x00000001
125 #define STRINGFORMAT_DBCS 0x00000002
126 #define STRINGFORMAT_UNICODE 0x00000003
127 #define STRINGFORMAT_BINARY 0x00000004
129 #define LINEADDRESSMODE_ADDRESSID 0x00000001
130 #define LINEADDRESSMODE_DIALABLEADDR 0x00000002
132 #define LINEBEARERMODE_VOICE 0x00000001
133 #define LINEBEARERMODE_SPEECH 0x00000002
134 #define LINEBEARERMODE_MULTIUSE 0x00000004
135 #define LINEBEARERMODE_DATA 0x00000008
136 #define LINEBEARERMODE_ALTSPEECHDATA 0x00000010
137 #define LINEBEARERMODE_NONCALLSIGNALING 0x00000020
138 #define LINEBEARERMODE_PASSTHROUGH 0x00000040
140 #define LINEMEDIAMODE_UNKNOWN 0x00000002
141 #define LINEMEDIAMODE_INTERACTIVEVOICE 0x00000004
142 #define LINEMEDIAMODE_AUTOMATEDVOICE 0x00000008
143 #define LINEMEDIAMODE_DATAMODEM 0x00000010
145 #define LINEDEVCAPFLAGS_CROSSADDRCONF 0x00000001
146 #define LINEDEVCAPFLAGS_HIGHLEVCOMP 0x00000002
147 #define LINEDEVCAPFLAGS_LOWLEVCOMP 0x00000004
148 #define LINEDEVCAPFLAGS_MEDIACONTROL 0x00000008
149 #define LINEDEVCAPFLAGS_MULTIPLEADDR 0x00000010
150 #define LINEDEVCAPFLAGS_CLOSEDROP 0x00000020
151 #define LINEDEVCAPFLAGS_DIALBILLING 0x00000040
152 #define LINEDEVCAPFLAGS_DIALQUIET 0x00000080
153 #define LINEDEVCAPFLAGS_DIALDIALTONE 0x00000100
155 #define LINEDEVSTATE_OTHER 0x00000001
156 #define LINEDEVSTATE_RINGING 0x00000002
157 #define LINEDEVSTATE_CONNECTED 0x00000004
158 #define LINEDEVSTATE_DISCONNECTED 0x00000008
159 #define LINEDEVSTATE_MSGWAITON 0x00000010
160 #define LINEDEVSTATE_MSGWAITOFF 0x00000020
161 #define LINEDEVSTATE_INSERVICE 0x00000040
162 #define LINEDEVSTATE_OUTOFSERVICE 0x00000080
163 #define LINEDEVSTATE_MAINTENANCE 0x00000100
164 #define LINEDEVSTATE_OPEN 0x00000200
165 #define LINEDEVSTATE_CLOSE 0x00000400
166 #define LINEDEVSTATE_NUMCALLS 0x00000800
167 #define LINEDEVSTATE_NUMCOMPLETIONS 0x00001000
168 #define LINEDEVSTATE_TERMINALS 0x00002000
169 #define LINEDEVSTATE_ROAMMODE 0x00004000
170 #define LINEDEVSTATE_BATTERY 0x00008000
171 #define LINEDEVSTATE_SIGNAL 0x00010000
172 #define LINEDEVSTATE_DEVSPECIFIC 0x00020000
173 #define LINEDEVSTATE_REINIT 0x00040000
174 #define LINEDEVSTATE_LOCK 0x00080000
176 #define LINEDEVSTATE_CAPSCHANGE 0x00100000
177 #define LINEDEVSTATE_CONFIGCHANGE 0x00200000
178 #define LINEDEVSTATE_TRANSLATECHANGE 0x00400000
179 #define LINEDEVSTATE_COMPLCANCEL 0x00800000
180 #define LINEDEVSTATE_REMOVED 0x01000000
182 #define LINELOCATIONOPTION_PULSEDIAL 0x00000001
185 #define LINEFEATURE_DEVSPECIFIC 0x00000001
186 #define LINEFEATURE_DEVSPECIFICFEAT 0x00000002
187 #define LINEFEATURE_FORWARD 0x00000004
188 #define LINEFEATURE_MAKECALL 0x00000008
189 #define LINEFEATURE_SETMEDIACONTROL 0x00000010
190 #define LINEFEATURE_SETTERMINAL 0x00000020
191 #define LINEFEATURE_SETDEVSTATUS 0x00000040
192 #define LINEFEATURE_FORWARDFWD 0x00000080
193 #define LINEFEATURE_FORWARDDND 0x00000100
195 /* tapi callback messages */
197 #define LINE_ADDRESSSTATE __MSABI_LONG(0)
198 #define LINE_CALLINFO __MSABI_LONG(1)
199 #define LINE_CALLSTATE __MSABI_LONG(2)
200 #define LINE_CLOSE __MSABI_LONG(3)
201 #define LINE_DEVSPECIFIC __MSABI_LONG(4)
202 #define LINE_DEVSPECIFICFEATURE __MSABI_LONG(5)
203 #define LINE_GATHERDIGITS __MSABI_LONG(6)
204 #define LINE_GENERATE __MSABI_LONG(7)
205 #define LINE_LINEDEVSTATE __MSABI_LONG(8)
206 #define LINE_MONITORDIGITS __MSABI_LONG(9)
207 #define LINE_MONITORMEDIA __MSABI_LONG(10)
208 #define LINE_MONITORTONE __MSABI_LONG(11)
209 #define LINE_REPLY __MSABI_LONG(12)
210 #define LINE_REQUEST __MSABI_LONG(13)
211 #define PHONE_BUTTON __MSABI_LONG(14)
212 #define PHONE_CLOSE __MSABI_LONG(15)
213 #define PHONE_DEVSPECIFIC __MSABI_LONG(16)
214 #define PHONE_REPLY __MSABI_LONG(17)
215 #define PHONE_STATE __MSABI_LONG(18)
216 #define LINE_CREATE __MSABI_LONG(19)
217 #define PHONE_CREATE __MSABI_LONG(20)
219 #define LINE_AGENTSPECIFIC __MSABI_LONG(21)
220 #define LINE_AGENTSTATUS __MSABI_LONG(22)
221 #define LINE_APPNEWCALL __MSABI_LONG(23)
222 #define LINE_PROXYREQUEST __MSABI_LONG(24)
223 #define LINE_REMOVE __MSABI_LONG(25)
224 #define PHONE_REMOVE __MSABI_LONG(26)
225 /* these are used as Param1 of line_callstate messages */
226 #define LINECALLSTATE_IDLE 0x00000001
227 #define LINECALLSTATE_OFFERING 0x00000002
228 #define LINECALLSTATE_ACCEPTED 0x00000004
229 #define LINECALLSTATE_DIALTONE 0x00000008
230 #define LINECALLSTATE_DIALING 0x00000010
231 #define LINECALLSTATE_RINGBACK 0x00000020
232 #define LINECALLSTATE_BUSY 0x00000040
233 #define LINECALLSTATE_SPECIALINFO 0x00000080
234 #define LINECALLSTATE_CONNECTED 0x00000100
235 #define LINECALLSTATE_PROCEEDING 0x00000200
236 #define LINECALLSTATE_ONHOLD 0x00000400
237 #define LINECALLSTATE_CONFERENCED 0x00000800
238 #define LINECALLSTATE_ONHOLDPENDCONF 0x00001000
239 #define LINECALLSTATE_ONHOLDPENDTRANSFER 0x00002000
240 #define LINECALLSTATE_DISCONNECTED 0x00004000
241 #define LINECALLSTATE_UNKNOWN 0x00008000
242 #define LINECONNECTEDMODE_ACTIVE 0x00000001
243 #define LINECONNECTEDMODE_INACTIVE 0x00000002
244 #define LINECONNECTEDMODE_ACTIVEHELD 0x00000004
245 #define LINECONNECTEDMODE_INACTIVEHELD 0x00000008
246 #define LINECONNECTEDMODE_CONFIRMED 0x00000010
248 /* these are Param2 values for state_disconnected line_callstate messages */
249 #define LINEDISCONNECTMODE_NORMAL 0x00000001
250 #define LINEDISCONNECTMODE_UNKNOWN 0x00000002
251 #define LINEDISCONNECTMODE_REJECT 0x00000004
252 #define LINEDISCONNECTMODE_PICKUP 0x00000008
253 #define LINEDISCONNECTMODE_FORWARDED 0x00000010
254 #define LINEDISCONNECTMODE_BUSY 0x00000020
255 #define LINEDISCONNECTMODE_NOANSWER 0x00000040
256 #define LINEDISCONNECTMODE_BADADDRESS 0x00000080
257 #define LINEDISCONNECTMODE_UNREACHABLE 0x00000100
258 #define LINEDISCONNECTMODE_CONGESTION 0x00000200
259 #define LINEDISCONNECTMODE_INCOMPATIBLE 0x00000400
260 #define LINEDISCONNECTMODE_UNAVAIL 0x00000800
261 #define LINEDISCONNECTMODE_NODIALTONE 0x00001000
262 #define LINEDISCONNECTMODE_NUMBERCHANGED 0x00002000
263 #define LINEDISCONNECTMODE_OUTOFORDER 0x00004000
264 #define LINEDISCONNECTMODE_TEMPFAILURE 0x00008000
265 #define LINEDISCONNECTMODE_QOSUNAVAIL 0x00010000
266 #define LINEDISCONNECTMODE_BLOCKED 0x00020000
267 #define LINEDISCONNECTMODE_DONOTDISTURB 0x00040000
268 #define LINEDISCONNECTMODE_CANCELLED 0x00080000
270 #define LINECALLSELECT_LINE 0x00000001
271 #define LINECALLSELECT_ADDRESS 0x00000002
272 #define LINECALLSELECT_CALL 0x00000004
273 #define LINECALLSELECT_DEVICEID 0x00000008
275 #define LINECALLPRIVILEGE_NONE 0x00000001
276 #define LINECALLPRIVILEGE_MONITOR 0x00000002
277 #define LINECALLPRIVILEGE_OWNER 0x00000004
278 #define LINECALLFEATURE_ACCEPT 0x00000001
279 #define LINECALLFEATURE_ADDTOCONF 0x00000002
280 #define LINECALLFEATURE_ANSWER 0x00000004
281 #define LINECALLFEATURE_BLINDTRANSFER 0x00000008
282 #define LINECALLFEATURE_COMPLETECALL 0x00000010
283 #define LINECALLFEATURE_COMPLETETRANSF 0x00000020
284 #define LINECALLFEATURE_DIAL 0x00000040
285 #define LINECALLFEATURE_DROP 0x00000080
286 #define LINECALLFEATURE_GATHERDIGITS 0x00000100
287 #define LINECALLFEATURE_GENERATEDIGITS 0x00000200
288 #define LINECALLFEATURE_GENERATETONE 0x00000400
289 #define LINECALLFEATURE_HOLD 0x00000800
290 #define LINECALLFEATURE_MONITORDIGITS 0x00001000
291 #define LINECALLFEATURE_MONITORMEDIA 0x00002000
292 #define LINECALLFEATURE_MONITORTONES 0x00004000
293 #define LINECALLFEATURE_PARK 0x00008000
294 #define LINECALLFEATURE_PREPAREADDCONF 0x00010000
295 #define LINECALLFEATURE_REDIRECT 0x00020000
296 #define LINECALLFEATURE_REMOVEFROMCONF 0x00040000
297 #define LINECALLFEATURE_SECURECALL 0x00080000
298 #define LINECALLFEATURE_SENDUSERUSER 0x00100000
299 #define LINECALLFEATURE_SETCALLPARAMS 0x00200000
300 #define LINECALLFEATURE_SETMEDIACONTROL 0x00400000
301 #define LINECALLFEATURE_SETTERMINAL 0x00800000
302 #define LINECALLFEATURE_SETUPCONF 0x01000000
303 #define LINECALLFEATURE_SETUPTRANSFER 0x02000000
304 #define LINECALLFEATURE_SWAPHOLD 0x04000000
305 #define LINECALLFEATURE_UNHOLD 0x08000000
306 #define LINECALLFEATURE_RELEASEUSERUSERINFO 0x10000000
308 #define LINEINITIALIZEEXOPTION_USEHIDDENWINDOW 0x00000001
309 #define LINEINITIALIZEEXOPTION_USEEVENT 0x00000002
310 #define LINEINITIALIZEEXOPTION_USECOMPLETIONPORT 0x00000003
311 #define LINEINITIALIZEEXOPTION_CALLHUBTRACKING 0x80000000
313 typedef struct lineaddresscaps_tag {
314 DWORD dwTotalSize;
315 DWORD dwNeededSize;
316 DWORD dwUsedSize;
317 DWORD dwLineDeviceID;
318 DWORD dwAddressSize;
319 DWORD dwAddressOffset;
320 DWORD dwDevSpecificSize;
321 DWORD dwDevSpecificOffset;
322 DWORD dwAddressSharing;
323 DWORD dwAddressStates;
324 DWORD dwCallInfoStates;
325 DWORD dwCallerIDFlags;
326 DWORD dwCalledIDFlags;
327 DWORD dwConnectedIDFlags;
328 DWORD dwRedirectionIDFlags;
329 DWORD dwRedirectingIDFlags;
330 DWORD dwCallStates;
331 DWORD dwDialToneModes;
332 DWORD dwBusyModes;
333 DWORD dwSpecialInfo;
334 DWORD dwDisconnectModes;
335 DWORD dwMaxNumActiveCalls;
336 DWORD dwMaxNumOnHoldCalls;
337 DWORD dwMaxNumOnHoldPendingCalls;
338 DWORD dwMaxNumConference;
339 DWORD dwMaxNumTransConf;
340 DWORD dwAddrCapFlags;
341 DWORD dwCallFeatures;
342 DWORD dwRemoveFromConfCaps;
343 DWORD dwRemoveFromConfState;
344 DWORD dwTransferModes;
345 DWORD dwParkModes;
346 DWORD dwForwardModes;
347 DWORD dwMaxForwardEntries;
348 DWORD dwMaxSpecificEntries;
349 DWORD dwMinFwdNumRings;
350 DWORD dwMaxFwdNumRings;
351 DWORD dwMaxCallCompletions;
352 DWORD dwCallCompletionConds;
353 DWORD dwCallCompletionModes;
354 DWORD dwNumCompletionMessages;
355 DWORD dwCompletionMsgTextEntrySize;
356 DWORD dwCompletionMsgTextSize;
357 DWORD dwCompletionMsgTextOffset;
358 DWORD dwAddressFeatures;
359 } LINEADDRESSCAPS, *LPLINEADDRESSCAPS;
361 typedef struct lineaddressstatus_tag {
362 DWORD dwTotalSize;
363 DWORD dwNeededSize;
364 DWORD dwUsedSize;
365 DWORD dwNumInUse;
366 DWORD dwNumActiveCalls;
367 DWORD dwNumOnHoldCalls;
368 DWORD dwNumOnHoldPendCalls;
369 DWORD dwAddressFeatures;
370 DWORD dwNumRingsNoAnswer;
371 DWORD dwForwardNumEntries;
372 DWORD dwForwardSize;
373 DWORD dwForwardOffset;
374 DWORD dwTerminalModesSize;
375 DWORD dwTerminalModesOffset;
376 DWORD dwDevSpecificSize;
377 DWORD dwDevSpecificOffset;
378 } LINEADDRESSSTATUS, *LPLINEADDRESSSTATUS;
380 typedef struct linedialparams_tag {
381 DWORD dwDialPause;
382 DWORD dwDialSpeed;
383 DWORD dwDigitDuration;
384 DWORD dwWaitForDialtone;
385 } LINEDIALPARAMS, *LPLINEDIALPARAMS;
387 typedef struct linecallinfo_tag {
388 DWORD dwTotalSize;
389 DWORD dwNeededSize;
390 DWORD dwUsedSize;
391 HLINE hLine;
392 DWORD dwLineDeviceID;
393 DWORD dwAddressID;
394 DWORD dwBearerMode;
395 DWORD dwRate;
396 DWORD dwMediaMode;
397 DWORD dwAppSpecific;
398 DWORD dwCallID;
399 DWORD dwRelatedCallID;
400 DWORD dwCallParamFlags;
401 DWORD dwCallStates;
402 DWORD dwMonitorDigitModes;
403 DWORD dwMonitorMediaModes;
404 LINEDIALPARAMS DialParams;
405 DWORD dwOrigin;
406 DWORD dwReason;
407 DWORD dwCompletionID;
408 DWORD dwNumOwners;
409 DWORD dwNumMonitors;
410 DWORD dwCountryCode;
411 DWORD dwTrunk;
412 DWORD dwCallerIDFlags;
413 DWORD dwCallerIDSize;
414 DWORD dwCallerIDOffset;
415 DWORD dwCallerIDNameSize;
416 DWORD dwCallerIDNameOffset;
417 DWORD dwCalledIDFlags;
418 DWORD dwCalledIDSize;
419 DWORD dwCalledIDOffset;
420 DWORD dwCalledIDNameSize;
421 DWORD dwCalledIDNameOffset;
422 DWORD dwConnectedIDFlags;
423 DWORD dwConnectedIDSize;
424 DWORD dwConnectedIDOffset;
425 DWORD dwConnectedIDNameSize;
426 DWORD dwConnectedIDNameOffset;
427 DWORD dwRedirectionIDFlags;
428 DWORD dwRedirectionIDSize;
429 DWORD dwRedirectionIDOffset;
430 DWORD dwRedirectionIDNameSize;
431 DWORD dwRedirectionIDNameOffset;
432 DWORD dwRedirectingIDFlags;
433 DWORD dwRedirectingIDSize;
434 DWORD dwRedirectingIDOffset;
435 DWORD dwRedirectingIDNameSize;
436 DWORD dwRedirectingIDNameOffset;
437 DWORD dwAppNameSize;
438 DWORD dwAppNameOffset;
439 DWORD dwDisplayableAddressSize;
440 DWORD dwDisplayableAddressOffset;
441 DWORD dwCalledPartySize;
442 DWORD dwCalledPartyOffset;
443 DWORD dwCommentSize;
444 DWORD dwCommentOffset;
445 DWORD dwDisplaySize;
446 DWORD dwDisplayOffset;
447 DWORD dwUserUserInfoSize;
448 DWORD dwUserUserInfoOffset;
449 DWORD dwHighLevelCompSize;
450 DWORD dwHighLevelCompOffset;
451 DWORD dwLowLevelCompSize;
452 DWORD dwLowLevelCompOffset;
453 DWORD dwChargingInfoSize;
454 DWORD dwChargingInfoOffset;
455 DWORD dwTerminalModesSize;
456 DWORD dwTerminalModesOffset;
457 DWORD dwDevSpecificSize;
458 DWORD dwDevSpecificOffset;
459 } LINECALLINFO, *LPLINECALLINFO;
461 typedef struct linecalllist_tag {
462 DWORD dwTotalSize;
463 DWORD dwNeededSize;
464 DWORD dwUsedSize;
465 DWORD dwCallsNumEntries;
466 DWORD dwCallsSize;
467 DWORD dwCallsOffset;
468 } LINECALLLIST, *LPLINECALLLIST;
470 typedef struct linecallparams_tag {
471 DWORD dwTotalSize;
472 DWORD dwBearerMode;
473 DWORD dwMinRate;
474 DWORD dwMaxRate;
475 DWORD dwMediaMode;
476 DWORD dwCallParamFlags;
477 DWORD dwAddressMode;
478 DWORD dwAddressID;
479 LINEDIALPARAMS DialParams;
480 DWORD dwOrigAddressSize;
481 DWORD dwOrigAddressOffset;
482 DWORD dwDisplayableAddressSize;
483 DWORD dwDisplayableAddressOffset;
484 DWORD dwCalledPartySize;
485 DWORD dwCalledPartyOffset;
486 DWORD dwCommentSize;
487 DWORD dwCommentOffset;
488 DWORD dwUserUserInfoSize;
489 DWORD dwUserUserInfoOffset;
490 DWORD dwHighLevelCompSize;
491 DWORD dwHighLevelCompOffset;
492 DWORD dwLowLevelCompSize;
493 DWORD dwLowLevelCompOffset;
494 DWORD dwDevSpecificSize;
495 DWORD dwDevSpecificOffset;
496 } LINECALLPARAMS, *LPLINECALLPARAMS;
498 typedef struct linecallstatus_tag {
499 DWORD dwTotalSize;
500 DWORD dwNeededSize;
501 DWORD dwUsedSize;
502 DWORD dwCallState;
503 DWORD dwCallStateMode;
504 DWORD dwCallPrivilege;
505 DWORD dwCallFeatures;
506 DWORD dwDevSpecificSize;
507 DWORD dwDevSpecificOffset;
508 } LINECALLSTATUS, *LPLINECALLSTATUS;
510 typedef struct linecountrylist_tag {
511 DWORD dwTotalSize;
512 DWORD dwNeededSize;
513 DWORD dwUsedSize;
514 DWORD dwNumCountries;
515 DWORD dwCountryListSize;
516 DWORD dwCountryListOffset;
517 } LINECOUNTRYLIST, *LPLINECOUNTRYLIST;
519 typedef struct linecountryentry_tag {
520 DWORD dwCountryID;
521 DWORD dwCountryCode;
522 DWORD dwNextCountryID;
523 DWORD dwCountryNameSize;
524 DWORD dwCountryNameOffset;
525 DWORD dwSameAreaRuleSize;
526 DWORD dwSameAreaRuleOffset;
527 DWORD dwLongDistanceRuleSize;
528 DWORD dwLongDistanceRuleOffset;
529 DWORD dwInternationalRuleSize;
530 DWORD dwInternationalRuleOffset;
531 } LINECOUNTRYENTRY, *LPLINECOUNTRYENTRY;
533 typedef struct linedevcaps_tag {
534 DWORD dwTotalSize;
535 DWORD dwNeededSize;
536 DWORD dwUsedSize;
537 DWORD dwProviderInfoSize;
538 DWORD dwProviderInfoOffset;
539 DWORD dwSwitchInfoSize;
540 DWORD dwSwitchInfoOffset;
541 DWORD dwPermanentLineID;
542 DWORD dwLineNameSize;
543 DWORD dwLineNameOffset;
544 DWORD dwStringFormat;
545 DWORD dwAddressModes;
546 DWORD dwNumAddresses;
547 DWORD dwBearerModes;
548 DWORD dwMaxRate;
549 DWORD dwMediaModes;
550 DWORD dwGenerateToneModes;
551 DWORD dwGenerateToneMaxNumFreq;
552 DWORD dwGenerateDigitModes;
553 DWORD dwMonitorToneMaxNumFreq;
554 DWORD dwMonitorToneMaxNumEntries;
555 DWORD dwMonitorDigitModes;
556 DWORD dwGatherDigitsMinTimeout;
557 DWORD dwGatherDigitsMaxTimeout;
558 DWORD dwMedCtlDigitMaxListSize;
559 DWORD dwMedCtlMediaMaxListSize;
560 DWORD dwMedCtlToneMaxListSize;
561 DWORD dwMedCtlCallStateMaxListSize;
562 DWORD dwDevCapFlags;
563 DWORD dwMaxNumActiveCalls;
564 DWORD dwAnswerMode;
565 DWORD dwRingModes;
566 DWORD dwLineStates;
567 DWORD dwUUIAcceptSize;
568 DWORD dwUUIAnswerSize;
569 DWORD dwUUIMakeCallSize;
570 DWORD dwUUIDropSize;
571 DWORD dwUUISendUserUserInfoSize;
572 DWORD dwUUICallInfoSize;
573 LINEDIALPARAMS MinDialParams;
574 LINEDIALPARAMS MaxDialParams;
575 LINEDIALPARAMS DefaultDialParams;
576 DWORD dwNumTerminals;
577 DWORD dwTerminalCapsSize;
578 DWORD dwTerminalCapsOffset;
579 DWORD dwTerminalTextEntrySize;
580 DWORD dwTerminalTextSize;
581 DWORD dwTerminalTextOffset;
582 DWORD dwDevSpecificSize;
583 DWORD dwDevSpecificOffset;
584 DWORD dwLineFeatures;
585 } LINEDEVCAPS, *LPLINEDEVCAPS;
587 typedef struct linedevstatus_tag {
588 DWORD dwTotalSize;
589 DWORD dwNeededSize;
590 DWORD dwUsedSize;
591 DWORD dwNumOpens;
592 DWORD dwOpenMediaModes;
593 DWORD dwNumActiveCalls;
594 DWORD dwNumOnHoldCalls;
595 DWORD dwNumOnHoldPendCalls;
596 DWORD dwLineFeatures;
597 DWORD dwNumCallCompletions;
598 DWORD dwRingMode;
599 DWORD dwSignalLevel;
600 DWORD dwBatteryLevel;
601 DWORD dwRoamMode;
602 DWORD dwDevStatusFlags;
603 DWORD dwTerminalModesSize;
604 DWORD dwTerminalModesOffset;
605 DWORD dwDevSpecificSize;
606 DWORD dwDevSpecificOffset;
607 } LINEDEVSTATUS, *LPLINEDEVSTATUS;
609 typedef struct lineextensionid_tag {
610 DWORD dwExtensionID0;
611 DWORD dwExtensionID1;
612 DWORD dwExtensionID2;
613 DWORD dwExtensionID3;
614 } LINEEXTENSIONID, *LPLINEEXTENSIONID;
616 typedef struct lineforward_tag {
617 DWORD dwForwardMode;
618 DWORD dwCallerAddressSize;
619 DWORD dwCallerAddressOffset;
620 DWORD dwDestCountryCode;
621 DWORD dwDestAddressSize;
622 DWORD dwDestAddressOffset;
623 } LINEFORWARD, *LPLINEFORWARD;
625 typedef struct lineforwardlist_tag {
626 DWORD dwTotalSize;
627 DWORD dwNumEntries;
628 LINEFORWARD ForwardList[1];
629 } LINEFORWARDLIST, *LPLINEFORWARDLIST;
631 typedef struct linegeneratetone_tag {
632 DWORD dwFrequency;
633 DWORD dwCadenceOn;
634 DWORD dwCadenceOff;
635 DWORD dwVolume;
636 } LINEGENERATETONE, *LPLINEGENERATETONE;
638 typedef struct lineinitializeexparams_tag {
639 DWORD dwTotalSize;
640 DWORD dwNeededSize;
641 DWORD dwUsedSize;
642 DWORD dwOptions;
643 union {
644 HANDLE hEvent;
645 HANDLE hCompletionPort;
646 } Handles;
647 DWORD dwCompletionKey;
648 } LINEINITIALIZEEXPARAMS, *LPLINEINITIALIZEEXPARAMS;
650 typedef struct linemediacontrolcallstate_tag {
651 DWORD dwCallStates;
652 DWORD dwMediaControl;
653 } LINEMEDIACONTROLCALLSTATE, *LPLINEMEDIACONTROLCALLSTATE;
655 typedef struct linemediacontroldigit_tag {
656 DWORD dwDigit;
657 DWORD dwDigitModes;
658 DWORD dwMediaControl;
659 } LINEMEDIACONTROLDIGIT, *LPLINEMEDIACONTROLDIGIT;
661 typedef struct linemediacontrolmedia_tag {
662 DWORD dwMediaModes;
663 DWORD dwDuration;
664 DWORD dwMediaControl;
665 } LINEMEDIACONTROLMEDIA, *LPLINEMEDIACONTROLMEDIA;
667 typedef struct linemediacontroltone_tag {
668 DWORD dwAppSpecific;
669 DWORD dwDuration;
670 DWORD dwFrequency1;
671 DWORD dwFrequency2;
672 DWORD dwFrequency3;
673 DWORD dwMediaControl;
674 } LINEMEDIACONTROLTONE, *LPLINEMEDIACONTROLTONE;
676 typedef struct linemonitortone_tag {
677 DWORD dwAppSpecific;
678 DWORD dwDuration;
679 DWORD dwFrequency1;
680 DWORD dwFrequency2;
681 DWORD dwFrequency3;
682 } LINEMONITORTONE, *LPLINEMONITORTONE;
684 typedef struct lineproviderlist_tag {
685 DWORD dwTotalSize;
686 DWORD dwNeededSize;
687 DWORD dwUsedSize;
688 DWORD dwNumProviders;
689 DWORD dwProviderListSize;
690 DWORD dwProviderListOffset;
691 } LINEPROVIDERLIST, *LPLINEPROVIDERLIST;
693 typedef struct linetranslatecaps_tag {
694 DWORD dwTotalSize;
695 DWORD dwNeededSize;
696 DWORD dwUsedSize;
697 DWORD dwNumLocations;
698 DWORD dwLocationListSize;
699 DWORD dwLocationListOffset;
700 DWORD dwCurrentLocationID;
701 DWORD dwNumCards;
702 DWORD dwCardListSize;
703 DWORD dwCardListOffset;
704 DWORD dwCurrentPreferredCardID;
705 } LINETRANSLATECAPS, *LPLINETRANSLATECAPS;
707 typedef struct linelocationentry_tag {
708 DWORD dwPermanentLocationID;
709 DWORD dwLocationNameSize;
710 DWORD dwLocationNameOffset;
711 DWORD dwCountryCode;
712 DWORD dwCityCodeSize;
713 DWORD dwCityCodeOffset;
714 DWORD dwPreferredCardID;
715 DWORD dwLocalAccessCodeSize;
716 DWORD dwLocalAccessCodeOffset;
717 DWORD dwLongDistanceAccessCodeSize;
718 DWORD dwLongDistanceAccessCodeOffset;
719 DWORD dwTollPrefixListSize;
720 DWORD dwTollPrefixListOffset;
721 DWORD dwCountryID;
722 DWORD dwOptions;
723 DWORD dwCancelCallWaitingSize;
724 DWORD dwCancelCallWaitingOffset;
725 } LINELOCATIONENTRY, *LPLINELOCATIONENTRY;
727 typedef struct linecardentry_tag {
728 DWORD dwPermanentCardID;
729 DWORD dwCardNameSize;
730 DWORD dwCardNameOffset;
731 DWORD dwCardNumberDigits;
732 DWORD dwSameAreaRuleSize;
733 DWORD dwSameAreaRuleOffset;
734 DWORD dwLongDistanceRuleSize;
735 DWORD dwLongDistanceRuleOffset;
736 DWORD dwInternationalRuleSize;
737 DWORD dwInternationalRuleOffset;
738 DWORD dwOptions;
739 } LINECARDENTRY, *LPLINECARDENTRY;
742 typedef struct linetranslateoutput_tag {
743 DWORD dwTotalSize;
744 DWORD dwNeededSize;
745 DWORD dwUsedSize;
746 DWORD dwDialableStringSize;
747 DWORD dwDialableStringOffset;
748 DWORD dwDisplayableStringSize;
749 DWORD dwDisplayableStringOffset;
750 DWORD dwCurrentCountry;
751 DWORD dwDestCountry;
752 DWORD dwTranslateResults;
753 } LINETRANSLATEOUTPUT, *LPLINETRANSLATEOUTPUT;
755 typedef struct linemessage_tag {
756 DWORD hDevice;
757 DWORD dwMessageID;
758 DWORD_PTR dwCallbackInstance;
759 DWORD_PTR dwParam1;
760 DWORD_PTR dwParam2;
761 DWORD_PTR dwParam3;
762 } LINEMESSAGE, *LPLINEMESSAGE;
764 typedef void (CALLBACK *LINECALLBACK)(DWORD, DWORD, DWORD, DWORD, DWORD, DWORD);
766 typedef struct _PHONEAPP {
767 int dummy;
768 } PHONEAPP, *LPPHONEAPP;
770 typedef struct _PHONE {
771 DWORD dwRingMode;
772 DWORD dwVolume;
773 } PHONE, *LPPHONE;
775 typedef struct phonebuttoninfo_tag {
776 DWORD dwTotalSize;
777 DWORD dwNeededSize;
778 DWORD dwUsedSize;
779 DWORD dwButtonMode;
780 DWORD dwButtonFunction;
781 DWORD dwButtonTextSize;
782 DWORD dwButtonTextOffset;
783 DWORD dwDevSpecificSize;
784 DWORD dwDevSpecificOffset;
785 DWORD dwButtonState;
786 } PHONEBUTTONINFO, *LPPHONEBUTTONINFO;
788 typedef struct phonecaps_tag {
789 DWORD dwTotalSize;
790 DWORD dwNeededSize;
791 DWORD dwUsedSize;
792 DWORD dwProviderInfoSize;
793 DWORD dwProviderInfoOffset;
794 DWORD dwPhoneInfoSize;
795 DWORD dwPhoneInfoOffset;
796 DWORD dwPermanentPhoneID;
797 DWORD dwPhoneNameSize;
798 DWORD dwPhoneNameOffset;
799 DWORD dwStringFormat;
800 DWORD dwPhoneStates;
801 DWORD dwHookSwitchDevs;
802 DWORD dwHandsetHookSwitchModes;
803 DWORD dwSpeakerHookSwitchModes;
804 DWORD dwHeadsetHookSwitchModes;
805 DWORD dwVolumeFlags;
806 DWORD dwGainFlags;
807 DWORD dwDisplayNumRows;
808 DWORD dwDisplayNumColumns;
809 DWORD dwNumRingModes;
810 DWORD dwNumButtonLamps;
811 DWORD dwButtonModesSize;
812 DWORD dwButtonModesOffset;
813 DWORD dwButtonFunctionsSize;
814 DWORD dwButtonFunctionsOffset;
815 DWORD dwLampModesSize;
816 DWORD dwLampModesOffset;
817 DWORD dwNumSetData;
818 DWORD dwSetDataSize;
819 DWORD dwSetDataOffset;
820 DWORD dwNumGetData;
821 DWORD dwGetDataSize;
822 DWORD dwGetDataOffset;
823 DWORD dwDevSpecificSize;
824 DWORD dwDevSpecificOffset;
825 } PHONECAPS, *LPPHONECAPS;
827 typedef struct phoneextensionid_tag {
828 DWORD dwExtensionID0;
829 DWORD dwExtensionID1;
830 DWORD dwExtensionID2;
831 DWORD dwExtensionID3;
832 } PHONEEXTENSIONID, *LPPHONEEXTENSIONID;
834 typedef struct phoneinitializeexparams_tag {
835 DWORD dwTotalSize;
836 DWORD dwNeededSize;
837 DWORD dwUsedSize;
838 DWORD dwOptions;
839 union {
840 HANDLE hEvent;
841 HANDLE hCompletionPort;
842 } Handles;
843 DWORD dwCompletionKey;
844 } PHONEINITIALIZEEXPARAMS, *LPPHONEINITIALIZEEXPARAMS;
846 typedef struct phonemessage_tag {
847 DWORD hDevice;
848 DWORD dwMessageID;
849 DWORD_PTR dwCallbackInstance;
850 DWORD_PTR dwParam1;
851 DWORD_PTR dwParam2;
852 DWORD_PTR dwParam3;
853 } PHONEMESSAGE, *LPPHONEMESSAGE;
855 typedef struct phonestatus_tag {
856 DWORD dwTotalSize;
857 DWORD dwNeededSize;
858 DWORD dwUsedSize;
859 DWORD dwStatusFlags;
860 DWORD dwNumOwners;
861 DWORD dwRingMOde;
862 DWORD dwRingVolume;
863 DWORD dwHandsetHookSwitchMode;
864 DWORD dwHandsetVolume;
865 DWORD dwHandsetGain;
866 DWORD dwSpeakerHookSwitchMode;
867 DWORD dwSpeakerVolume;
868 DWORD dwSpeakerGain;
869 DWORD dwHeadsetHookSwitchMode;
870 DWORD dwHeadsetVolume;
871 DWORD dwHeadsetGain;
872 DWORD dwDisplaySize;
873 DWORD dwDisplayOffset;
874 DWORD dwLampModesSize;
875 DWORD dwLampModesOffset;
876 DWORD dwOwnerNameSize;
877 DWORD dwOwnerNameOffset;
878 DWORD dwDevSpecificSize;
879 DWORD dwDevSpecificOffset;
880 } PHONESTATUS, *LPPHONESTATUS;
882 typedef void (CALLBACK *PHONECALLBACK)(HANDLE, DWORD, DWORD, DWORD, DWORD, DWORD);
884 typedef struct varstring_tag {
885 DWORD dwTotalSize;
886 DWORD dwNeededSize;
887 DWORD dwUsedSize;
888 DWORD dwStringFormat;
889 DWORD dwStringSize;
890 DWORD dwStringOffset;
891 } VARSTRING, *LPVARSTRING;
893 /* line functions */
894 DWORD WINAPI lineAccept(HCALL,LPCSTR,DWORD);
895 DWORD WINAPI lineAddProviderA(LPCSTR,HWND,LPDWORD);
896 DWORD WINAPI lineAddProviderW(LPCWSTR,HWND,LPDWORD);
897 #define lineAddProvider WINELIB_NAME_AW(lineAddProvider)
898 DWORD WINAPI lineAddToConference(HCALL,HCALL);
899 DWORD WINAPI lineAnswer(HCALL,LPCSTR,DWORD);
900 DWORD WINAPI lineBlindTransfer(HCALL,LPCSTR,DWORD);
901 DWORD WINAPI lineClose(HLINE);
902 DWORD WINAPI lineCompleteCall(HCALL,LPDWORD,DWORD,DWORD);
903 DWORD WINAPI lineCompleteTransfer(HCALL,HCALL,LPHCALL,DWORD);
904 DWORD WINAPI lineConfigDialog(DWORD,HWND,LPCSTR);
905 DWORD WINAPI lineConfigDialogEdit(DWORD,HWND,LPCSTR,LPVOID const,DWORD,LPVARSTRING);
906 DWORD WINAPI lineConfigProvider(HWND,DWORD);
907 DWORD WINAPI lineDeallocateCall(HCALL);
908 DWORD WINAPI lineDevSpecific(HLINE,DWORD,HCALL,LPVOID,DWORD);
909 DWORD WINAPI lineDevSpecificFeature(HLINE,DWORD,LPVOID,DWORD);
910 DWORD WINAPI lineDial(HCALL,LPCSTR,DWORD);
911 DWORD WINAPI lineDrop(HCALL,LPCSTR,DWORD);
912 DWORD WINAPI lineForward(HLINE,DWORD,DWORD,LPLINEFORWARDLIST,DWORD,LPHCALL,LPLINECALLPARAMS);
913 DWORD WINAPI lineGatherDigits(HCALL,DWORD,LPSTR,DWORD,LPCSTR,DWORD,DWORD);
914 DWORD WINAPI lineGenerateDigits(HCALL,DWORD,LPCSTR,DWORD);
915 DWORD WINAPI lineGenerateTone(HCALL,DWORD,DWORD,DWORD,LPLINEGENERATETONE);
916 DWORD WINAPI lineGetAddressCaps(HLINEAPP,DWORD,DWORD,DWORD,DWORD,LPLINEADDRESSCAPS);
917 DWORD WINAPI lineGetAddressID(HLINE,LPDWORD,DWORD,LPCSTR,DWORD);
918 DWORD WINAPI lineGetAddressStatus(HLINE,DWORD,LPLINEADDRESSSTATUS);
919 DWORD WINAPI lineGetAppPriority(LPCSTR,DWORD,LPLINEEXTENSIONID const,DWORD,LPVARSTRING,LPDWORD);
920 DWORD WINAPI lineGetCallInfo(HCALL,LPLINECALLINFO);
921 DWORD WINAPI lineGetCallStatus(HCALL,LPLINECALLSTATUS);
922 DWORD WINAPI lineGetConfRelatedCalls(HCALL,LPLINECALLLIST);
923 DWORD WINAPI lineGetCountry(DWORD,DWORD,LPLINECOUNTRYLIST);
924 DWORD WINAPI lineGetDevCapsA(HLINEAPP,DWORD,DWORD,DWORD,LPLINEDEVCAPS);
925 DWORD WINAPI lineGetDevCapsW(HLINEAPP,DWORD,DWORD,DWORD,LPLINEDEVCAPS);
926 #define lineGetDevCaps WINELIB_NAME_AW(lineGetDevCaps)
927 DWORD WINAPI lineGetDevConfig(DWORD,LPVARSTRING,LPCSTR);
928 DWORD WINAPI lineGetIDA(HLINE,DWORD,HCALL,DWORD,LPVARSTRING,LPCSTR);
929 DWORD WINAPI lineGetIDW(HLINE,DWORD,HCALL,DWORD,LPVARSTRING,LPCWSTR);
930 #define lineGetID WINELIB_NAME_AW(lineGetID)
931 DWORD WINAPI lineGetIcon(DWORD,LPCSTR,HICON *);
932 DWORD WINAPI lineGetLineDevStatus(HLINE,LPLINEDEVSTATUS);
933 DWORD WINAPI lineGetNewCalls(HLINE,DWORD,DWORD,LPLINECALLLIST);
934 DWORD WINAPI lineGetNumRings(HLINE,DWORD,LPDWORD);
935 DWORD WINAPI lineGetProviderListA(DWORD,LPLINEPROVIDERLIST);
936 DWORD WINAPI lineGetProviderListW(DWORD,LPLINEPROVIDERLIST);
937 #define lineGetProviderList WINELIB_NAME_AW(lineGetProviderList)
938 DWORD WINAPI lineGetRequest(HLINEAPP,DWORD,LPVOID);
939 DWORD WINAPI lineGetStatusMessages(HLINE,LPDWORD,LPDWORD);
940 DWORD WINAPI lineGetTranslateCaps(HLINEAPP,DWORD,LPLINETRANSLATECAPS);
941 DWORD WINAPI lineHandoff(HCALL,LPCSTR,DWORD);
942 DWORD WINAPI lineHold(HCALL);
943 DWORD WINAPI lineInitialize(LPHLINEAPP,HINSTANCE,LINECALLBACK,LPCSTR,LPDWORD);
944 LONG WINAPI lineInitializeExA(LPHLINEAPP,HINSTANCE,LINECALLBACK,LPCSTR,LPDWORD,LPDWORD,LPLINEINITIALIZEEXPARAMS);
945 LONG WINAPI lineInitializeExW(LPHLINEAPP,HINSTANCE,LINECALLBACK,LPCWSTR,LPDWORD,LPDWORD,LPLINEINITIALIZEEXPARAMS);
946 #define lineInitializeEx WINELIB_NAME_AW(lineInitializeEx)
947 DWORD WINAPI lineMakeCallA(HLINE,LPHCALL,LPCSTR,DWORD,LPLINECALLPARAMS);
948 DWORD WINAPI lineMakeCallW(HLINE,LPHCALL,LPCWSTR,DWORD,LPLINECALLPARAMS);
949 #define lineMakeCall WINELIB_NAME_AW(lineMakeCall)
950 DWORD WINAPI lineMonitorDigits(HCALL,DWORD);
951 DWORD WINAPI lineMonitorMedia(HCALL,DWORD);
952 DWORD WINAPI lineMonitorTones(HCALL,LPLINEMONITORTONE,DWORD);
953 DWORD WINAPI lineNegotiateAPIVersion(HLINEAPP,DWORD,DWORD,DWORD,LPDWORD,LPLINEEXTENSIONID);
954 DWORD WINAPI lineNegotiateExtVersion(HLINEAPP,DWORD,DWORD,DWORD,DWORD,LPDWORD);
955 DWORD WINAPI lineOpen(HLINEAPP,DWORD,LPHLINE,DWORD,DWORD,DWORD,DWORD,DWORD,LPLINECALLPARAMS);
956 DWORD WINAPI linePark(HCALL,DWORD,LPCSTR,LPVARSTRING);
957 DWORD WINAPI linePickup(HLINE,DWORD,LPHCALL,LPCSTR,LPCSTR);
958 DWORD WINAPI linePrepareAddToConference(HCALL,LPHCALL,LPLINECALLPARAMS);
959 DWORD WINAPI lineRedirect(HCALL,LPCSTR,DWORD);
960 DWORD WINAPI lineRegisterRequestRecipient(HLINEAPP,DWORD,DWORD,DWORD);
961 DWORD WINAPI lineReleaseUserUserInfo(HCALL);
962 DWORD WINAPI lineRemoveFromConference(HCALL);
963 DWORD WINAPI lineRemoveProvider(DWORD,HWND);
964 DWORD WINAPI lineSecureCall(HCALL);
965 DWORD WINAPI lineSendUserUserInfo(HCALL,LPCSTR,DWORD);
966 DWORD WINAPI lineSetAppPriority(LPCSTR,DWORD,LPLINEEXTENSIONID const,DWORD,LPCSTR,DWORD);
967 DWORD WINAPI lineSetAppSpecific(HCALL,DWORD);
968 DWORD WINAPI lineSetCallParams(HCALL,DWORD,DWORD,DWORD,LPLINEDIALPARAMS);
969 DWORD WINAPI lineSetCallPrivilege(HCALL,DWORD);
970 DWORD WINAPI lineSetCurrentLocation(HLINEAPP,DWORD);
971 DWORD WINAPI lineSetDevConfig(DWORD,LPVOID,DWORD,LPCSTR);
972 DWORD WINAPI lineSetMediaControl(HLINE,DWORD,HCALL,DWORD,LPLINEMEDIACONTROLDIGIT,DWORD,LPLINEMEDIACONTROLMEDIA,DWORD,LPLINEMEDIACONTROLTONE,DWORD,LPLINEMEDIACONTROLCALLSTATE,DWORD);
973 DWORD WINAPI lineSetMediaMode(HCALL,DWORD);
974 DWORD WINAPI lineSetNumRings(HLINE,DWORD,DWORD);
975 DWORD WINAPI lineSetStatusMessages(HLINE,DWORD,DWORD);
976 DWORD WINAPI lineSetTerminal(HLINE,DWORD,HCALL,DWORD,DWORD,DWORD,DWORD);
977 DWORD WINAPI lineSetTollList(HLINEAPP,DWORD,LPCSTR,DWORD);
978 DWORD WINAPI lineSetupConference(HCALL,HLINE,LPHCALL,LPHCALL,DWORD,LPLINECALLPARAMS);
979 DWORD WINAPI lineSetupTransfer(HCALL,LPHCALL,LPLINECALLPARAMS);
980 DWORD WINAPI lineShutdown(HLINEAPP);
981 DWORD WINAPI lineSwapHold(HCALL,HCALL);
982 DWORD WINAPI lineTranslateAddress(HLINEAPP,DWORD,DWORD,LPCSTR,DWORD,DWORD,LPLINETRANSLATEOUTPUT);
983 DWORD WINAPI lineTranslateDialog(HLINEAPP,DWORD,DWORD,HWND,LPCSTR);
984 DWORD WINAPI lineUncompleteCall(HLINE,DWORD);
985 DWORD WINAPI lineUnHold(HCALL);
986 DWORD WINAPI lineUnpark(HLINE,DWORD,LPHCALL,LPCSTR);
988 DWORD WINAPI lineBlindTransferA(HCALL,LPCSTR,DWORD);
989 DWORD WINAPI lineConfigDialogA(DWORD,HWND,LPCSTR);
990 DWORD WINAPI lineConfigDialogEditA(DWORD,HWND,LPCSTR,LPVOID const,DWORD,LPVARSTRING);
991 DWORD WINAPI lineDialA(HCALL,LPCSTR,DWORD);
992 DWORD WINAPI lineForwardA(HLINE,DWORD,DWORD,LPLINEFORWARDLIST,DWORD,LPHCALL,LPLINECALLPARAMS);
993 DWORD WINAPI lineGatherDigitsA(HCALL,DWORD,LPSTR,DWORD,LPCSTR,DWORD,DWORD);
994 DWORD WINAPI lineGenerateDigitsA(HCALL,DWORD,LPCSTR,DWORD);
995 DWORD WINAPI lineGetAddressCapsA(HLINEAPP,DWORD,DWORD,DWORD,DWORD,LPLINEADDRESSCAPS);
996 DWORD WINAPI lineGetAddressIDA(HLINE,LPDWORD,DWORD,LPCSTR,DWORD);
997 DWORD WINAPI lineGetAddressStatusA(HLINE,DWORD,LPLINEADDRESSSTATUS);
998 DWORD WINAPI lineGetAppPriorityA(LPCSTR,DWORD,LPLINEEXTENSIONID const,DWORD,LPVARSTRING,LPDWORD);
999 DWORD WINAPI lineGetCallInfoA(HCALL,LPLINECALLINFO);
1000 DWORD WINAPI lineGetCountryA(DWORD,DWORD,LPLINECOUNTRYLIST);
1001 DWORD WINAPI lineGetDevConfigA(DWORD,LPVARSTRING,LPCSTR);
1002 DWORD WINAPI lineGetIconA(DWORD,LPCSTR,HICON *);
1003 DWORD WINAPI lineGetLineDevStatusA(HLINE,LPLINEDEVSTATUS);
1004 DWORD WINAPI lineGetRequestA(HLINEAPP,DWORD,LPVOID);
1005 DWORD WINAPI lineGetTranslateCapsA(HLINEAPP,DWORD,LPLINETRANSLATECAPS);
1006 DWORD WINAPI lineHandoffA(HCALL,LPCSTR,DWORD);
1007 DWORD WINAPI lineOpenA(HLINEAPP,DWORD,LPHLINE,DWORD,DWORD,DWORD,DWORD,DWORD,LPLINECALLPARAMS);
1008 DWORD WINAPI lineParkA(HCALL,DWORD,LPCSTR,LPVARSTRING);
1009 DWORD WINAPI linePickupA(HLINE,DWORD,LPHCALL,LPCSTR,LPCSTR);
1010 DWORD WINAPI linePrepareAddToConferenceA(HCALL,LPHCALL,LPLINECALLPARAMS);
1011 DWORD WINAPI lineRedirectA(HCALL,LPCSTR,DWORD);
1012 DWORD WINAPI lineSetAppPriorityA(LPCSTR,DWORD,LPLINEEXTENSIONID const,DWORD,LPCSTR,DWORD);
1013 DWORD WINAPI lineSetDevConfigA(DWORD,LPVOID,DWORD,LPCSTR);
1014 DWORD WINAPI lineSetTollListA(HLINEAPP,DWORD,LPCSTR,DWORD);
1015 DWORD WINAPI lineSetupConferenceA(HCALL,HLINE,LPHCALL,LPHCALL,DWORD,LPLINECALLPARAMS);
1016 DWORD WINAPI lineSetupTransferA(HCALL,LPHCALL,LPLINECALLPARAMS);
1017 DWORD WINAPI lineTranslateAddressA(HLINEAPP,DWORD,DWORD,LPCSTR,DWORD,DWORD,LPLINETRANSLATEOUTPUT);
1018 DWORD WINAPI lineTranslateDialogA(HLINEAPP,DWORD,DWORD,HWND,LPCSTR);
1019 DWORD WINAPI lineUnhold(HCALL);
1020 DWORD WINAPI lineUnparkA(HLINE,DWORD,LPHCALL,LPCSTR);
1022 /* phone functions */
1023 DWORD WINAPI phoneClose(HPHONE);
1024 DWORD WINAPI phoneConfigDialog(DWORD,HWND,LPCSTR);
1025 DWORD WINAPI phoneDevSpecific(HPHONE,LPVOID,DWORD);
1026 DWORD WINAPI phoneGetButtonInfo(HPHONE,DWORD,LPPHONEBUTTONINFO);
1027 DWORD WINAPI phoneGetData(HPHONE,DWORD,LPVOID,DWORD);
1028 DWORD WINAPI phoneGetDevCaps(HPHONEAPP,DWORD,DWORD,DWORD,LPPHONECAPS);
1029 DWORD WINAPI phoneGetDisplay(HPHONE,LPVARSTRING);
1030 DWORD WINAPI phoneGetGain(HPHONE,DWORD,LPDWORD);
1031 DWORD WINAPI phoneGetHookSwitch(HPHONE,LPDWORD);
1032 DWORD WINAPI phoneGetID(HPHONE,LPVARSTRING,LPCSTR);
1033 DWORD WINAPI phoneGetIcon(DWORD,LPCSTR,HICON *);
1034 DWORD WINAPI phoneGetLamp(HPHONE,DWORD,LPDWORD);
1035 DWORD WINAPI phoneGetRing(HPHONE,LPDWORD,LPDWORD);
1036 DWORD WINAPI phoneGetStatus(HPHONE,LPPHONESTATUS);
1037 DWORD WINAPI phoneGetStatusMessages(HPHONE,LPDWORD,LPDWORD,LPDWORD);
1038 DWORD WINAPI phoneGetVolume(HPHONE,DWORD,LPDWORD);
1039 DWORD WINAPI phoneInitialize(LPHPHONEAPP,HINSTANCE,PHONECALLBACK,LPCSTR,LPDWORD);
1040 DWORD WINAPI phoneNegotiateAPIVersion(HPHONEAPP,DWORD,DWORD,DWORD,LPDWORD,LPPHONEEXTENSIONID);
1041 DWORD WINAPI phoneNegotiateExtVersion(HPHONEAPP,DWORD,DWORD,DWORD,DWORD,LPDWORD);
1042 DWORD WINAPI phoneOpen(HPHONEAPP,DWORD,LPHPHONE,DWORD,DWORD,DWORD,DWORD);
1043 DWORD WINAPI phoneSetButtonInfo(HPHONE,DWORD,LPPHONEBUTTONINFO);
1044 DWORD WINAPI phoneSetData(HPHONE,DWORD,LPVOID,DWORD);
1045 DWORD WINAPI phoneSetDisplay(HPHONE,DWORD,DWORD,LPCSTR,DWORD);
1046 DWORD WINAPI phoneSetGain(HPHONE,DWORD,DWORD);
1047 DWORD WINAPI phoneSetHookSwitch(HPHONE,DWORD,DWORD);
1048 DWORD WINAPI phoneSetLamp(HPHONE,DWORD,DWORD);
1049 DWORD WINAPI phoneSetRing(HPHONE,DWORD,DWORD);
1050 DWORD WINAPI phoneSetStatusMessages(HPHONE,DWORD,DWORD,DWORD);
1051 DWORD WINAPI phoneSetVolume(HPHONE,DWORD,DWORD);
1052 DWORD WINAPI phoneShutdown(HPHONEAPP);
1054 DWORD WINAPI phoneConfigDialogA(DWORD,HWND,LPCSTR);
1055 DWORD WINAPI phoneGetButtonInfoA(HPHONE,DWORD,LPPHONEBUTTONINFO);
1056 DWORD WINAPI phoneGetDevCapsA(HPHONEAPP,DWORD,DWORD,DWORD,LPPHONECAPS);
1057 DWORD WINAPI phoneGetIDA(HPHONE,LPVARSTRING,LPCSTR);
1058 DWORD WINAPI phoneGetIconA(DWORD,LPCSTR,HICON *);
1059 DWORD WINAPI phoneGetStatusA(HPHONE,LPPHONESTATUS);
1060 DWORD WINAPI phoneSetButtonInfoA(HPHONE,DWORD,LPPHONEBUTTONINFO);
1062 /* "assisted" functions */
1063 DWORD WINAPI tapiGetLocationInfo(LPSTR,LPSTR);
1064 DWORD WINAPI tapiRequestMakeCall(LPCSTR,LPCSTR,LPCSTR,LPCSTR);
1066 DWORD WINAPI tapiGetLocationInfoA(LPSTR,LPSTR);
1067 DWORD WINAPI tapiRequestMakeCallA(LPCSTR,LPCSTR,LPCSTR,LPCSTR);
1069 #ifdef __cplusplus
1070 } /* extern "C" */
1071 #endif /* defined(__cplusplus) */
1073 #endif /* __WINE_TAPI_H */