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 {
405 } PHONEAPP, *LPPHONEAPP;
407 typedef struct _PHONE {
412 typedef struct phonebuttoninfo_tag {
417 DWORD dwButtonFunction;
418 DWORD dwButtonTextSize;
419 DWORD dwButtonTextOffset;
420 DWORD dwDevSpecificSize;
421 DWORD dwDevSpecificOffset;
423 } PHONEBUTTONINFO, *LPPHONEBUTTONINFO;
425 typedef struct phonecaps_tag {
429 DWORD dwProviderInfoSize;
430 DWORD dwProviderInfoOffset;
431 DWORD dwPhoneInfoSize;
432 DWORD dwPhoneInfoOffset;
433 DWORD dwPermanentPhoneID;
434 DWORD dwPhoneNameSize;
435 DWORD dwPhoneNameOffset;
436 DWORD dwStringFormat;
438 DWORD dwHookSwitchDevs;
439 DWORD dwHandsetHookSwitchModes;
440 DWORD dwSpeakerHookSwitchModes;
441 DWORD dwHeadsetHookSwitchModes;
444 DWORD dwDisplayNumRows;
445 DWORD dwDisplayNumColumns;
446 DWORD dwNumRingModes;
447 DWORD dwNumButtonLamps;
448 DWORD dwButtonModesSize;
449 DWORD dwButtonModesOffset;
450 DWORD dwButtonFunctionsSize;
451 DWORD dwButtonFunctionsOffset;
452 DWORD dwLampModesSize;
453 DWORD dwLampModesOffset;
456 DWORD dwSetDataOffset;
459 DWORD dwGetDataOffset;
460 DWORD dwDevSpecificSize;
461 DWORD dwDevSpecificOffset;
462 } PHONECAPS, *LPPHONECAPS;
464 typedef struct phoneextensionid_tag {
465 DWORD dwExtensionID0;
466 DWORD dwExtensionID1;
467 DWORD dwExtensionID2;
468 DWORD dwExtensionID3;
469 } PHONEEXTENSIONID, *LPPHONEEXTENSIONID;
471 typedef struct phonestatus_tag {
479 DWORD dwHandsetHookSwitchMode;
480 DWORD dwHandsetVolume;
482 DWORD dwSpeakerHookSwitchMode;
483 DWORD dwSpeakerVolume;
485 DWORD dwHeadsetHookSwitchMode;
486 DWORD dwHeadsetVolume;
489 DWORD dwDisplayOffset;
490 DWORD dwLampModesSize;
491 DWORD dwLampModesOffset;
492 DWORD dwOwnerNameSize;
493 DWORD dwOwnerNameOffset;
494 DWORD dwDevSpecificSize;
495 DWORD dwDevSpecificOffset;
496 } PHONESTATUS, *LPPHONESTATUS;
498 typedef void (CALLBACK * PHONECALLBACK)(HANDLE, DWORD, DWORD, DWORD, DWORD, DWORD);
500 typedef struct varstring_tag {
504 DWORD dwStringFormat;
506 DWORD dwStringOffset;
507 } VARSTRING, *LPVARSTRING;
510 DWORD WINAPI lineAccept(HCALL,LPCSTR,DWORD);
511 DWORD WINAPI lineAddProvider(LPCSTR,HWND,LPDWORD);
512 DWORD WINAPI lineAddToConference(HCALL,HCALL);
513 DWORD WINAPI lineAnswer(HCALL,LPCSTR,DWORD);
514 DWORD WINAPI lineBlindTransfer(HCALL,LPCSTR,DWORD);
515 DWORD WINAPI lineClose(HLINE);
516 DWORD WINAPI lineCompleteCall(HCALL,LPDWORD,DWORD,DWORD);
517 DWORD WINAPI lineCompleteTransfer(HCALL,HCALL,LPHCALL,DWORD);
518 DWORD WINAPI lineConfigDialog(DWORD,HWND,LPCSTR);
519 DWORD WINAPI lineConfigDialogEdit(DWORD,HWND,LPCSTR,LPVOID const,DWORD,LPVARSTRING);
520 DWORD WINAPI lineConfigProvider(HWND,DWORD);
521 DWORD WINAPI lineDeallocateCall(HCALL);
522 DWORD WINAPI lineDevSpecific(HLINE,DWORD,HCALL,LPVOID,DWORD);
523 DWORD WINAPI lineDevSpecificFeature(HLINE,DWORD,LPVOID,DWORD);
524 DWORD WINAPI lineDial(HCALL,LPCSTR,DWORD);
525 DWORD WINAPI lineDrop(HCALL,LPCSTR,DWORD);
526 DWORD WINAPI lineForward(HLINE,DWORD,DWORD,LPLINEFORWARDLIST,DWORD,LPHCALL,LPLINECALLPARAMS);
527 DWORD WINAPI lineGatherDigits(HCALL,DWORD,LPSTR,DWORD,LPCSTR,DWORD,DWORD);
528 DWORD WINAPI lineGenerateDigits(HCALL,DWORD,LPCSTR,DWORD);
529 DWORD WINAPI lineGenerateTone(HCALL,DWORD,DWORD,DWORD,LPLINEGENERATETONE);
530 DWORD WINAPI lineGetAddressCaps(HLINEAPP,DWORD,DWORD,DWORD,DWORD,LPLINEADDRESSCAPS);
531 DWORD WINAPI lineGetAddressID(HLINE,LPDWORD,DWORD,LPCSTR,DWORD);
532 DWORD WINAPI lineGetAddressStatus(HLINE,DWORD,LPLINEADDRESSSTATUS);
533 DWORD WINAPI lineGetAppPriority(LPCSTR,DWORD,LPLINEEXTENSIONID const,DWORD,LPVARSTRING,LPDWORD);
534 DWORD WINAPI lineGetCallInfo(HCALL,LPLINECALLINFO);
535 DWORD WINAPI lineGetCallStatus(HCALL,LPLINECALLSTATUS);
536 DWORD WINAPI lineGetConfRelatedCalls(HCALL,LPLINECALLLIST);
537 DWORD WINAPI lineGetCountry(DWORD,DWORD,LPLINECOUNTRYLIST);
538 DWORD WINAPI lineGetDevCaps(HLINEAPP,DWORD,DWORD,DWORD,LPLINEDEVCAPS);
539 DWORD WINAPI lineGetDevConfig(DWORD,LPVARSTRING,LPCSTR);
540 DWORD WINAPI lineGetID(HLINE,DWORD,HCALL,DWORD,LPVARSTRING,LPCSTR);
541 DWORD WINAPI lineGetIcon(DWORD,LPCSTR,HICON *);
542 DWORD WINAPI lineGetLineDevStatus(HLINE,LPLINEDEVSTATUS);
543 DWORD WINAPI lineGetNewCalls(HLINE,DWORD,DWORD,LPLINECALLLIST);
544 DWORD WINAPI lineGetNumRings(HLINE,DWORD,LPDWORD);
545 DWORD WINAPI lineGetProviderList(DWORD dwAPIVersion,LPLINEPROVIDERLIST);
546 DWORD WINAPI lineGetRequest(HLINEAPP,DWORD,LPVOID);
547 DWORD WINAPI lineGetStatusMessages(HLINE,LPDWORD,LPDWORD);
548 DWORD WINAPI lineGetTranslateCaps(HLINEAPP,DWORD,LPLINETRANSLATECAPS);
549 DWORD WINAPI lineHandoff(HCALL,LPCSTR,DWORD);
550 DWORD WINAPI lineHold(HCALL);
551 DWORD WINAPI lineInitialize(LPHLINEAPP,HINSTANCE,LINECALLBACK,LPCSTR,LPDWORD);
552 DWORD WINAPI lineMakeCall(HLINE,LPHCALL,LPCSTR,DWORD,LPLINECALLPARAMS);
553 DWORD WINAPI lineMonitorDigits(HCALL,DWORD);
554 DWORD WINAPI lineMonitorMedia(HCALL,DWORD);
555 DWORD WINAPI lineMonitorTones(HCALL,LPLINEMONITORTONE,DWORD);
556 DWORD WINAPI lineNegotiateAPIVersion(HLINEAPP,DWORD,DWORD,DWORD,LPDWORD,LPLINEEXTENSIONID);
557 DWORD WINAPI lineNegotiateExtVersion(HLINEAPP,DWORD,DWORD,DWORD,DWORD,LPDWORD);
558 DWORD WINAPI lineOpen(HLINEAPP,DWORD,LPHLINE,DWORD,DWORD,DWORD,DWORD,DWORD,LPLINECALLPARAMS);
559 DWORD WINAPI linePark(HCALL,DWORD,LPCSTR,LPVARSTRING);
560 DWORD WINAPI linePickup(HLINE,DWORD,LPHCALL,LPCSTR,LPCSTR);
561 DWORD WINAPI linePrepareAddToConference(HCALL,LPHCALL,LPLINECALLPARAMS);
562 DWORD WINAPI lineRedirect(HCALL,LPCSTR,DWORD);
563 DWORD WINAPI lineRegisterRequestRecipient(HLINEAPP,DWORD,DWORD,DWORD);
564 DWORD WINAPI lineReleaseUserUserInfo(HCALL);
565 DWORD WINAPI lineRemoveFromConference(HCALL);
566 DWORD WINAPI lineRemoveProvider(DWORD,HWND);
567 DWORD WINAPI lineSecureCall(HCALL);
568 DWORD WINAPI lineSendUserUserInfo(HCALL,LPCSTR,DWORD);
569 DWORD WINAPI lineSetAppPriority(LPCSTR,DWORD,LPLINEEXTENSIONID const,DWORD,LPCSTR,DWORD);
570 DWORD WINAPI lineSetAppSpecific(HCALL,DWORD);
571 DWORD WINAPI lineSetCallParams(HCALL,DWORD,DWORD,DWORD,LPLINEDIALPARAMS);
572 DWORD WINAPI lineSetCallPrivilege(HCALL,DWORD);
573 DWORD WINAPI lineSetCurrentLocation(HLINEAPP,DWORD);
574 DWORD WINAPI lineSetDevConfig(DWORD,LPVOID,DWORD,LPCSTR);
575 DWORD WINAPI lineSetMediaControl(HLINE,DWORD,HCALL,DWORD,LPLINEMEDIACONTROLDIGIT,DWORD,LPLINEMEDIACONTROLMEDIA,DWORD,LPLINEMEDIACONTROLTONE,DWORD,LPLINEMEDIACONTROLCALLSTATE,DWORD);
576 DWORD WINAPI lineSetMediaMode(HCALL,DWORD);
577 DWORD WINAPI lineSetNumRings(HLINE,DWORD,DWORD);
578 DWORD WINAPI lineSetStatusMessages(HLINE,DWORD,DWORD);
579 DWORD WINAPI lineSetTerminal(HLINE,DWORD,HCALL,DWORD,DWORD,DWORD,DWORD);
580 DWORD WINAPI lineSetTollList(HLINEAPP,DWORD,LPCSTR,DWORD);
581 DWORD WINAPI lineSetupConference(HCALL,HLINE,LPHCALL,LPHCALL,DWORD,LPLINECALLPARAMS);
582 DWORD WINAPI lineSetupTransfer(HCALL,LPHCALL,LPLINECALLPARAMS);
583 DWORD WINAPI lineShutdown(HLINEAPP);
584 DWORD WINAPI lineSwapHold(HCALL,HCALL);
585 DWORD WINAPI lineTranslateAddress(HLINEAPP,DWORD,DWORD,LPCSTR,DWORD,DWORD,LPLINETRANSLATEOUTPUT);
586 DWORD WINAPI lineTranslateDialog(HLINEAPP,DWORD,DWORD,HWND,LPCSTR);
587 DWORD WINAPI lineUncompleteCall(HLINE,DWORD);
588 DWORD WINAPI lineUnHold(HCALL);
589 DWORD WINAPI lineUnpark(HLINE,DWORD,LPHCALL,LPCSTR);
591 /* phone functions */
592 DWORD WINAPI phoneClose(HPHONE);
593 DWORD WINAPI phoneConfigDialog(DWORD,HWND,LPCSTR);
594 DWORD WINAPI phoneDevSpecific(HPHONE,LPVOID,DWORD);
595 DWORD WINAPI phoneGetButtonInfo(HPHONE,DWORD,LPPHONEBUTTONINFO);
596 DWORD WINAPI phoneGetData(HPHONE,DWORD,LPVOID,DWORD);
597 DWORD WINAPI phoneGetDevCaps(HPHONEAPP,DWORD,DWORD,DWORD,LPPHONECAPS);
598 DWORD WINAPI phoneGetDisplay(HPHONE,LPVARSTRING);
599 DWORD WINAPI phoneGetHookSwitch(HPHONE,LPDWORD);
600 DWORD WINAPI phoneGetID(HPHONE,LPVARSTRING,LPCSTR);
601 DWORD WINAPI phoneGetIcon(DWORD,LPCSTR,HICON *);
602 DWORD WINAPI phoneGetLamp(HPHONE,DWORD,LPDWORD);
603 DWORD WINAPI phoneGetRing(HPHONE,LPDWORD,LPDWORD);
604 DWORD WINAPI phoneGetStatus(HPHONE,LPPHONESTATUS);
605 DWORD WINAPI phoneGetStatusMessages(HPHONE,LPDWORD,LPDWORD,LPDWORD);
606 DWORD WINAPI phoneGetVolume(HPHONE,DWORD,LPDWORD);
607 DWORD WINAPI phoneInitialize(LPHPHONEAPP,HINSTANCE,PHONECALLBACK,LPCSTR,LPDWORD);
608 DWORD WINAPI phoneNegotiateAPIVersion(HPHONEAPP,DWORD,DWORD,DWORD,LPDWORD,LPPHONEEXTENSIONID);
609 DWORD WINAPI phoneNegotiateExtVersion(HPHONEAPP,DWORD,DWORD,DWORD,DWORD,LPDWORD);
610 DWORD WINAPI phoneOpen(HPHONEAPP,DWORD,LPHPHONE,DWORD,DWORD,DWORD,DWORD);
611 DWORD WINAPI phoneSetButtonInfo(HPHONE,DWORD,LPPHONEBUTTONINFO);
612 DWORD WINAPI phoneSetData(HPHONE,DWORD,LPVOID,DWORD);
613 DWORD WINAPI phoneSetDisplay(HPHONE,DWORD,DWORD,LPCSTR,DWORD);
614 DWORD WINAPI phoneSetGain(HPHONE,DWORD,DWORD);
615 DWORD WINAPI phoneSetHookSwitch(HPHONE,DWORD,DWORD);
616 DWORD WINAPI phoneSetLamp(HPHONE,DWORD,DWORD);
617 DWORD WINAPI phoneSetRing(HPHONE,DWORD,DWORD);
618 DWORD WINAPI phoneSetStatusMessages(HPHONE,DWORD,DWORD,DWORD);
619 DWORD WINAPI phoneSetVolume(HPHONE,DWORD,DWORD);
620 DWORD WINAPI phoneShutdown(HPHONEAPP);
622 /* "assisted" functions */
623 DWORD WINAPI tapiGetLocationInfo(LPSTR,LPSTR);
624 DWORD WINAPI tapiRequestMakeCall(LPCSTR,LPCSTR,LPCSTR,LPCSTR);
626 #endif /* __WINE_TAPI_H */