4 * Copyright (c) 1999 Andreas Mohr
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 {
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;
39 DWORD dwDialToneModes;
42 DWORD dwDisconnectModes;
43 DWORD dwMaxNumActiveCalls;
44 DWORD dwMaxNumOnHoldCalls;
45 DWORD dwMaxNumOnHoldPendingCalls;
46 DWORD dwMaxNumConference;
47 DWORD dwMaxNumTransConf;
50 DWORD dwRemoveFromConfCaps;
51 DWORD dwRemoveFromConfState;
52 DWORD dwTransferModes;
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 {
74 DWORD dwNumActiveCalls;
75 DWORD dwNumOnHoldCalls;
76 DWORD dwNumOnHoldPendCalls;
77 DWORD dwAddressFeatures;
78 DWORD dwNumRingsNoAnswer;
79 DWORD dwForwardNumEntries;
81 DWORD dwForwardOffset;
82 DWORD dwTerminalModesSize;
83 DWORD dwTerminalModesOffset;
84 DWORD dwDevSpecificSize;
85 DWORD dwDevSpecificOffset;
86 } LINEADDRESSSTATUS, *LPLINEADDRESSSTATUS;
88 typedef struct linedialparams_tag {
91 DWORD dwDigitDuration;
92 DWORD dwWaitForDialtone;
93 } LINEDIALPARAMS, *LPLINEDIALPARAMS;
95 typedef struct linecallinfo_tag {
100 DWORD dwLineDeviceID;
107 DWORD dwRelatedCallID;
108 DWORD dwCallParamFlags;
110 DWORD dwMonitorDigitModes;
111 DWORD dwMonitorMediaModes;
112 LINEDIALPARAMS DialParams;
115 DWORD dwCompletionID;
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;
146 DWORD dwAppNameOffset;
147 DWORD dwDisplayableAddressSize;
148 DWORD dwDisplayableAddressOffset;
149 DWORD dwCalledPartySize;
150 DWORD dwCalledPartyOffset;
152 DWORD dwCommentOffset;
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 {
173 DWORD dwCallsNumEntries;
176 } LINECALLLIST, *LPLINECALLLIST;
178 typedef struct linecallparams_tag {
184 DWORD dwCallParamFlags;
187 LINEDIALPARAMS DialParams;
188 DWORD dwOrigAddressSize;
189 DWORD dwOrigAddressOffset;
190 DWORD dwDisplayableAddressSize;
191 DWORD dwDisplayableAddressOffset;
192 DWORD dwCalledPartySize;
193 DWORD dwCalledPartyOffset;
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 {
211 DWORD dwCallStateMode;
212 DWORD dwCallPrivilege;
213 DWORD dwCallFeatures;
214 DWORD dwDevSpecificSize;
215 DWORD dwDevSpecificOffset;
216 } LINECALLSTATUS, *LPLINECALLSTATUS;
218 typedef struct linecountrylist_tag {
222 DWORD dwNumCountries;
223 DWORD dwCountryListSize;
224 DWORD dwCountryListOffset;
225 } LINECOUNTRYLIST, *LPLINECOUNTRYLIST;
227 typedef struct linedevcaps_tag {
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;
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;
257 DWORD dwMaxNumActiveCalls;
261 DWORD dwUUIAcceptSize;
262 DWORD dwUUIAnswerSize;
263 DWORD dwUUIMakeCallSize;
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 {
286 DWORD dwOpenMediaModes;
287 DWORD dwNumActiveCalls;
288 DWORD dwNumOnHoldCalls;
289 DWORD dwNumOnHoldPendingCalls;
290 DWORD dwLineFeatures;
291 DWORD dwNumCallCompletion;
294 DWORD dwBatteryLevel;
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 {
312 DWORD dwCallerAddressSize;
313 DWORD dwCallerAddressOffset;
314 DWORD dwDestCountryCode;
315 DWORD dwDestAddressSize;
316 DWORD dwDestAddressOffset;
317 } LINEFORWARD, *LPLINEFORWARD;
319 typedef struct lineforwardlist_tag {
322 LINEFORWARD ForwardList[1];
323 } LINEFORWARDLIST, *LPLINEFORWARDLIST;
325 typedef struct linegeneratetone_tag {
330 } LINEGENERATETONE, *LPLINEGENERATETONE;
332 typedef struct linemediacontrolcallstate_tag {
334 DWORD dwMediaControl;
335 } LINEMEDIACONTROLCALLSTATE, *LPLINEMEDIACONTROLCALLSTATE;
337 typedef struct linemediacontroldigit_tag {
340 DWORD dwMediaControl;
341 } LINEMEDIACONTROLDIGIT, *LPLINEMEDIACONTROLDIGIT;
343 typedef struct linemediacontrolmedia_tag {
346 DWORD dwMediaControl;
347 } LINEMEDIACONTROLMEDIA, *LPLINEMEDIACONTROLMEDIA;
349 typedef struct linemediacontroltone_tag {
355 DWORD dwMediaControl;
356 } LINEMEDIACONTROLTONE, *LPLINEMEDIACONTROLTONE;
358 typedef struct linemonitortone_tag {
364 } LINEMONITORTONE, *LPLINEMONITORTONE;
366 typedef struct lineproviderlist_tag {
370 DWORD dwNumProviders;
371 DWORD dwProviderListSize;
372 DWORD dwProviderListOffset;
373 } LINEPROVIDERLIST, *LPLINEPROVIDERLIST;
375 typedef struct linetranslatecaps_tag {
379 DWORD dwNumLocations;
380 DWORD dwLocationListSize;
381 DWORD dwLocationListOffset;
382 DWORD dwCurrentLocationID;
384 DWORD dwCardListSize;
385 DWORD dwCardListOffset;
386 DWORD dwCurrentPreferredCardID;
387 } LINETRANSLATECAPS, *LPLINETRANSLATECAPS;
389 typedef struct linetranslateoutput_tag {
393 DWORD dwDialableStringSize;
394 DWORD dwDialableStringOffset;
395 DWORD dwDisplayableStringSize;
396 DWORD dwDisplayableStringOffset;
397 DWORD dwCurrentCountry;
399 DWORD dwTranslateResults;
400 } LINETRANSLATEOUTPUT, *LPLINETRANSLATEOUTPUT;
402 typedef void (CALLBACK * LINECALLBACK)(DWORD, DWORD, DWORD, DWORD, DWORD, DWORD);
404 typedef struct _PHONEAPP {
406 } PHONEAPP, *LPPHONEAPP;
408 typedef struct _PHONE {
413 typedef struct phonebuttoninfo_tag {
418 DWORD dwButtonFunction;
419 DWORD dwButtonTextSize;
420 DWORD dwButtonTextOffset;
421 DWORD dwDevSpecificSize;
422 DWORD dwDevSpecificOffset;
424 } PHONEBUTTONINFO, *LPPHONEBUTTONINFO;
426 typedef struct phonecaps_tag {
430 DWORD dwProviderInfoSize;
431 DWORD dwProviderInfoOffset;
432 DWORD dwPhoneInfoSize;
433 DWORD dwPhoneInfoOffset;
434 DWORD dwPermanentPhoneID;
435 DWORD dwPhoneNameSize;
436 DWORD dwPhoneNameOffset;
437 DWORD dwStringFormat;
439 DWORD dwHookSwitchDevs;
440 DWORD dwHandsetHookSwitchModes;
441 DWORD dwSpeakerHookSwitchModes;
442 DWORD dwHeadsetHookSwitchModes;
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;
457 DWORD dwSetDataOffset;
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 {
480 DWORD dwHandsetHookSwitchMode;
481 DWORD dwHandsetVolume;
483 DWORD dwSpeakerHookSwitchMode;
484 DWORD dwSpeakerVolume;
486 DWORD dwHeadsetHookSwitchMode;
487 DWORD dwHeadsetVolume;
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 {
505 DWORD dwStringFormat;
507 DWORD dwStringOffset;
508 } VARSTRING, *LPVARSTRING;
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 */