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
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 typedef struct lineaddresscaps_tag
{
312 DWORD dwLineDeviceID
;
314 DWORD dwAddressOffset
;
315 DWORD dwDevSpecificSize
;
316 DWORD dwDevSpecificOffset
;
317 DWORD dwAddressSharing
;
318 DWORD dwAddressStates
;
319 DWORD dwCallInfoStates
;
320 DWORD dwCallerIDFlags
;
321 DWORD dwCalledIDFlags
;
322 DWORD dwConnectedIDFlags
;
323 DWORD dwRedirectionIDFlags
;
324 DWORD dwRedirectingIDFlags
;
326 DWORD dwDialToneModes
;
329 DWORD dwDisconnectModes
;
330 DWORD dwMaxNumActiveCalls
;
331 DWORD dwMaxNumOnHoldCalls
;
332 DWORD dwMaxNumOnHoldPendingCalls
;
333 DWORD dwMaxNumConference
;
334 DWORD dwMaxNumTransConf
;
335 DWORD dwAddrCapFlags
;
336 DWORD dwCallFeatures
;
337 DWORD dwRemoveFromConfCaps
;
338 DWORD dwRemoveFromConfState
;
339 DWORD dwTransferModes
;
341 DWORD dwForwardModes
;
342 DWORD dwMaxForwardEntries
;
343 DWORD dwMaxSpecificEntries
;
344 DWORD dwMinFwdNumRings
;
345 DWORD dwMaxFwdNumRings
;
346 DWORD dwMaxCallCompletions
;
347 DWORD dwCallCompletionConds
;
348 DWORD dwCallCompletionModes
;
349 DWORD dwNumCompletionMessages
;
350 DWORD dwCompletionMsgTextEntrySize
;
351 DWORD dwCompletionMsgTextSize
;
352 DWORD dwCompletionMsgTextOffset
;
353 DWORD dwAddressFeatures
;
354 } LINEADDRESSCAPS
, *LPLINEADDRESSCAPS
;
356 typedef struct lineaddressstatus_tag
{
361 DWORD dwNumActiveCalls
;
362 DWORD dwNumOnHoldCalls
;
363 DWORD dwNumOnHoldPendCalls
;
364 DWORD dwAddressFeatures
;
365 DWORD dwNumRingsNoAnswer
;
366 DWORD dwForwardNumEntries
;
368 DWORD dwForwardOffset
;
369 DWORD dwTerminalModesSize
;
370 DWORD dwTerminalModesOffset
;
371 DWORD dwDevSpecificSize
;
372 DWORD dwDevSpecificOffset
;
373 } LINEADDRESSSTATUS
, *LPLINEADDRESSSTATUS
;
375 typedef struct linedialparams_tag
{
378 DWORD dwDigitDuration
;
379 DWORD dwWaitForDialtone
;
380 } LINEDIALPARAMS
, *LPLINEDIALPARAMS
;
382 typedef struct linecallinfo_tag
{
387 DWORD dwLineDeviceID
;
394 DWORD dwRelatedCallID
;
395 DWORD dwCallParamFlags
;
397 DWORD dwMonitorDigitModes
;
398 DWORD dwMonitorMediaModes
;
399 LINEDIALPARAMS DialParams
;
402 DWORD dwCompletionID
;
407 DWORD dwCallerIDFlags
;
408 DWORD dwCallerIDSize
;
409 DWORD dwCallerIDOffset
;
410 DWORD dwCallerIDNameSize
;
411 DWORD dwCallerIDNameOffset
;
412 DWORD dwCalledIDFlags
;
413 DWORD dwCalledIDSize
;
414 DWORD dwCalledIDOffset
;
415 DWORD dwCalledIDNameSize
;
416 DWORD dwCalledIDNameOffset
;
417 DWORD dwConnectedIDFlags
;
418 DWORD dwConnectedIDSize
;
419 DWORD dwConnectedIDOffset
;
420 DWORD dwConnectedIDNameSize
;
421 DWORD dwConnectedIDNameOffset
;
422 DWORD dwRedirectionIDFlags
;
423 DWORD dwRedirectionIDSize
;
424 DWORD dwRedirectionIDOffset
;
425 DWORD dwRedirectionIDNameSize
;
426 DWORD dwRedirectionIDNameOffset
;
427 DWORD dwRedirectingIDFlags
;
428 DWORD dwRedirectingIDSize
;
429 DWORD dwRedirectingIDOffset
;
430 DWORD dwRedirectingIDNameSize
;
431 DWORD dwRedirectingIDNameOffset
;
433 DWORD dwAppNameOffset
;
434 DWORD dwDisplayableAddressSize
;
435 DWORD dwDisplayableAddressOffset
;
436 DWORD dwCalledPartySize
;
437 DWORD dwCalledPartyOffset
;
439 DWORD dwCommentOffset
;
441 DWORD dwDisplayOffset
;
442 DWORD dwUserUserInfoSize
;
443 DWORD dwUserUserInfoOffset
;
444 DWORD dwHighLevelCompSize
;
445 DWORD dwHighLevelCompOffset
;
446 DWORD dwLowLevelCompSize
;
447 DWORD dwLowLevelCompOffset
;
448 DWORD dwChargingInfoSize
;
449 DWORD dwChargingInfoOffset
;
450 DWORD dwTerminalModesSize
;
451 DWORD dwTerminalModesOffset
;
452 DWORD dwDevSpecificSize
;
453 DWORD dwDevSpecificOffset
;
454 } LINECALLINFO
, *LPLINECALLINFO
;
456 typedef struct linecalllist_tag
{
460 DWORD dwCallsNumEntries
;
463 } LINECALLLIST
, *LPLINECALLLIST
;
465 typedef struct linecallparams_tag
{
471 DWORD dwCallParamFlags
;
474 LINEDIALPARAMS DialParams
;
475 DWORD dwOrigAddressSize
;
476 DWORD dwOrigAddressOffset
;
477 DWORD dwDisplayableAddressSize
;
478 DWORD dwDisplayableAddressOffset
;
479 DWORD dwCalledPartySize
;
480 DWORD dwCalledPartyOffset
;
482 DWORD dwCommentOffset
;
483 DWORD dwUserUserInfoSize
;
484 DWORD dwUserUserInfoOffset
;
485 DWORD dwHighLevelCompSize
;
486 DWORD dwHighLevelCompOffset
;
487 DWORD dwLowLevelCompSize
;
488 DWORD dwLowLevelCompOffset
;
489 DWORD dwDevSpecificSize
;
490 DWORD dwDevSpecificOffset
;
491 } LINECALLPARAMS
, *LPLINECALLPARAMS
;
493 typedef struct linecallstatus_tag
{
498 DWORD dwCallStateMode
;
499 DWORD dwCallPrivilege
;
500 DWORD dwCallFeatures
;
501 DWORD dwDevSpecificSize
;
502 DWORD dwDevSpecificOffset
;
503 } LINECALLSTATUS
, *LPLINECALLSTATUS
;
505 typedef struct linecountrylist_tag
{
509 DWORD dwNumCountries
;
510 DWORD dwCountryListSize
;
511 DWORD dwCountryListOffset
;
512 } LINECOUNTRYLIST
, *LPLINECOUNTRYLIST
;
514 typedef struct linecountryentry_tag
{
517 DWORD dwNextCountryID
;
518 DWORD dwCountryNameSize
;
519 DWORD dwCountryNameOffset
;
520 DWORD dwSameAreaRuleSize
;
521 DWORD dwSameAreaRuleOffset
;
522 DWORD dwLongDistanceRuleSize
;
523 DWORD dwLongDistanceRuleOffset
;
524 DWORD dwInternationalRuleSize
;
525 DWORD dwInternationalRuleOffset
;
526 } LINECOUNTRYENTRY
, *LPLINECOUNTRYENTRY
;
528 typedef struct linedevcaps_tag
{
532 DWORD dwProviderInfoSize
;
533 DWORD dwProviderInfoOffset
;
534 DWORD dwSwitchInfoSize
;
535 DWORD dwSwitchInfoOffset
;
536 DWORD dwPermanentLineID
;
537 DWORD dwLineNameSize
;
538 DWORD dwLineNameOffset
;
539 DWORD dwStringFormat
;
540 DWORD dwAddressModes
;
541 DWORD dwNumAddresses
;
545 DWORD dwGenerateToneModes
;
546 DWORD dwGenerateToneMaxNumFreq
;
547 DWORD dwGenerateDigitModes
;
548 DWORD dwMonitorToneMaxNumFreq
;
549 DWORD dwMonitorToneMaxNumEntries
;
550 DWORD dwMonitorDigitModes
;
551 DWORD dwGatherDigitsMinTimeout
;
552 DWORD dwGatherDigitsMaxTimeout
;
553 DWORD dwMedCtlDigitMaxListSize
;
554 DWORD dwMedCtlMediaMaxListSize
;
555 DWORD dwMedCtlToneMaxListSize
;
556 DWORD dwMedCtlCallStateMaxListSize
;
558 DWORD dwMaxNumActiveCalls
;
562 DWORD dwUUIAcceptSize
;
563 DWORD dwUUIAnswerSize
;
564 DWORD dwUUIMakeCallSize
;
566 DWORD dwUUISendUserUserInfoSize
;
567 DWORD dwUUICallInfoSize
;
568 LINEDIALPARAMS MinDialParams
;
569 LINEDIALPARAMS MaxDialParams
;
570 LINEDIALPARAMS DefaultDialParams
;
571 DWORD dwNumTerminals
;
572 DWORD dwTerminalCapsSize
;
573 DWORD dwTerminalCapsOffset
;
574 DWORD dwTerminalTextEntrySize
;
575 DWORD dwTerminalTextSize
;
576 DWORD dwTerminalTextOffset
;
577 DWORD dwDevSpecificSize
;
578 DWORD dwDevSpecificOffset
;
579 DWORD dwLineFeatures
;
580 } LINEDEVCAPS
, *LPLINEDEVCAPS
;
582 typedef struct linedevstatus_tag
{
587 DWORD dwOpenMediaModes
;
588 DWORD dwNumActiveCalls
;
589 DWORD dwNumOnHoldCalls
;
590 DWORD dwNumOnHoldPendCalls
;
591 DWORD dwLineFeatures
;
592 DWORD dwNumCallCompletions
;
595 DWORD dwBatteryLevel
;
597 DWORD dwDevStatusFlags
;
598 DWORD dwTerminalModesSize
;
599 DWORD dwTerminalModesOffset
;
600 DWORD dwDevSpecificSize
;
601 DWORD dwDevSpecificOffset
;
602 } LINEDEVSTATUS
, *LPLINEDEVSTATUS
;
604 typedef struct lineextensionid_tag
{
605 DWORD dwExtensionID0
;
606 DWORD dwExtensionID1
;
607 DWORD dwExtensionID2
;
608 DWORD dwExtensionID3
;
609 } LINEEXTENSIONID
, *LPLINEEXTENSIONID
;
611 typedef struct lineforward_tag
{
613 DWORD dwCallerAddressSize
;
614 DWORD dwCallerAddressOffset
;
615 DWORD dwDestCountryCode
;
616 DWORD dwDestAddressSize
;
617 DWORD dwDestAddressOffset
;
618 } LINEFORWARD
, *LPLINEFORWARD
;
620 typedef struct lineforwardlist_tag
{
623 LINEFORWARD ForwardList
[1];
624 } LINEFORWARDLIST
, *LPLINEFORWARDLIST
;
626 typedef struct linegeneratetone_tag
{
631 } LINEGENERATETONE
, *LPLINEGENERATETONE
;
633 typedef struct lineinitializeexparams_tag
{
640 HANDLE hCompletionPort
;
642 DWORD dwCompletionKey
;
643 } LINEINITIALIZEEXPARAMS
, *LPLINEINITIALIZEEXPARAMS
;
645 typedef struct linemediacontrolcallstate_tag
{
647 DWORD dwMediaControl
;
648 } LINEMEDIACONTROLCALLSTATE
, *LPLINEMEDIACONTROLCALLSTATE
;
650 typedef struct linemediacontroldigit_tag
{
653 DWORD dwMediaControl
;
654 } LINEMEDIACONTROLDIGIT
, *LPLINEMEDIACONTROLDIGIT
;
656 typedef struct linemediacontrolmedia_tag
{
659 DWORD dwMediaControl
;
660 } LINEMEDIACONTROLMEDIA
, *LPLINEMEDIACONTROLMEDIA
;
662 typedef struct linemediacontroltone_tag
{
668 DWORD dwMediaControl
;
669 } LINEMEDIACONTROLTONE
, *LPLINEMEDIACONTROLTONE
;
671 typedef struct linemonitortone_tag
{
677 } LINEMONITORTONE
, *LPLINEMONITORTONE
;
679 typedef struct lineproviderlist_tag
{
683 DWORD dwNumProviders
;
684 DWORD dwProviderListSize
;
685 DWORD dwProviderListOffset
;
686 } LINEPROVIDERLIST
, *LPLINEPROVIDERLIST
;
688 typedef struct linetranslatecaps_tag
{
692 DWORD dwNumLocations
;
693 DWORD dwLocationListSize
;
694 DWORD dwLocationListOffset
;
695 DWORD dwCurrentLocationID
;
697 DWORD dwCardListSize
;
698 DWORD dwCardListOffset
;
699 DWORD dwCurrentPreferredCardID
;
700 } LINETRANSLATECAPS
, *LPLINETRANSLATECAPS
;
702 typedef struct linelocationentry_tag
{
703 DWORD dwPermanentLocationID
;
704 DWORD dwLocationNameSize
;
705 DWORD dwLocationNameOffset
;
707 DWORD dwCityCodeSize
;
708 DWORD dwCityCodeOffset
;
709 DWORD dwPreferredCardID
;
710 DWORD dwLocalAccessCodeSize
;
711 DWORD dwLocalAccessCodeOffset
;
712 DWORD dwLongDistanceAccessCodeSize
;
713 DWORD dwLongDistanceAccessCodeOffset
;
714 DWORD dwTollPrefixListSize
;
715 DWORD dwTollPrefixListOffset
;
718 DWORD dwCancelCallWaitingSize
;
719 DWORD dwCancelCallWaitingOffset
;
720 } LINELOCATIONENTRY
, *LPLINELOCATIONENTRY
;
722 typedef struct linecardentry_tag
{
723 DWORD dwPermanentCardID
;
724 DWORD dwCardNameSize
;
725 DWORD dwCardNameOffset
;
726 DWORD dwCardNumberDigits
;
727 DWORD dwSameAreaRuleSize
;
728 DWORD dwSameAreaRuleOffset
;
729 DWORD dwLongDistanceRuleSize
;
730 DWORD dwLongDistanceRuleOffset
;
731 DWORD dwInternationalRuleSize
;
732 DWORD dwInternationalRuleOffset
;
734 } LINECARDENTRY
, *LPLINECARDENTRY
;
737 typedef struct linetranslateoutput_tag
{
741 DWORD dwDialableStringSize
;
742 DWORD dwDialableStringOffset
;
743 DWORD dwDisplayableStringSize
;
744 DWORD dwDisplayableStringOffset
;
745 DWORD dwCurrentCountry
;
747 DWORD dwTranslateResults
;
748 } LINETRANSLATEOUTPUT
, *LPLINETRANSLATEOUTPUT
;
750 typedef void (CALLBACK
*LINECALLBACK
)(DWORD
, DWORD
, DWORD
, DWORD
, DWORD
, DWORD
);
752 typedef struct _PHONEAPP
{
754 } PHONEAPP
, *LPPHONEAPP
;
756 typedef struct _PHONE
{
761 typedef struct phonebuttoninfo_tag
{
766 DWORD dwButtonFunction
;
767 DWORD dwButtonTextSize
;
768 DWORD dwButtonTextOffset
;
769 DWORD dwDevSpecificSize
;
770 DWORD dwDevSpecificOffset
;
772 } PHONEBUTTONINFO
, *LPPHONEBUTTONINFO
;
774 typedef struct phonecaps_tag
{
778 DWORD dwProviderInfoSize
;
779 DWORD dwProviderInfoOffset
;
780 DWORD dwPhoneInfoSize
;
781 DWORD dwPhoneInfoOffset
;
782 DWORD dwPermanentPhoneID
;
783 DWORD dwPhoneNameSize
;
784 DWORD dwPhoneNameOffset
;
785 DWORD dwStringFormat
;
787 DWORD dwHookSwitchDevs
;
788 DWORD dwHandsetHookSwitchModes
;
789 DWORD dwSpeakerHookSwitchModes
;
790 DWORD dwHeadsetHookSwitchModes
;
793 DWORD dwDisplayNumRows
;
794 DWORD dwDisplayNumColumns
;
795 DWORD dwNumRingModes
;
796 DWORD dwNumButtonLamps
;
797 DWORD dwButtonModesSize
;
798 DWORD dwButtonModesOffset
;
799 DWORD dwButtonFunctionsSize
;
800 DWORD dwButtonFunctionsOffset
;
801 DWORD dwLampModesSize
;
802 DWORD dwLampModesOffset
;
805 DWORD dwSetDataOffset
;
808 DWORD dwGetDataOffset
;
809 DWORD dwDevSpecificSize
;
810 DWORD dwDevSpecificOffset
;
811 } PHONECAPS
, *LPPHONECAPS
;
813 typedef struct phoneextensionid_tag
{
814 DWORD dwExtensionID0
;
815 DWORD dwExtensionID1
;
816 DWORD dwExtensionID2
;
817 DWORD dwExtensionID3
;
818 } PHONEEXTENSIONID
, *LPPHONEEXTENSIONID
;
820 typedef struct phonestatus_tag
{
828 DWORD dwHandsetHookSwitchMode
;
829 DWORD dwHandsetVolume
;
831 DWORD dwSpeakerHookSwitchMode
;
832 DWORD dwSpeakerVolume
;
834 DWORD dwHeadsetHookSwitchMode
;
835 DWORD dwHeadsetVolume
;
838 DWORD dwDisplayOffset
;
839 DWORD dwLampModesSize
;
840 DWORD dwLampModesOffset
;
841 DWORD dwOwnerNameSize
;
842 DWORD dwOwnerNameOffset
;
843 DWORD dwDevSpecificSize
;
844 DWORD dwDevSpecificOffset
;
845 } PHONESTATUS
, *LPPHONESTATUS
;
847 typedef void (CALLBACK
*PHONECALLBACK
)(HANDLE
, DWORD
, DWORD
, DWORD
, DWORD
, DWORD
);
849 typedef struct varstring_tag
{
853 DWORD dwStringFormat
;
855 DWORD dwStringOffset
;
856 } VARSTRING
, *LPVARSTRING
;
859 DWORD WINAPI
lineAccept(HCALL
,LPCSTR
,DWORD
);
860 DWORD WINAPI
lineAddProviderA(LPCSTR
,HWND
,LPDWORD
);
861 DWORD WINAPI
lineAddProviderW(LPCWSTR
,HWND
,LPDWORD
);
862 #define lineAddProvider WINELIB_NAME_AW(lineAddProvider)
863 DWORD WINAPI
lineAddToConference(HCALL
,HCALL
);
864 DWORD WINAPI
lineAnswer(HCALL
,LPCSTR
,DWORD
);
865 DWORD WINAPI
lineBlindTransfer(HCALL
,LPCSTR
,DWORD
);
866 DWORD WINAPI
lineClose(HLINE
);
867 DWORD WINAPI
lineCompleteCall(HCALL
,LPDWORD
,DWORD
,DWORD
);
868 DWORD WINAPI
lineCompleteTransfer(HCALL
,HCALL
,LPHCALL
,DWORD
);
869 DWORD WINAPI
lineConfigDialog(DWORD
,HWND
,LPCSTR
);
870 DWORD WINAPI
lineConfigDialogEdit(DWORD
,HWND
,LPCSTR
,LPVOID
const,DWORD
,LPVARSTRING
);
871 DWORD WINAPI
lineConfigProvider(HWND
,DWORD
);
872 DWORD WINAPI
lineDeallocateCall(HCALL
);
873 DWORD WINAPI
lineDevSpecific(HLINE
,DWORD
,HCALL
,LPVOID
,DWORD
);
874 DWORD WINAPI
lineDevSpecificFeature(HLINE
,DWORD
,LPVOID
,DWORD
);
875 DWORD WINAPI
lineDial(HCALL
,LPCSTR
,DWORD
);
876 DWORD WINAPI
lineDrop(HCALL
,LPCSTR
,DWORD
);
877 DWORD WINAPI
lineForward(HLINE
,DWORD
,DWORD
,LPLINEFORWARDLIST
,DWORD
,LPHCALL
,LPLINECALLPARAMS
);
878 DWORD WINAPI
lineGatherDigits(HCALL
,DWORD
,LPSTR
,DWORD
,LPCSTR
,DWORD
,DWORD
);
879 DWORD WINAPI
lineGenerateDigits(HCALL
,DWORD
,LPCSTR
,DWORD
);
880 DWORD WINAPI
lineGenerateTone(HCALL
,DWORD
,DWORD
,DWORD
,LPLINEGENERATETONE
);
881 DWORD WINAPI
lineGetAddressCaps(HLINEAPP
,DWORD
,DWORD
,DWORD
,DWORD
,LPLINEADDRESSCAPS
);
882 DWORD WINAPI
lineGetAddressID(HLINE
,LPDWORD
,DWORD
,LPCSTR
,DWORD
);
883 DWORD WINAPI
lineGetAddressStatus(HLINE
,DWORD
,LPLINEADDRESSSTATUS
);
884 DWORD WINAPI
lineGetAppPriority(LPCSTR
,DWORD
,LPLINEEXTENSIONID
const,DWORD
,LPVARSTRING
,LPDWORD
);
885 DWORD WINAPI
lineGetCallInfo(HCALL
,LPLINECALLINFO
);
886 DWORD WINAPI
lineGetCallStatus(HCALL
,LPLINECALLSTATUS
);
887 DWORD WINAPI
lineGetConfRelatedCalls(HCALL
,LPLINECALLLIST
);
888 DWORD WINAPI
lineGetCountry(DWORD
,DWORD
,LPLINECOUNTRYLIST
);
889 DWORD WINAPI
lineGetDevCapsA(HLINEAPP
,DWORD
,DWORD
,DWORD
,LPLINEDEVCAPS
);
890 DWORD WINAPI
lineGetDevCapsW(HLINEAPP
,DWORD
,DWORD
,DWORD
,LPLINEDEVCAPS
);
891 #define lineGetDevCaps WINELIB_NAME_AW(lineGetDevCaps);
892 DWORD WINAPI
lineGetDevConfig(DWORD
,LPVARSTRING
,LPCSTR
);
893 DWORD WINAPI
lineGetIDA(HLINE
,DWORD
,HCALL
,DWORD
,LPVARSTRING
,LPCSTR
);
894 DWORD WINAPI
lineGetIDW(HLINE
,DWORD
,HCALL
,DWORD
,LPVARSTRING
,LPCWSTR
);
895 #define lineGetID WINELIB_NAME_AW(lineGetID);
896 DWORD WINAPI
lineGetIcon(DWORD
,LPCSTR
,HICON
*);
897 DWORD WINAPI
lineGetLineDevStatus(HLINE
,LPLINEDEVSTATUS
);
898 DWORD WINAPI
lineGetNewCalls(HLINE
,DWORD
,DWORD
,LPLINECALLLIST
);
899 DWORD WINAPI
lineGetNumRings(HLINE
,DWORD
,LPDWORD
);
900 DWORD WINAPI
lineGetProviderListA(DWORD
,LPLINEPROVIDERLIST
);
901 DWORD WINAPI
lineGetProviderListW(DWORD
,LPLINEPROVIDERLIST
);
902 #define lineGetProviderList WINELIB_NAME_AW(lineGetProviderList)
903 DWORD WINAPI
lineGetRequest(HLINEAPP
,DWORD
,LPVOID
);
904 DWORD WINAPI
lineGetStatusMessages(HLINE
,LPDWORD
,LPDWORD
);
905 DWORD WINAPI
lineGetTranslateCaps(HLINEAPP
,DWORD
,LPLINETRANSLATECAPS
);
906 DWORD WINAPI
lineHandoff(HCALL
,LPCSTR
,DWORD
);
907 DWORD WINAPI
lineHold(HCALL
);
908 DWORD WINAPI
lineInitialize(LPHLINEAPP
,HINSTANCE
,LINECALLBACK
,LPCSTR
,LPDWORD
);
909 LONG WINAPI
lineInitializeExA(LPHLINEAPP
,HINSTANCE
,LINECALLBACK
,LPCSTR
,LPDWORD
,LPDWORD
,LPLINEINITIALIZEEXPARAMS
);
910 LONG WINAPI
lineInitializeExW(LPHLINEAPP
,HINSTANCE
,LINECALLBACK
,LPCWSTR
,LPDWORD
,LPDWORD
,LPLINEINITIALIZEEXPARAMS
);
911 #define lineInitializeEx WINELIB_NAME_AW(lineInitializeEx)
912 DWORD WINAPI
lineMakeCallA(HLINE
,LPHCALL
,LPCSTR
,DWORD
,LPLINECALLPARAMS
);
913 DWORD WINAPI
lineMakeCallW(HLINE
,LPHCALL
,LPCWSTR
,DWORD
,LPLINECALLPARAMS
);
914 #define lineMakeCall WINELIB_NAMEAW(lineMakeCall);
915 DWORD WINAPI
lineMonitorDigits(HCALL
,DWORD
);
916 DWORD WINAPI
lineMonitorMedia(HCALL
,DWORD
);
917 DWORD WINAPI
lineMonitorTones(HCALL
,LPLINEMONITORTONE
,DWORD
);
918 DWORD WINAPI
lineNegotiateAPIVersion(HLINEAPP
,DWORD
,DWORD
,DWORD
,LPDWORD
,LPLINEEXTENSIONID
);
919 DWORD WINAPI
lineNegotiateExtVersion(HLINEAPP
,DWORD
,DWORD
,DWORD
,DWORD
,LPDWORD
);
920 DWORD WINAPI
lineOpen(HLINEAPP
,DWORD
,LPHLINE
,DWORD
,DWORD
,DWORD
,DWORD
,DWORD
,LPLINECALLPARAMS
);
921 DWORD WINAPI
linePark(HCALL
,DWORD
,LPCSTR
,LPVARSTRING
);
922 DWORD WINAPI
linePickup(HLINE
,DWORD
,LPHCALL
,LPCSTR
,LPCSTR
);
923 DWORD WINAPI
linePrepareAddToConference(HCALL
,LPHCALL
,LPLINECALLPARAMS
);
924 DWORD WINAPI
lineRedirect(HCALL
,LPCSTR
,DWORD
);
925 DWORD WINAPI
lineRegisterRequestRecipient(HLINEAPP
,DWORD
,DWORD
,DWORD
);
926 DWORD WINAPI
lineReleaseUserUserInfo(HCALL
);
927 DWORD WINAPI
lineRemoveFromConference(HCALL
);
928 DWORD WINAPI
lineRemoveProvider(DWORD
,HWND
);
929 DWORD WINAPI
lineSecureCall(HCALL
);
930 DWORD WINAPI
lineSendUserUserInfo(HCALL
,LPCSTR
,DWORD
);
931 DWORD WINAPI
lineSetAppPriority(LPCSTR
,DWORD
,LPLINEEXTENSIONID
const,DWORD
,LPCSTR
,DWORD
);
932 DWORD WINAPI
lineSetAppSpecific(HCALL
,DWORD
);
933 DWORD WINAPI
lineSetCallParams(HCALL
,DWORD
,DWORD
,DWORD
,LPLINEDIALPARAMS
);
934 DWORD WINAPI
lineSetCallPrivilege(HCALL
,DWORD
);
935 DWORD WINAPI
lineSetCurrentLocation(HLINEAPP
,DWORD
);
936 DWORD WINAPI
lineSetDevConfig(DWORD
,LPVOID
,DWORD
,LPCSTR
);
937 DWORD WINAPI
lineSetMediaControl(HLINE
,DWORD
,HCALL
,DWORD
,LPLINEMEDIACONTROLDIGIT
,DWORD
,LPLINEMEDIACONTROLMEDIA
,DWORD
,LPLINEMEDIACONTROLTONE
,DWORD
,LPLINEMEDIACONTROLCALLSTATE
,DWORD
);
938 DWORD WINAPI
lineSetMediaMode(HCALL
,DWORD
);
939 DWORD WINAPI
lineSetNumRings(HLINE
,DWORD
,DWORD
);
940 DWORD WINAPI
lineSetStatusMessages(HLINE
,DWORD
,DWORD
);
941 DWORD WINAPI
lineSetTerminal(HLINE
,DWORD
,HCALL
,DWORD
,DWORD
,DWORD
,DWORD
);
942 DWORD WINAPI
lineSetTollList(HLINEAPP
,DWORD
,LPCSTR
,DWORD
);
943 DWORD WINAPI
lineSetupConference(HCALL
,HLINE
,LPHCALL
,LPHCALL
,DWORD
,LPLINECALLPARAMS
);
944 DWORD WINAPI
lineSetupTransfer(HCALL
,LPHCALL
,LPLINECALLPARAMS
);
945 DWORD WINAPI
lineShutdown(HLINEAPP
);
946 DWORD WINAPI
lineSwapHold(HCALL
,HCALL
);
947 DWORD WINAPI
lineTranslateAddress(HLINEAPP
,DWORD
,DWORD
,LPCSTR
,DWORD
,DWORD
,LPLINETRANSLATEOUTPUT
);
948 DWORD WINAPI
lineTranslateDialog(HLINEAPP
,DWORD
,DWORD
,HWND
,LPCSTR
);
949 DWORD WINAPI
lineUncompleteCall(HLINE
,DWORD
);
950 DWORD WINAPI
lineUnHold(HCALL
);
951 DWORD WINAPI
lineUnpark(HLINE
,DWORD
,LPHCALL
,LPCSTR
);
953 DWORD WINAPI
lineBlindTransferA(HCALL
,LPCSTR
,DWORD
);
954 DWORD WINAPI
lineConfigDialogA(DWORD
,HWND
,LPCSTR
);
955 DWORD WINAPI
lineConfigDialogEditA(DWORD
,HWND
,LPCSTR
,LPVOID
const,DWORD
,LPVARSTRING
);
956 DWORD WINAPI
lineDialA(HCALL
,LPCSTR
,DWORD
);
957 DWORD WINAPI
lineForwardA(HLINE
,DWORD
,DWORD
,LPLINEFORWARDLIST
,DWORD
,LPHCALL
,LPLINECALLPARAMS
);
958 DWORD WINAPI
lineGatherDigitsA(HCALL
,DWORD
,LPSTR
,DWORD
,LPCSTR
,DWORD
,DWORD
);
959 DWORD WINAPI
lineGenerateDigitsA(HCALL
,DWORD
,LPCSTR
,DWORD
);
960 DWORD WINAPI
lineGetAddressCapsA(HLINEAPP
,DWORD
,DWORD
,DWORD
,DWORD
,LPLINEADDRESSCAPS
);
961 DWORD WINAPI
lineGetAddressIDA(HLINE
,LPDWORD
,DWORD
,LPCSTR
,DWORD
);
962 DWORD WINAPI
lineGetAddressStatusA(HLINE
,DWORD
,LPLINEADDRESSSTATUS
);
963 DWORD WINAPI
lineGetAppPriorityA(LPCSTR
,DWORD
,LPLINEEXTENSIONID
const,DWORD
,LPVARSTRING
,LPDWORD
);
964 DWORD WINAPI
lineGetCallInfoA(HCALL
,LPLINECALLINFO
);
965 DWORD WINAPI
lineGetCountryA(DWORD
,DWORD
,LPLINECOUNTRYLIST
);
966 DWORD WINAPI
lineGetDevConfigA(DWORD
,LPVARSTRING
,LPCSTR
);
967 DWORD WINAPI
lineGetIconA(DWORD
,LPCSTR
,HICON
*);
968 DWORD WINAPI
lineGetLineDevStatusA(HLINE
,LPLINEDEVSTATUS
);
969 DWORD WINAPI
lineGetRequestA(HLINEAPP
,DWORD
,LPVOID
);
970 DWORD WINAPI
lineGetTranslateCapsA(HLINEAPP
,DWORD
,LPLINETRANSLATECAPS
);
971 DWORD WINAPI
lineHandoffA(HCALL
,LPCSTR
,DWORD
);
972 DWORD WINAPI
lineOpenA(HLINEAPP
,DWORD
,LPHLINE
,DWORD
,DWORD
,DWORD
,DWORD
,DWORD
,LPLINECALLPARAMS
);
973 DWORD WINAPI
lineParkA(HCALL
,DWORD
,LPCSTR
,LPVARSTRING
);
974 DWORD WINAPI
linePickupA(HLINE
,DWORD
,LPHCALL
,LPCSTR
,LPCSTR
);
975 DWORD WINAPI
linePrepareAddToConferenceA(HCALL
,LPHCALL
,LPLINECALLPARAMS
);
976 DWORD WINAPI
lineRedirectA(HCALL
,LPCSTR
,DWORD
);
977 DWORD WINAPI
lineSetAppPriorityA(LPCSTR
,DWORD
,LPLINEEXTENSIONID
const,DWORD
,LPCSTR
,DWORD
);
978 DWORD WINAPI
lineSetDevConfigA(DWORD
,LPVOID
,DWORD
,LPCSTR
);
979 DWORD WINAPI
lineSetTollListA(HLINEAPP
,DWORD
,LPCSTR
,DWORD
);
980 DWORD WINAPI
lineSetupConferenceA(HCALL
,HLINE
,LPHCALL
,LPHCALL
,DWORD
,LPLINECALLPARAMS
);
981 DWORD WINAPI
lineSetupTransferA(HCALL
,LPHCALL
,LPLINECALLPARAMS
);
982 DWORD WINAPI
lineTranslateAddressA(HLINEAPP
,DWORD
,DWORD
,LPCSTR
,DWORD
,DWORD
,LPLINETRANSLATEOUTPUT
);
983 DWORD WINAPI
lineTranslateDialogA(HLINEAPP
,DWORD
,DWORD
,HWND
,LPCSTR
);
984 DWORD WINAPI
lineUnhold(HCALL
);
985 DWORD WINAPI
lineUnparkA(HLINE
,DWORD
,LPHCALL
,LPCSTR
);
987 /* phone functions */
988 DWORD WINAPI
phoneClose(HPHONE
);
989 DWORD WINAPI
phoneConfigDialog(DWORD
,HWND
,LPCSTR
);
990 DWORD WINAPI
phoneDevSpecific(HPHONE
,LPVOID
,DWORD
);
991 DWORD WINAPI
phoneGetButtonInfo(HPHONE
,DWORD
,LPPHONEBUTTONINFO
);
992 DWORD WINAPI
phoneGetData(HPHONE
,DWORD
,LPVOID
,DWORD
);
993 DWORD WINAPI
phoneGetDevCaps(HPHONEAPP
,DWORD
,DWORD
,DWORD
,LPPHONECAPS
);
994 DWORD WINAPI
phoneGetDisplay(HPHONE
,LPVARSTRING
);
995 DWORD WINAPI
phoneGetGain(HPHONE
,DWORD
,LPDWORD
);
996 DWORD WINAPI
phoneGetHookSwitch(HPHONE
,LPDWORD
);
997 DWORD WINAPI
phoneGetID(HPHONE
,LPVARSTRING
,LPCSTR
);
998 DWORD WINAPI
phoneGetIcon(DWORD
,LPCSTR
,HICON
*);
999 DWORD WINAPI
phoneGetLamp(HPHONE
,DWORD
,LPDWORD
);
1000 DWORD WINAPI
phoneGetRing(HPHONE
,LPDWORD
,LPDWORD
);
1001 DWORD WINAPI
phoneGetStatus(HPHONE
,LPPHONESTATUS
);
1002 DWORD WINAPI
phoneGetStatusMessages(HPHONE
,LPDWORD
,LPDWORD
,LPDWORD
);
1003 DWORD WINAPI
phoneGetVolume(HPHONE
,DWORD
,LPDWORD
);
1004 DWORD WINAPI
phoneInitialize(LPHPHONEAPP
,HINSTANCE
,PHONECALLBACK
,LPCSTR
,LPDWORD
);
1005 DWORD WINAPI
phoneNegotiateAPIVersion(HPHONEAPP
,DWORD
,DWORD
,DWORD
,LPDWORD
,LPPHONEEXTENSIONID
);
1006 DWORD WINAPI
phoneNegotiateExtVersion(HPHONEAPP
,DWORD
,DWORD
,DWORD
,DWORD
,LPDWORD
);
1007 DWORD WINAPI
phoneOpen(HPHONEAPP
,DWORD
,LPHPHONE
,DWORD
,DWORD
,DWORD
,DWORD
);
1008 DWORD WINAPI
phoneSetButtonInfo(HPHONE
,DWORD
,LPPHONEBUTTONINFO
);
1009 DWORD WINAPI
phoneSetData(HPHONE
,DWORD
,LPVOID
,DWORD
);
1010 DWORD WINAPI
phoneSetDisplay(HPHONE
,DWORD
,DWORD
,LPCSTR
,DWORD
);
1011 DWORD WINAPI
phoneSetGain(HPHONE
,DWORD
,DWORD
);
1012 DWORD WINAPI
phoneSetHookSwitch(HPHONE
,DWORD
,DWORD
);
1013 DWORD WINAPI
phoneSetLamp(HPHONE
,DWORD
,DWORD
);
1014 DWORD WINAPI
phoneSetRing(HPHONE
,DWORD
,DWORD
);
1015 DWORD WINAPI
phoneSetStatusMessages(HPHONE
,DWORD
,DWORD
,DWORD
);
1016 DWORD WINAPI
phoneSetVolume(HPHONE
,DWORD
,DWORD
);
1017 DWORD WINAPI
phoneShutdown(HPHONEAPP
);
1019 DWORD WINAPI
phoneConfigDialogA(DWORD
,HWND
,LPCSTR
);
1020 DWORD WINAPI
phoneGetButtonInfoA(HPHONE
,DWORD
,LPPHONEBUTTONINFO
);
1021 DWORD WINAPI
phoneGetDevCapsA(HPHONEAPP
,DWORD
,DWORD
,DWORD
,LPPHONECAPS
);
1022 DWORD WINAPI
phoneGetIDA(HPHONE
,LPVARSTRING
,LPCSTR
);
1023 DWORD WINAPI
phoneGetIconA(DWORD
,LPCSTR
,HICON
*);
1024 DWORD WINAPI
phoneGetStatusA(HPHONE
,LPPHONESTATUS
);
1025 DWORD WINAPI
phoneSetButtonInfoA(HPHONE
,DWORD
,LPPHONEBUTTONINFO
);
1027 /* "assisted" functions */
1028 DWORD WINAPI
tapiGetLocationInfo(LPSTR
,LPSTR
);
1029 DWORD WINAPI
tapiRequestMakeCall(LPCSTR
,LPCSTR
,LPCSTR
,LPCSTR
);
1031 DWORD WINAPI
tapiGetLocationInfoA(LPSTR
,LPSTR
);
1032 DWORD WINAPI
tapiRequestMakeCallA(LPCSTR
,LPCSTR
,LPCSTR
,LPCSTR
);
1036 #endif /* defined(__cplusplus) */
1038 #endif /* __WINE_TAPI_H */