Fixed potential memory corruption in EVENT_QueryZOrder.
[wine/multimedia.git] / include / tapi.h
bloba7fe1dbe994f0810ad7ca30cb4055f3876825a00
1 /*
2 * TAPI definitions
3 *
4 * Copyright (c) 1999 Andreas Mohr
5 */
7 #ifndef __WINE_TAPI_H
8 #define __WINE_TAPI_H
10 #include "windef.h"
12 typedef HANDLE HCALL, *LPHCALL;
13 typedef HANDLE HLINE, *LPHLINE;
14 typedef HANDLE HLINEAPP, *LPHLINEAPP;
15 typedef HANDLE HPHONE, *LPHPHONE;
16 typedef HANDLE HPHONEAPP, *LPHPHONEAPP;
18 /* FIXME: bogus codes !! */
19 #define TAPIERR_REQUESTFAILED 20
21 typedef struct lineaddresscaps_tag {
22 DWORD dwTotalSize;
23 DWORD dwNeededSize;
24 DWORD dwUsedSize;
25 DWORD dwLineDeviceID;
26 DWORD dwAddressSize;
27 DWORD dwAddressOffset;
28 DWORD dwDevSpecificSize;
29 DWORD dwDevSpecificOffset;
30 DWORD dwAddressSharing;
31 DWORD dwAddressStates;
32 DWORD dwCallInfoStates;
33 DWORD dwCallerIDFlags;
34 DWORD dwCalledIDFlags;
35 DWORD dwConnectedIDFlags;
36 DWORD dwRedirectionIDFlags;
37 DWORD dwRedirectingIDFlags;
38 DWORD dwCallStates;
39 DWORD dwDialToneModes;
40 DWORD dwBusyModes;
41 DWORD dwSpecialInfo;
42 DWORD dwDisconnectModes;
43 DWORD dwMaxNumActiveCalls;
44 DWORD dwMaxNumOnHoldCalls;
45 DWORD dwMaxNumOnHoldPendingCalls;
46 DWORD dwMaxNumConference;
47 DWORD dwMaxNumTransConf;
48 DWORD dwAddrCapFlags;
49 DWORD dwCallFeatures;
50 DWORD dwRemoveFromConfCaps;
51 DWORD dwRemoveFromConfState;
52 DWORD dwTransferModes;
53 DWORD dwParkModes;
54 DWORD dwForwardModes;
55 DWORD dwMaxForwardEntries;
56 DWORD dwMaxSpecificEntries;
57 DWORD dwMinFwdNumRings;
58 DWORD dwMaxFwdNumRings;
59 DWORD dwMaxCallCompletions;
60 DWORD dwCallCompletionConds;
61 DWORD dwCallCompletionModes;
62 DWORD dwNumCompletionMessages;
63 DWORD dwCompletionMsgTextEntrySize;
64 DWORD dwCompletionMsgTextSize;
65 DWORD dwCompletionMsgTextOffset;
66 DWORD dwAddressFeatures;
67 } LINEADDRESSCAPS, *LPLINEADDRESSCAPS;
69 typedef struct lineaddressstatus_tag {
70 DWORD dwTotalSize;
71 DWORD dwNeededSize;
72 DWORD dwUsedSize;
73 DWORD dwNumInUse;
74 DWORD dwNumActiveCalls;
75 DWORD dwNumOnHoldCalls;
76 DWORD dwNumOnHoldPendCalls;
77 DWORD dwAddressFeatures;
78 DWORD dwNumRingsNoAnswer;
79 DWORD dwForwardNumEntries;
80 DWORD dwForwardSize;
81 DWORD dwForwardOffset;
82 DWORD dwTerminalModesSize;
83 DWORD dwTerminalModesOffset;
84 DWORD dwDevSpecificSize;
85 DWORD dwDevSpecificOffset;
86 } LINEADDRESSSTATUS, *LPLINEADDRESSSTATUS;
88 typedef struct linedialparams_tag {
89 DWORD dwDialPause;
90 DWORD dwDialSpeed;
91 DWORD dwDigitDuration;
92 DWORD dwWaitForDialtone;
93 } LINEDIALPARAMS, *LPLINEDIALPARAMS;
95 typedef struct linecallinfo_tag {
96 DWORD dwTotalSize;
97 DWORD dwNeededSize;
98 DWORD dwUsedSize;
99 HLINE hLine;
100 DWORD dwLineDeviceID;
101 DWORD dwAddressID;
102 DWORD dwBearerMode;
103 DWORD dwRate;
104 DWORD dwMediaMode;
105 DWORD dwAppSpecific;
106 DWORD dwCallID;
107 DWORD dwRelatedCallID;
108 DWORD dwCallParamFlags;
109 DWORD dwCallStates;
110 DWORD dwMonitorDigitModes;
111 DWORD dwMonitorMediaModes;
112 LINEDIALPARAMS DialParams;
113 DWORD dwOrigin;
114 DWORD dwReason;
115 DWORD dwCompletionID;
116 DWORD dwNumOwners;
117 DWORD dwNumMonitors;
118 DWORD dwCountryCode;
119 DWORD dwTrunk;
120 DWORD dwCallerIDFlags;
121 DWORD dwCallerIDSize;
122 DWORD dwCallerIDOffset;
123 DWORD dwCallerIDNameSize;
124 DWORD dwCallerIDNameOffset;
125 DWORD dwCalledIDFlags;
126 DWORD dwCalledIDSize;
127 DWORD dwCalledIDOffset;
128 DWORD dwCalledIDNameSize;
129 DWORD dwCalledIDNameOffset;
130 DWORD dwConnectedIDFlags;
131 DWORD dwConnectedIDSize;
132 DWORD dwConnectedIDOffset;
133 DWORD dwConnectedIDNameSize;
134 DWORD dwConnectedIDNameOffset;
135 DWORD dwRedirectionIDFlags;
136 DWORD dwRedirectionIDSize;
137 DWORD dwRedirectionIDOffset;
138 DWORD dwRedirectionIDNameSize;
139 DWORD dwRedirectionIDNameOffset;
140 DWORD dwRedirectingIDFlags;
141 DWORD dwRedirectingIDSize;
142 DWORD dwRedirectingIDOffset;
143 DWORD dwRedirectingIDNameSize;
144 DWORD dwRedirectingIDNameOffset;
145 DWORD dwAppNameSize;
146 DWORD dwAppNameOffset;
147 DWORD dwDisplayableAddressSize;
148 DWORD dwDisplayableAddressOffset;
149 DWORD dwCalledPartySize;
150 DWORD dwCalledPartyOffset;
151 DWORD dwCommentSize;
152 DWORD dwCommentOffset;
153 DWORD dwDisplaySize;
154 DWORD dwDisplayOffset;
155 DWORD dwUserUserInfoSize;
156 DWORD dwUserUserInfoOffset;
157 DWORD dwHighLevelCompSize;
158 DWORD dwHighLevelCompOffset;
159 DWORD dwLowLevelCompSize;
160 DWORD dwLowLevelCompOffset;
161 DWORD dwChargingInfoSize;
162 DWORD dwChargingInfoOffset;
163 DWORD dwTerminalModesSize;
164 DWORD dwTerminalModesOffset;
165 DWORD dwDevSpecificSize;
166 DWORD dwDevSpecificOffset;
167 } LINECALLINFO, *LPLINECALLINFO;
169 typedef struct linecalllist_tag {
170 DWORD dwTotalSize;
171 DWORD dwNeededSize;
172 DWORD dwUsedSize;
173 DWORD dwCallsNumEntries;
174 DWORD dwCallsSize;
175 DWORD dwCallsOffset;
176 } LINECALLLIST, *LPLINECALLLIST;
178 typedef struct linecallparams_tag {
179 DWORD dwTotalSize;
180 DWORD dwBearerMode;
181 DWORD dwMinRate;
182 DWORD dwMaxRate;
183 DWORD dwMediaMode;
184 DWORD dwCallParamFlags;
185 DWORD dwAddressMode;
186 DWORD dwAddressID;
187 LINEDIALPARAMS DialParams;
188 DWORD dwOrigAddressSize;
189 DWORD dwOrigAddressOffset;
190 DWORD dwDisplayableAddressSize;
191 DWORD dwDisplayableAddressOffset;
192 DWORD dwCalledPartySize;
193 DWORD dwCalledPartyOffset;
194 DWORD dwCommentSize;
195 DWORD dwCommentOffset;
196 DWORD dwUserUserInfoSize;
197 DWORD dwUserUserInfoOffset;
198 DWORD dwHighLevelCompSize;
199 DWORD dwHighLevelCompOffset;
200 DWORD dwLowLevelCompSize;
201 DWORD dwLowLevelCompOffset;
202 DWORD dwDevSpecificSize;
203 DWORD dwDevSpecificOffset;
204 } LINECALLPARAMS, *LPLINECALLPARAMS;
206 typedef struct linecallstatus_tag {
207 DWORD dwTotalSize;
208 DWORD dwNeededSize;
209 DWORD dwUsedSize;
210 DWORD dwCallState;
211 DWORD dwCallStateMode;
212 DWORD dwCallPrivilege;
213 DWORD dwCallFeatures;
214 DWORD dwDevSpecificSize;
215 DWORD dwDevSpecificOffset;
216 } LINECALLSTATUS, *LPLINECALLSTATUS;
218 typedef struct linecountrylist_tag {
219 DWORD dwTotalSize;
220 DWORD dwNeededSize;
221 DWORD dwUsedSize;
222 DWORD dwNumCountries;
223 DWORD dwCountryListSize;
224 DWORD dwCountryListOffset;
225 } LINECOUNTRYLIST, *LPLINECOUNTRYLIST;
227 typedef struct linedevcaps_tag {
228 DWORD dwTotalSize;
229 DWORD dwNeededSize;
230 DWORD dwUsedSize;
231 DWORD dwProviderInfoSize;
232 DWORD dwProviderInfoOffset;
233 DWORD dwSwitchInfoSize;
234 DWORD dwSwitchInfoOffset;
235 DWORD dwPermanentLineID;
236 DWORD dwLineNameSize;
237 DWORD dwLineNameOffset;
238 DWORD dwStringFormat;
239 DWORD dwAddressModes;
240 DWORD dwNumAddresses;
241 DWORD dwBearerModes;
242 DWORD dwMaxRate;
243 DWORD dwMediaModes;
244 DWORD dwGenerateToneModes;
245 DWORD dwGenerateToneMaxNumFreq;
246 DWORD dwGenerateDigitModes;
247 DWORD dwMonitorToneMaxNumFreq;
248 DWORD dwMonitorToneMaxNumEntries;
249 DWORD dwMonitorDigitModes;
250 DWORD dwGatherDigitsMinTimeout;
251 DWORD dwGatherDigitsMaxTimeout;
252 DWORD dwMedCtlDigitMaxListSize;
253 DWORD dwMedCtlMediaMaxListSize;
254 DWORD dwMedCtlToneMaxListSize;
255 DWORD dwMedCtlCallStateMaxListSize;
256 DWORD dwDevCapFlags;
257 DWORD dwMaxNumActiveCalls;
258 DWORD dwAnswerMode;
259 DWORD dwRingModes;
260 DWORD dwLineStates;
261 DWORD dwUUIAcceptSize;
262 DWORD dwUUIAnswerSize;
263 DWORD dwUUIMakeCallSize;
264 DWORD dwUUIDropSize;
265 DWORD dwUUISendUserUserInfoSize;
266 DWORD dwUUICallInfoSize;
267 LINEDIALPARAMS MinDialParams;
268 LINEDIALPARAMS MaxDialParams;
269 LINEDIALPARAMS DefaultDialParams;
270 DWORD dwNumTerminals;
271 DWORD dwTerminalCapsSize;
272 DWORD dwTerminalCapsOffset;
273 DWORD dwTerminalTextEntrySize;
274 DWORD dwTerminalTextSize;
275 DWORD dwTerminalTextOffset;
276 DWORD dwDevSpecificSize;
277 DWORD dwDevSpecificOffset;
278 DWORD dwLineFeatures;
279 } LINEDEVCAPS, *LPLINEDEVCAPS;
281 typedef struct linedevstatus_tag {
282 DWORD dwTotalSize;
283 DWORD dwNeededSize;
284 DWORD dwUsedSize;
285 DWORD dwNumOpens;
286 DWORD dwOpenMediaModes;
287 DWORD dwNumActiveCalls;
288 DWORD dwNumOnHoldCalls;
289 DWORD dwNumOnHoldPendingCalls;
290 DWORD dwLineFeatures;
291 DWORD dwNumCallCompletion;
292 DWORD dwRingMode;
293 DWORD dwSignalLevel;
294 DWORD dwBatteryLevel;
295 DWORD dwRoamMode;
296 DWORD dwDevStatusFlags;
297 DWORD dwTerminalModesSize;
298 DWORD dwTerminalModesOffset;
299 DWORD dwDevSpecificSize;
300 DWORD dwDevSpecificOffset;
301 } LINEDEVSTATUS, *LPLINEDEVSTATUS;
303 typedef struct lineextensionid_tag {
304 DWORD dwExtensionID0;
305 DWORD dwExtensionID1;
306 DWORD dwExtensionID2;
307 DWORD dwExtensionID3;
308 } LINEEXTENSIONID, *LPLINEEXTENSIONID;
310 typedef struct lineforward_tag {
311 DWORD dwForwardMode;
312 DWORD dwCallerAddressSize;
313 DWORD dwCallerAddressOffset;
314 DWORD dwDestCountryCode;
315 DWORD dwDestAddressSize;
316 DWORD dwDestAddressOffset;
317 } LINEFORWARD, *LPLINEFORWARD;
319 typedef struct lineforwardlist_tag {
320 DWORD dwTotalSize;
321 DWORD dwNumEntries;
322 LINEFORWARD ForwardList[1];
323 } LINEFORWARDLIST, *LPLINEFORWARDLIST;
325 typedef struct linegeneratetone_tag {
326 DWORD dwFrequency;
327 DWORD dwCadenceOn;
328 DWORD dwCadenceOff;
329 DWORD dwVolume;
330 } LINEGENERATETONE, *LPLINEGENERATETONE;
332 typedef struct linemediacontrolcallstate_tag {
333 DWORD dwCallStates;
334 DWORD dwMediaControl;
335 } LINEMEDIACONTROLCALLSTATE, *LPLINEMEDIACONTROLCALLSTATE;
337 typedef struct linemediacontroldigit_tag {
338 DWORD dwDigit;
339 DWORD dwDigitModes;
340 DWORD dwMediaControl;
341 } LINEMEDIACONTROLDIGIT, *LPLINEMEDIACONTROLDIGIT;
343 typedef struct linemediacontrolmedia_tag {
344 DWORD dwMediaModes;
345 DWORD dwDuration;
346 DWORD dwMediaControl;
347 } LINEMEDIACONTROLMEDIA, *LPLINEMEDIACONTROLMEDIA;
349 typedef struct linemediacontroltone_tag {
350 DWORD dwAppSpecific;
351 DWORD dwDuration;
352 DWORD dwFrequency1;
353 DWORD dwFrequency2;
354 DWORD dwFrequency3;
355 DWORD dwMediaControl;
356 } LINEMEDIACONTROLTONE, *LPLINEMEDIACONTROLTONE;
358 typedef struct linemonitortone_tag {
359 DWORD dwAppSpecific;
360 DWORD dwDuration;
361 DWORD dwFrequency1;
362 DWORD dwFrequency2;
363 DWORD dwFrequency3;
364 } LINEMONITORTONE, *LPLINEMONITORTONE;
366 typedef struct lineproviderlist_tag {
367 DWORD dwTotalSize;
368 DWORD dwNeededSize;
369 DWORD dwUsedSize;
370 DWORD dwNumProviders;
371 DWORD dwProviderListSize;
372 DWORD dwProviderListOffset;
373 } LINEPROVIDERLIST, *LPLINEPROVIDERLIST;
375 typedef struct linetranslatecaps_tag {
376 DWORD dwTotalSize;
377 DWORD dwNeededSize;
378 DWORD dwUsedSize;
379 DWORD dwNumLocations;
380 DWORD dwLocationListSize;
381 DWORD dwLocationListOffset;
382 DWORD dwCurrentLocationID;
383 DWORD dwNumCards;
384 DWORD dwCardListSize;
385 DWORD dwCardListOffset;
386 DWORD dwCurrentPreferredCardID;
387 } LINETRANSLATECAPS, *LPLINETRANSLATECAPS;
389 typedef struct linetranslateoutput_tag {
390 DWORD dwTotalSize;
391 DWORD dwNeededSize;
392 DWORD dwUsedSize;
393 DWORD dwDialableStringSize;
394 DWORD dwDialableStringOffset;
395 DWORD dwDisplayableStringSize;
396 DWORD dwDisplayableStringOffset;
397 DWORD dwCurrentCountry;
398 DWORD dwDestCountry;
399 DWORD dwTranslateResults;
400 } LINETRANSLATEOUTPUT, *LPLINETRANSLATEOUTPUT;
402 typedef void (CALLBACK * LINECALLBACK)(DWORD, DWORD, DWORD, DWORD, DWORD, DWORD);
404 typedef struct _PHONEAPP {
405 int dummy;
406 } PHONEAPP, *LPPHONEAPP;
408 typedef struct _PHONE {
409 DWORD dwRingMode;
410 DWORD dwVolume;
411 } PHONE, *LPPHONE;
413 typedef struct phonebuttoninfo_tag {
414 DWORD dwTotalSize;
415 DWORD dwNeededSize;
416 DWORD dwUsedSize;
417 DWORD dwButtonMode;
418 DWORD dwButtonFunction;
419 DWORD dwButtonTextSize;
420 DWORD dwButtonTextOffset;
421 DWORD dwDevSpecificSize;
422 DWORD dwDevSpecificOffset;
423 DWORD dwButtonState;
424 } PHONEBUTTONINFO, *LPPHONEBUTTONINFO;
426 typedef struct phonecaps_tag {
427 DWORD dwTotalSize;
428 DWORD dwNeededSize;
429 DWORD dwUsedSize;
430 DWORD dwProviderInfoSize;
431 DWORD dwProviderInfoOffset;
432 DWORD dwPhoneInfoSize;
433 DWORD dwPhoneInfoOffset;
434 DWORD dwPermanentPhoneID;
435 DWORD dwPhoneNameSize;
436 DWORD dwPhoneNameOffset;
437 DWORD dwStringFormat;
438 DWORD dwPhoneStates;
439 DWORD dwHookSwitchDevs;
440 DWORD dwHandsetHookSwitchModes;
441 DWORD dwSpeakerHookSwitchModes;
442 DWORD dwHeadsetHookSwitchModes;
443 DWORD dwVolumeFlags;
444 DWORD dwGainFlags;
445 DWORD dwDisplayNumRows;
446 DWORD dwDisplayNumColumns;
447 DWORD dwNumRingModes;
448 DWORD dwNumButtonLamps;
449 DWORD dwButtonModesSize;
450 DWORD dwButtonModesOffset;
451 DWORD dwButtonFunctionsSize;
452 DWORD dwButtonFunctionsOffset;
453 DWORD dwLampModesSize;
454 DWORD dwLampModesOffset;
455 DWORD dwNumSetData;
456 DWORD dwSetDataSize;
457 DWORD dwSetDataOffset;
458 DWORD dwNumGetData;
459 DWORD dwGetDataSize;
460 DWORD dwGetDataOffset;
461 DWORD dwDevSpecificSize;
462 DWORD dwDevSpecificOffset;
463 } PHONECAPS, *LPPHONECAPS;
465 typedef struct phoneextensionid_tag {
466 DWORD dwExtensionID0;
467 DWORD dwExtensionID1;
468 DWORD dwExtensionID2;
469 DWORD dwExtensionID3;
470 } PHONEEXTENSIONID, *LPPHONEEXTENSIONID;
472 typedef struct phonestatus_tag {
473 DWORD dwTotalSize;
474 DWORD dwNeededSize;
475 DWORD dwUsedSize;
476 DWORD dwStatusFlags;
477 DWORD dwNumOwners;
478 DWORD dwRingMOde;
479 DWORD dwRingVolume;
480 DWORD dwHandsetHookSwitchMode;
481 DWORD dwHandsetVolume;
482 DWORD dwHandsetGain;
483 DWORD dwSpeakerHookSwitchMode;
484 DWORD dwSpeakerVolume;
485 DWORD dwSpeakerGain;
486 DWORD dwHeadsetHookSwitchMode;
487 DWORD dwHeadsetVolume;
488 DWORD dwHeadsetGain;
489 DWORD dwDisplaySize;
490 DWORD dwDisplayOffset;
491 DWORD dwLampModesSize;
492 DWORD dwLampModesOffset;
493 DWORD dwOwnerNameSize;
494 DWORD dwOwnerNameOffset;
495 DWORD dwDevSpecificSize;
496 DWORD dwDevSpecificOffset;
497 } PHONESTATUS, *LPPHONESTATUS;
499 typedef void (CALLBACK * PHONECALLBACK)(HANDLE, DWORD, DWORD, DWORD, DWORD, DWORD);
501 typedef struct varstring_tag {
502 DWORD dwTotalSize;
503 DWORD dwNeededSize;
504 DWORD dwUsedSize;
505 DWORD dwStringFormat;
506 DWORD dwStringSize;
507 DWORD dwStringOffset;
508 } VARSTRING, *LPVARSTRING;
510 /* line functions */
511 DWORD WINAPI lineAccept(HCALL,LPCSTR,DWORD);
512 DWORD WINAPI lineAddProvider(LPCSTR,HWND,LPDWORD);
513 DWORD WINAPI lineAddToConference(HCALL,HCALL);
514 DWORD WINAPI lineAnswer(HCALL,LPCSTR,DWORD);
515 DWORD WINAPI lineBlindTransfer(HCALL,LPCSTR,DWORD);
516 DWORD WINAPI lineClose(HLINE);
517 DWORD WINAPI lineCompleteCall(HCALL,LPDWORD,DWORD,DWORD);
518 DWORD WINAPI lineCompleteTransfer(HCALL,HCALL,LPHCALL,DWORD);
519 DWORD WINAPI lineConfigDialog(DWORD,HWND,LPCSTR);
520 DWORD WINAPI lineConfigDialogEdit(DWORD,HWND,LPCSTR,LPVOID const,DWORD,LPVARSTRING);
521 DWORD WINAPI lineConfigProvider(HWND,DWORD);
522 DWORD WINAPI lineDeallocateCall(HCALL);
523 DWORD WINAPI lineDevSpecific(HLINE,DWORD,HCALL,LPVOID,DWORD);
524 DWORD WINAPI lineDevSpecificFeature(HLINE,DWORD,LPVOID,DWORD);
525 DWORD WINAPI lineDial(HCALL,LPCSTR,DWORD);
526 DWORD WINAPI lineDrop(HCALL,LPCSTR,DWORD);
527 DWORD WINAPI lineForward(HLINE,DWORD,DWORD,LPLINEFORWARDLIST,DWORD,LPHCALL,LPLINECALLPARAMS);
528 DWORD WINAPI lineGatherDigits(HCALL,DWORD,LPSTR,DWORD,LPCSTR,DWORD,DWORD);
529 DWORD WINAPI lineGenerateDigits(HCALL,DWORD,LPCSTR,DWORD);
530 DWORD WINAPI lineGenerateTone(HCALL,DWORD,DWORD,DWORD,LPLINEGENERATETONE);
531 DWORD WINAPI lineGetAddressCaps(HLINEAPP,DWORD,DWORD,DWORD,DWORD,LPLINEADDRESSCAPS);
532 DWORD WINAPI lineGetAddressID(HLINE,LPDWORD,DWORD,LPCSTR,DWORD);
533 DWORD WINAPI lineGetAddressStatus(HLINE,DWORD,LPLINEADDRESSSTATUS);
534 DWORD WINAPI lineGetAppPriority(LPCSTR,DWORD,LPLINEEXTENSIONID const,DWORD,LPVARSTRING,LPDWORD);
535 DWORD WINAPI lineGetCallInfo(HCALL,LPLINECALLINFO);
536 DWORD WINAPI lineGetCallStatus(HCALL,LPLINECALLSTATUS);
537 DWORD WINAPI lineGetConfRelatedCalls(HCALL,LPLINECALLLIST);
538 DWORD WINAPI lineGetCountry(DWORD,DWORD,LPLINECOUNTRYLIST);
539 DWORD WINAPI lineGetDevCaps(HLINEAPP,DWORD,DWORD,DWORD,LPLINEDEVCAPS);
540 DWORD WINAPI lineGetDevConfig(DWORD,LPVARSTRING,LPCSTR);
541 DWORD WINAPI lineGetID(HLINE,DWORD,HCALL,DWORD,LPVARSTRING,LPCSTR);
542 DWORD WINAPI lineGetIcon(DWORD,LPCSTR,HICON *);
543 DWORD WINAPI lineGetLineDevStatus(HLINE,LPLINEDEVSTATUS);
544 DWORD WINAPI lineGetNewCalls(HLINE,DWORD,DWORD,LPLINECALLLIST);
545 DWORD WINAPI lineGetNumRings(HLINE,DWORD,LPDWORD);
546 DWORD WINAPI lineGetProviderList(DWORD dwAPIVersion,LPLINEPROVIDERLIST);
547 DWORD WINAPI lineGetRequest(HLINEAPP,DWORD,LPVOID);
548 DWORD WINAPI lineGetStatusMessages(HLINE,LPDWORD,LPDWORD);
549 DWORD WINAPI lineGetTranslateCaps(HLINEAPP,DWORD,LPLINETRANSLATECAPS);
550 DWORD WINAPI lineHandoff(HCALL,LPCSTR,DWORD);
551 DWORD WINAPI lineHold(HCALL);
552 DWORD WINAPI lineInitialize(LPHLINEAPP,HINSTANCE,LINECALLBACK,LPCSTR,LPDWORD);
553 DWORD WINAPI lineMakeCall(HLINE,LPHCALL,LPCSTR,DWORD,LPLINECALLPARAMS);
554 DWORD WINAPI lineMonitorDigits(HCALL,DWORD);
555 DWORD WINAPI lineMonitorMedia(HCALL,DWORD);
556 DWORD WINAPI lineMonitorTones(HCALL,LPLINEMONITORTONE,DWORD);
557 DWORD WINAPI lineNegotiateAPIVersion(HLINEAPP,DWORD,DWORD,DWORD,LPDWORD,LPLINEEXTENSIONID);
558 DWORD WINAPI lineNegotiateExtVersion(HLINEAPP,DWORD,DWORD,DWORD,DWORD,LPDWORD);
559 DWORD WINAPI lineOpen(HLINEAPP,DWORD,LPHLINE,DWORD,DWORD,DWORD,DWORD,DWORD,LPLINECALLPARAMS);
560 DWORD WINAPI linePark(HCALL,DWORD,LPCSTR,LPVARSTRING);
561 DWORD WINAPI linePickup(HLINE,DWORD,LPHCALL,LPCSTR,LPCSTR);
562 DWORD WINAPI linePrepareAddToConference(HCALL,LPHCALL,LPLINECALLPARAMS);
563 DWORD WINAPI lineRedirect(HCALL,LPCSTR,DWORD);
564 DWORD WINAPI lineRegisterRequestRecipient(HLINEAPP,DWORD,DWORD,DWORD);
565 DWORD WINAPI lineReleaseUserUserInfo(HCALL);
566 DWORD WINAPI lineRemoveFromConference(HCALL);
567 DWORD WINAPI lineRemoveProvider(DWORD,HWND);
568 DWORD WINAPI lineSecureCall(HCALL);
569 DWORD WINAPI lineSendUserUserInfo(HCALL,LPCSTR,DWORD);
570 DWORD WINAPI lineSetAppPriority(LPCSTR,DWORD,LPLINEEXTENSIONID const,DWORD,LPCSTR,DWORD);
571 DWORD WINAPI lineSetAppSpecific(HCALL,DWORD);
572 DWORD WINAPI lineSetCallParams(HCALL,DWORD,DWORD,DWORD,LPLINEDIALPARAMS);
573 DWORD WINAPI lineSetCallPrivilege(HCALL,DWORD);
574 DWORD WINAPI lineSetCurrentLocation(HLINEAPP,DWORD);
575 DWORD WINAPI lineSetDevConfig(DWORD,LPVOID,DWORD,LPCSTR);
576 DWORD WINAPI lineSetMediaControl(HLINE,DWORD,HCALL,DWORD,LPLINEMEDIACONTROLDIGIT,DWORD,LPLINEMEDIACONTROLMEDIA,DWORD,LPLINEMEDIACONTROLTONE,DWORD,LPLINEMEDIACONTROLCALLSTATE,DWORD);
577 DWORD WINAPI lineSetMediaMode(HCALL,DWORD);
578 DWORD WINAPI lineSetNumRings(HLINE,DWORD,DWORD);
579 DWORD WINAPI lineSetStatusMessages(HLINE,DWORD,DWORD);
580 DWORD WINAPI lineSetTerminal(HLINE,DWORD,HCALL,DWORD,DWORD,DWORD,DWORD);
581 DWORD WINAPI lineSetTollList(HLINEAPP,DWORD,LPCSTR,DWORD);
582 DWORD WINAPI lineSetupConference(HCALL,HLINE,LPHCALL,LPHCALL,DWORD,LPLINECALLPARAMS);
583 DWORD WINAPI lineSetupTransfer(HCALL,LPHCALL,LPLINECALLPARAMS);
584 DWORD WINAPI lineShutdown(HLINEAPP);
585 DWORD WINAPI lineSwapHold(HCALL,HCALL);
586 DWORD WINAPI lineTranslateAddress(HLINEAPP,DWORD,DWORD,LPCSTR,DWORD,DWORD,LPLINETRANSLATEOUTPUT);
587 DWORD WINAPI lineTranslateDialog(HLINEAPP,DWORD,DWORD,HWND,LPCSTR);
588 DWORD WINAPI lineUncompleteCall(HLINE,DWORD);
589 DWORD WINAPI lineUnHold(HCALL);
590 DWORD WINAPI lineUnpark(HLINE,DWORD,LPHCALL,LPCSTR);
592 /* phone functions */
593 DWORD WINAPI phoneClose(HPHONE);
594 DWORD WINAPI phoneConfigDialog(DWORD,HWND,LPCSTR);
595 DWORD WINAPI phoneDevSpecific(HPHONE,LPVOID,DWORD);
596 DWORD WINAPI phoneGetButtonInfo(HPHONE,DWORD,LPPHONEBUTTONINFO);
597 DWORD WINAPI phoneGetData(HPHONE,DWORD,LPVOID,DWORD);
598 DWORD WINAPI phoneGetDevCaps(HPHONEAPP,DWORD,DWORD,DWORD,LPPHONECAPS);
599 DWORD WINAPI phoneGetDisplay(HPHONE,LPVARSTRING);
600 DWORD WINAPI phoneGetHookSwitch(HPHONE,LPDWORD);
601 DWORD WINAPI phoneGetID(HPHONE,LPVARSTRING,LPCSTR);
602 DWORD WINAPI phoneGetIcon(DWORD,LPCSTR,HICON *);
603 DWORD WINAPI phoneGetLamp(HPHONE,DWORD,LPDWORD);
604 DWORD WINAPI phoneGetRing(HPHONE,LPDWORD,LPDWORD);
605 DWORD WINAPI phoneGetStatus(HPHONE,LPPHONESTATUS);
606 DWORD WINAPI phoneGetStatusMessages(HPHONE,LPDWORD,LPDWORD,LPDWORD);
607 DWORD WINAPI phoneGetVolume(HPHONE,DWORD,LPDWORD);
608 DWORD WINAPI phoneInitialize(LPHPHONEAPP,HINSTANCE,PHONECALLBACK,LPCSTR,LPDWORD);
609 DWORD WINAPI phoneNegotiateAPIVersion(HPHONEAPP,DWORD,DWORD,DWORD,LPDWORD,LPPHONEEXTENSIONID);
610 DWORD WINAPI phoneNegotiateExtVersion(HPHONEAPP,DWORD,DWORD,DWORD,DWORD,LPDWORD);
611 DWORD WINAPI phoneOpen(HPHONEAPP,DWORD,LPHPHONE,DWORD,DWORD,DWORD,DWORD);
612 DWORD WINAPI phoneSetButtonInfo(HPHONE,DWORD,LPPHONEBUTTONINFO);
613 DWORD WINAPI phoneSetData(HPHONE,DWORD,LPVOID,DWORD);
614 DWORD WINAPI phoneSetDisplay(HPHONE,DWORD,DWORD,LPCSTR,DWORD);
615 DWORD WINAPI phoneSetGain(HPHONE,DWORD,DWORD);
616 DWORD WINAPI phoneSetHookSwitch(HPHONE,DWORD,DWORD);
617 DWORD WINAPI phoneSetLamp(HPHONE,DWORD,DWORD);
618 DWORD WINAPI phoneSetRing(HPHONE,DWORD,DWORD);
619 DWORD WINAPI phoneSetStatusMessages(HPHONE,DWORD,DWORD,DWORD);
620 DWORD WINAPI phoneSetVolume(HPHONE,DWORD,DWORD);
621 DWORD WINAPI phoneShutdown(HPHONEAPP);
623 /* "assisted" functions */
624 DWORD WINAPI tapiGetLocationInfo(LPSTR,LPSTR);
625 DWORD WINAPI tapiRequestMakeCall(LPCSTR,LPCSTR,LPCSTR,LPCSTR);
627 #endif /* __WINE_TAPI_H */