VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/tapi.h@ 33656

Last change on this file since 33656 was 33656, checked in by vboxsync, 14 years ago

*: rebrand Sun (L)GPL disclaimers

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette