4 * Copyright 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
30 #include "wine/debug.h"
32 WINE_DEFAULT_DEBUG_CHANNEL(tapi);
34 /***********************************************************************
35 * lineAccept (TAPI32.@)
37 DWORD WINAPI lineAccept(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
39 FIXME("(%p, %s, %ld): stub.\n", hCall, lpsUserUserInfo, dwSize);
43 /***********************************************************************
44 * lineAddProvider (TAPI32.@)
46 DWORD WINAPI lineAddProvider(LPCSTR lpszProviderName, HWND hwndOwner, LPDWORD lpdwPermanentProviderID)
48 FIXME("(%s, %p, %p): stub.\n", lpszProviderName, hwndOwner, lpdwPermanentProviderID);
52 /***********************************************************************
53 * lineAddToConference (TAPI32.@)
55 DWORD WINAPI lineAddToConference(HCALL hConfCall, HCALL hConsultCall)
57 FIXME("(%p, %p): stub.\n", hConfCall, hConsultCall);
61 /***********************************************************************
62 * lineAnswer (TAPI32.@)
64 DWORD WINAPI lineAnswer(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
66 FIXME("(%p, %s, %ld): stub.\n", hCall, lpsUserUserInfo, dwSize);
70 /***********************************************************************
71 * lineBlindTransfer (TAPI32.@)
73 DWORD WINAPI lineBlindTransfer(HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode)
75 FIXME("(%p, %s, %08lx): stub.\n", hCall, lpszDestAddress, dwCountryCode);
79 /***********************************************************************
80 * lineClose (TAPI32.@)
82 DWORD WINAPI lineClose(HLINE hLine)
84 FIXME("(%p): stub.\n", hLine);
88 /***********************************************************************
89 * lineCompleteCall (TAPI32.@)
91 DWORD WINAPI lineCompleteCall(HCALL hCall, LPDWORD lpdwCompletionID, DWORD dwCompletionMode, DWORD dwMessageID)
93 FIXME("(%p, %p, %08lx, %08lx): stub.\n", hCall, lpdwCompletionID, dwCompletionMode, dwMessageID);
97 /***********************************************************************
98 * lineCompleteTransfer (TAPI32.@)
100 DWORD WINAPI lineCompleteTransfer(HCALL hCall, HCALL hConsultCall, LPHCALL lphConfCall, DWORD dwTransferMode)
102 FIXME("(%p, %p, %p, %08lx): stub.\n", hCall, hConsultCall, lphConfCall, dwTransferMode);
106 /***********************************************************************
107 * lineConfigDialog (TAPI32.@)
109 DWORD WINAPI lineConfigDialog(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass)
111 FIXME("(%08lx, %p, %s): stub.\n", dwDeviceID, hwndOwner, lpszDeviceClass);
115 /***********************************************************************
116 * lineConfigDialogEdit (TAPI32.@)
118 DWORD WINAPI lineConfigDialogEdit(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass, LPVOID const lpDeviceConfigIn, DWORD dwSize, LPVARSTRING lpDeviceConfigOut)
124 /***********************************************************************
125 * lineConfigProvider (TAPI32.@)
127 DWORD WINAPI lineConfigProvider(HWND hwndOwner, DWORD dwPermanentProviderID)
129 FIXME("(%p, %08lx): stub.\n", hwndOwner, dwPermanentProviderID);
133 /***********************************************************************
134 * lineDeallocateCall (TAPI32.@)
136 DWORD WINAPI lineDeallocateCall(HCALL hCall)
138 FIXME("(%p): stub.\n", hCall);
142 /***********************************************************************
143 * lineDevSpecific (TAPI32.@)
145 DWORD WINAPI lineDevSpecific(HLINE hLine, DWORD dwAddressId, HCALL hCall, LPVOID lpParams, DWORD dwSize)
147 FIXME("(%p, %08lx, %p, %p, %ld): stub.\n", hLine, dwAddressId, hCall, lpParams, dwSize);
151 /***********************************************************************
152 * lineDevSpecificFeature (TAPI32.@)
154 DWORD WINAPI lineDevSpecificFeature(HLINE hLine, DWORD dwFeature, LPVOID lpParams, DWORD dwSize)
156 FIXME("(%p, %08lx, %p, %ld): stub.\n", hLine, dwFeature, lpParams, dwSize);
160 /***********************************************************************
161 * lineDial (TAPI32.@)
163 DWORD WINAPI lineDial(HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode)
165 FIXME("(%p, %s, %08lx): stub.\n", hCall, lpszDestAddress, dwCountryCode);
169 /***********************************************************************
170 * lineDrop (TAPI32.@)
172 DWORD WINAPI lineDrop(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
174 FIXME("(%p, %s, %08lx): stub.\n", hCall, lpsUserUserInfo, dwSize);
178 /***********************************************************************
179 * lineForward (TAPI32.@)
181 DWORD WINAPI lineForward(HLINE hLine, DWORD bAllAddress, DWORD dwAdressID, LPLINEFORWARDLIST lpForwardList, DWORD dwNumRingsNoAnswer, LPHCALL lphConsultCall, LPLINECALLPARAMS lpCallParams)
187 /***********************************************************************
188 * lineGatherDigits (TAPI32.@)
190 DWORD WINAPI lineGatherDigits(HCALL hCall, DWORD dwDigitModes, LPSTR lpsDigits, DWORD dwNumDigits, LPCSTR lpszTerminationDigits, DWORD dwFirstDigitTimeout, DWORD dwInterDigitTimeout)
196 /***********************************************************************
197 * lineGenerateDigits (TAPI32.@)
199 DWORD WINAPI lineGenerateDigits(HCALL hCall, DWORD dwDigitModes, LPCSTR lpszDigits, DWORD dwDuration)
201 FIXME("(%p, %08lx, %s, %ld): stub.\n", hCall, dwDigitModes, lpszDigits, dwDuration);
205 /***********************************************************************
206 * lineGenerateTone (TAPI32.@)
208 DWORD WINAPI lineGenerateTone(HCALL hCall, DWORD dwToneMode, DWORD dwDuration, DWORD dwNumTones, LPLINEGENERATETONE lpTones)
210 FIXME("(%p, %08lx, %ld, %ld, %p): stub.\n", hCall, dwToneMode, dwDuration, dwNumTones, lpTones);
214 /***********************************************************************
215 * lineGetAddressCaps (TAPI32.@)
217 DWORD WINAPI lineGetAddressCaps(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAddressID, DWORD dwAPIVersion, DWORD dwExtVersion, LPLINEADDRESSCAPS lpAddressCaps)
219 FIXME("(%p, %08lx, %08lx, %08lx, %08lx, %p): stub.\n", hLineApp, dwDeviceID, dwAddressID, dwAPIVersion, dwExtVersion, lpAddressCaps);
223 /***********************************************************************
224 * lineGetAddressID (TAPI32.@)
226 DWORD WINAPI lineGetAddressID(HLINE hLine, LPDWORD lpdwAddressID, DWORD dwAddressMode, LPCSTR lpsAddress, DWORD dwSize)
228 FIXME("%p, %p, %08lx, %s, %ld): stub.\n", hLine, lpdwAddressID, dwAddressMode, lpsAddress, dwSize);
232 /***********************************************************************
233 * lineGetAddressStatus (TAPI32.@)
235 DWORD WINAPI lineGetAddressStatus(HLINE hLine, DWORD dwAddressID, LPLINEADDRESSSTATUS lpAddressStatus)
237 FIXME("(%p, %08lx, %p): stub.\n", hLine, dwAddressID, lpAddressStatus);
241 /***********************************************************************
242 * lineGetAppPriority (TAPI32.@)
244 DWORD WINAPI lineGetAppPriority(LPCSTR lpszAppFilename, DWORD dwMediaMode, LPLINEEXTENSIONID const lpExtensionID, DWORD dwRequestMode, LPVARSTRING lpExtensionName, LPDWORD lpdwPriority)
246 FIXME("(%s, %08lx, %p, %08lx, %p, %p): stub.\n", lpszAppFilename, dwMediaMode, lpExtensionID, dwRequestMode, lpExtensionName, lpdwPriority);
250 /***********************************************************************
251 * lineGetCallInfo (TAPI32.@)
253 DWORD WINAPI lineGetCallInfo(HCALL hCall, LPLINECALLINFO lpCallInfo)
255 FIXME("(%p, %p): stub.\n", hCall, lpCallInfo);
259 /***********************************************************************
260 * lineGetCallStatus (TAPI32.@)
262 DWORD WINAPI lineGetCallStatus(HCALL hCall, LPLINECALLSTATUS lpCallStatus)
264 FIXME("(%p, %p): stub.\n", hCall, lpCallStatus);
268 /***********************************************************************
269 * lineGetConfRelatedCalls (TAPI32.@)
271 DWORD WINAPI lineGetConfRelatedCalls(HCALL hCall, LPLINECALLLIST lpCallList)
273 FIXME("(%p, %p): stub.\n", hCall, lpCallList);
277 typedef struct tagTAPI_CountryInfo
282 LPSTR lpSameAreaRule;
283 LPSTR lpLongDistanceRule;
284 LPSTR lpInternationalRule;
287 /***********************************************************************
288 * lineGetCountry (TAPI32.@)
290 DWORD WINAPI lineGetCountry(DWORD dwCountryID, DWORD dwAPIVersion, LPLINECOUNTRYLIST lpLineCountryList)
292 DWORD dwAvailSize, dwOffset, i, num_countries, max_subkey_len;
293 LPLINECOUNTRYENTRY lpLCE;
297 if(!lpLineCountryList) {
298 TRACE("(%08lx, %08lx, %p): stub. Returning LINEERR_INVALPOINTER\n",
299 dwCountryID, dwAPIVersion, lpLineCountryList);
300 return LINEERR_INVALPOINTER;
303 TRACE("(%08lx, %08lx, %p(%ld)): stub.\n",
304 dwCountryID, dwAPIVersion, lpLineCountryList,
305 lpLineCountryList->dwTotalSize);
307 if(RegOpenKeyA(HKEY_LOCAL_MACHINE,
308 "Software\\Microsoft\\Windows\\CurrentVersion\\Telephony\\Country List",
309 &hkey) != ERROR_SUCCESS)
310 return LINEERR_INIFILECORRUPT;
313 dwAvailSize = lpLineCountryList->dwTotalSize;
314 dwOffset = sizeof (LINECOUNTRYLIST);
316 if(dwAvailSize<dwOffset)
317 return LINEERR_STRUCTURETOOSMALL;
319 memset(lpLineCountryList, 0, dwAvailSize);
321 lpLineCountryList->dwTotalSize = dwAvailSize;
322 lpLineCountryList->dwUsedSize = dwOffset;
323 lpLineCountryList->dwNumCountries = 0;
324 lpLineCountryList->dwCountryListSize = 0;
325 lpLineCountryList->dwCountryListOffset = dwOffset;
327 lpLCE = (LPLINECOUNTRYENTRY)(&lpLineCountryList[1]);
329 if(RegQueryInfoKeyA(hkey, NULL, NULL, NULL, &num_countries, &max_subkey_len,
330 NULL, NULL, NULL, NULL, NULL, NULL) != ERROR_SUCCESS) {
332 return LINEERR_STRUCTURETOOSMALL;
336 dwOffset = sizeof (LINECOUNTRYENTRY);
338 dwOffset += num_countries * sizeof (LINECOUNTRYENTRY);
341 subkey_name = HeapAlloc(GetProcessHeap(), 0, max_subkey_len);
342 for(i = 0; i < num_countries; i++)
344 DWORD len, size, size_int, size_long, size_name, size_same;
347 if(RegEnumKeyA(hkey, i, subkey_name, max_subkey_len) !=
351 if(dwCountryID && (atoi(subkey_name) != dwCountryID))
354 if(RegOpenKeyA(hkey, subkey_name, &hsubkey) != ERROR_SUCCESS)
357 RegQueryValueExA(hsubkey, "InternationalRule", NULL, NULL,
361 RegQueryValueExA(hsubkey, "LongDistanceRule", NULL, NULL,
365 RegQueryValueExA(hsubkey, "Name", NULL, NULL,
369 RegQueryValueExA(hsubkey, "SameAreaRule", NULL, NULL,
373 if(dwAvailSize < (dwOffset+len))
376 RegCloseKey(hsubkey);
382 lpLineCountryList->dwNumCountries++;
383 lpLineCountryList->dwCountryListSize += sizeof (LINECOUNTRYENTRY);
384 lpLineCountryList->dwUsedSize += len + sizeof (LINECOUNTRYENTRY);
389 lpLCE[i].dwCountryID = atoi(subkey_name);
390 size = sizeof(DWORD);
391 RegQueryValueExA(hsubkey, "CountryCode", NULL, NULL,
392 (BYTE*)&lpLCE[i].dwCountryCode, &size);
394 lpLCE[i].dwNextCountryID = 0;
397 lpLCE[i-1].dwNextCountryID = lpLCE[i].dwCountryID;
399 /* add country name */
400 lpLCE[i].dwCountryNameSize = size_name;
401 lpLCE[i].dwCountryNameOffset = dwOffset;
402 RegQueryValueExA(hsubkey, "Name", NULL, NULL,
403 ((LPSTR)lpLineCountryList)+dwOffset,
405 dwOffset += size_name;
407 /* add Same Area Rule */
408 lpLCE[i].dwSameAreaRuleSize = size_same;
409 lpLCE[i].dwSameAreaRuleOffset = dwOffset;
410 RegQueryValueExA(hsubkey, "SameAreaRule", NULL, NULL,
411 ((LPSTR)lpLineCountryList)+dwOffset,
413 dwOffset += size_same;
415 /* add Long Distance Rule */
416 lpLCE[i].dwLongDistanceRuleSize = size_long;
417 lpLCE[i].dwLongDistanceRuleOffset = dwOffset;
418 RegQueryValueExA(hsubkey, "LongDistanceRule", NULL, NULL,
419 ((LPSTR)lpLineCountryList)+dwOffset,
421 dwOffset += size_long;
423 /* add Long Distance Rule */
424 lpLCE[i].dwInternationalRuleSize = size_int;
425 lpLCE[i].dwInternationalRuleOffset = dwOffset;
426 RegQueryValueExA(hsubkey, "InternationalRule", NULL, NULL,
427 ((LPSTR)lpLineCountryList)+dwOffset,
429 dwOffset += size_int;
430 RegCloseKey(hsubkey);
432 TRACE("Added country %s at %p\n", (LPSTR)lpLineCountryList + lpLCE[i].dwCountryNameOffset,
435 if(dwCountryID) break;
438 lpLineCountryList->dwNeededSize = dwOffset;
440 TRACE("%ld available %ld required\n", dwAvailSize, dwOffset);
442 HeapFree(GetProcessHeap(), 0, subkey_name);
448 /***********************************************************************
449 * lineGetDevCaps (TAPI32.@)
451 DWORD WINAPI lineGetDevCaps(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, DWORD dwExtVersion, LPLINEDEVCAPS lpLineDevCaps)
453 FIXME("(%p, %08lx, %08lx, %08lx, %p): stub.\n", hLineApp, dwDeviceID, dwAPIVersion, dwExtVersion, lpLineDevCaps);
457 /***********************************************************************
458 * lineGetDevConfig (TAPI32.@)
460 DWORD WINAPI lineGetDevConfig(DWORD dwDeviceID, LPVARSTRING lpDeviceConfig, LPCSTR lpszDeviceClass)
462 FIXME("(%08lx, %p, %s): stub.\n", dwDeviceID, lpDeviceConfig, lpszDeviceClass);
466 /***********************************************************************
467 * lineGetID (TAPI32.@)
469 DWORD WINAPI lineGetID(HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect, LPVARSTRING lpDeviceID, LPCSTR lpszDeviceClass)
471 FIXME("(%p, %08lx, %p, %08lx, %p, %s): stub.\n", hLine, dwAddressID, hCall, dwSelect, lpDeviceID, lpszDeviceClass);
475 /***********************************************************************
476 * lineGetIcon (TAPI32.@)
478 DWORD WINAPI lineGetIcon(DWORD dwDeviceID, LPCSTR lpszDeviceClass, HICON *lphIcon)
480 FIXME("(%08lx, %s, %p): stub.\n", dwDeviceID, lpszDeviceClass, lphIcon);
484 /***********************************************************************
485 * lineGetLineDevStatus (TAPI32.@)
487 DWORD WINAPI lineGetLineDevStatus(HLINE hLine, LPLINEDEVSTATUS lpLineDevStatus)
489 FIXME("(%p, %p): stub.\n", hLine, lpLineDevStatus);
493 /***********************************************************************
494 * lineGetNewCalls (TAPI32.@)
496 DWORD WINAPI lineGetNewCalls(HLINE hLine, DWORD dwAddressID, DWORD dwSelect, LPLINECALLLIST lpCallList)
498 FIXME("(%p, %08lx, %08lx, %p): stub.\n", hLine, dwAddressID, dwSelect, lpCallList);
502 /***********************************************************************
503 * lineGetNumRings (TAPI32.@)
505 DWORD WINAPI lineGetNumRings(HLINE hLine, DWORD dwAddressID, LPDWORD lpdwNumRings)
507 FIXME("(%p, %08lx, %p): stub.\n", hLine, dwAddressID, lpdwNumRings);
511 /***********************************************************************
512 * lineGetProviderList (TAPI32.@)
514 DWORD WINAPI lineGetProviderList(DWORD dwAPIVersion, LPLINEPROVIDERLIST lpProviderList)
516 FIXME("(%08lx, %p): stub.\n", dwAPIVersion, lpProviderList);
520 /***********************************************************************
521 * lineGetRequest (TAPI32.@)
523 DWORD WINAPI lineGetRequest(HLINEAPP hLineApp, DWORD dwRequestMode, LPVOID lpRequestBuffer)
525 FIXME("%p, %08lx, %p): stub.\n", hLineApp, dwRequestMode, lpRequestBuffer);
529 /***********************************************************************
530 * lineGetStatusMessages (TAPI32.@)
532 DWORD WINAPI lineGetStatusMessages(HLINE hLine, LPDWORD lpdwLineStatus, LPDWORD lpdwAddressStates)
534 FIXME("(%p, %p, %p): stub.\n", hLine, lpdwLineStatus, lpdwAddressStates);
538 /***********************************************************************
539 * lineGetTranslateCaps (TAPI32.@)
541 DWORD WINAPI lineGetTranslateCaps(HLINEAPP hLineApp, DWORD dwAPIVersion, LPLINETRANSLATECAPS lpTranslateCaps)
543 FIXME("(%p, %08lx, %p): stub.\n", hLineApp, dwAPIVersion, lpTranslateCaps);
544 if(lpTranslateCaps->dwTotalSize >= sizeof(DWORD))
545 memset(&lpTranslateCaps->dwNeededSize, 0, lpTranslateCaps->dwTotalSize - sizeof(DWORD));
549 /***********************************************************************
550 * lineHandoff (TAPI32.@)
552 DWORD WINAPI lineHandoff(HCALL hCall, LPCSTR lpszFileName, DWORD dwMediaMode)
554 FIXME("(%p, %s, %08lx): stub.\n", hCall, lpszFileName, dwMediaMode);
558 /***********************************************************************
559 * lineHold (TAPI32.@)
561 DWORD WINAPI lineHold(HCALL hCall)
563 FIXME("(%p): stub.\n", hCall);
567 /***********************************************************************
568 * lineInitialize (TAPI32.@)
570 DWORD WINAPI lineInitialize(
571 LPHLINEAPP lphLineApp,
573 LINECALLBACK lpfnCallback,
577 FIXME("(%p, %p, %p, %s, %p): stub.\n", lphLineApp, hInstance,
578 lpfnCallback, debugstr_a(lpszAppName), lpdwNumDevs);
582 /***********************************************************************
583 * lineMakeCall (TAPI32.@)
585 DWORD WINAPI lineMakeCall(HLINE hLine, LPHCALL lphCall, LPCSTR lpszDestAddress, DWORD dwCountryCode, LPLINECALLPARAMS lpCallParams)
587 FIXME("(%p, %p, %s, %08lx, %p): stub.\n", hLine, lphCall, lpszDestAddress, dwCountryCode, lpCallParams);
591 /***********************************************************************
592 * lineMonitorDigits (TAPI32.@)
594 DWORD WINAPI lineMonitorDigits(HCALL hCall, DWORD dwDigitModes)
596 FIXME("(%p, %08lx): stub.\n", hCall, dwDigitModes);
600 /***********************************************************************
601 * lineMonitorMedia (TAPI32.@)
603 DWORD WINAPI lineMonitorMedia(HCALL hCall, DWORD dwMediaModes)
605 FIXME("(%p, %08lx): stub.\n", hCall, dwMediaModes);
609 /***********************************************************************
610 * lineMonitorTones (TAPI32.@)
612 DWORD WINAPI lineMonitorTones(HCALL hCall, LPLINEMONITORTONE lpToneList, DWORD dwNumEntries)
614 FIXME("(%p, %p, %08lx): stub.\n", hCall, lpToneList, dwNumEntries);
618 /***********************************************************************
619 * lineNegotiateAPIVersion (TAPI32.@)
621 DWORD WINAPI lineNegotiateAPIVersion(
624 DWORD dwAPILowVersion,
625 DWORD dwAPIHighVersion,
626 LPDWORD lpdwAPIVersion,
627 LPLINEEXTENSIONID lpExtensionID
630 FIXME("(%p, %ld, %ld, %ld, %p, %p): stub.\n", hLineApp, dwDeviceID,
631 dwAPILowVersion, dwAPIHighVersion, lpdwAPIVersion, lpExtensionID);
632 *lpdwAPIVersion = dwAPIHighVersion;
636 /***********************************************************************
637 * lineNegotiateExtVersion (TAPI32.@)
639 DWORD WINAPI lineNegotiateExtVersion(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, DWORD dwExtLowVersion, DWORD dwExtHighVersion, LPDWORD lpdwExtVersion)
645 /***********************************************************************
646 * lineOpen (TAPI32.@)
648 DWORD WINAPI lineOpen(HLINEAPP hLineApp, DWORD dwDeviceID, LPHLINE lphLine, DWORD dwAPIVersion, DWORD dwExtVersion, DWORD dwCallbackInstance, DWORD dwPrivileges, DWORD dwMediaModes, LPLINECALLPARAMS lpCallParams)
654 /***********************************************************************
655 * linePark (TAPI32.@)
657 DWORD WINAPI linePark(HCALL hCall, DWORD dwParkMode, LPCSTR lpszDirAddress, LPVARSTRING lpNonDirAddress)
659 FIXME("(%p, %08lx, %s, %p): stub.\n", hCall, dwParkMode, lpszDirAddress, lpNonDirAddress);
663 /***********************************************************************
664 * linePickup (TAPI32.@)
666 DWORD WINAPI linePickup(HLINE hLine, DWORD dwAddressID, LPHCALL lphCall, LPCSTR lpszDestAddress, LPCSTR lpszGroupID)
668 FIXME("(%p, %08lx, %p, %s, %s): stub.\n", hLine, dwAddressID, lphCall, lpszDestAddress, lpszGroupID);
672 /***********************************************************************
673 * linePrepareAddToConference (TAPI32.@)
675 DWORD WINAPI linePrepareAddToConference(HCALL hConfCall, LPHCALL lphConsultCall, LPLINECALLPARAMS lpCallParams)
677 FIXME("(%p, %p, %p): stub.\n", hConfCall, lphConsultCall, lpCallParams);
681 /***********************************************************************
682 * lineRedirect (TAPI32.@)
684 DWORD WINAPI lineRedirect(
686 LPCSTR lpszDestAddress,
687 DWORD dwCountryCode) {
693 /***********************************************************************
694 * lineRegisterRequestRecipient (TAPI32.@)
696 DWORD WINAPI lineRegisterRequestRecipient(HLINEAPP hLineApp, DWORD dwRegistrationInstance, DWORD dwRequestMode, DWORD dwEnable)
698 FIXME("(%p, %08lx, %08lx, %08lx): stub.\n", hLineApp, dwRegistrationInstance, dwRequestMode, dwEnable);
702 /***********************************************************************
703 * lineReleaseUserUserInfo (TAPI32.@)
705 DWORD WINAPI lineReleaseUserUserInfo(HCALL hCall)
707 FIXME("(%p): stub.\n", hCall);
711 /***********************************************************************
712 * lineRemoveFromConference (TAPI32.@)
714 DWORD WINAPI lineRemoveFromConference(HCALL hCall)
716 FIXME("(%p): stub.\n", hCall);
720 /***********************************************************************
721 * lineRemoveProvider (TAPI32.@)
723 DWORD WINAPI lineRemoveProvider(DWORD dwPermanentProviderID, HWND hwndOwner)
725 FIXME("(%08lx, %p): stub.\n", dwPermanentProviderID, hwndOwner);
729 /***********************************************************************
730 * lineSecureCall (TAPI32.@)
732 DWORD WINAPI lineSecureCall(HCALL hCall)
734 FIXME("(%p): stub.\n", hCall);
738 /***********************************************************************
739 * lineSendUserUserInfo (TAPI32.@)
741 DWORD WINAPI lineSendUserUserInfo(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
743 FIXME("(%p, %s, %08lx): stub.\n", hCall, lpsUserUserInfo, dwSize);
747 /***********************************************************************
748 * lineSetAppPriority (TAPI32.@)
750 DWORD WINAPI lineSetAppPriority(LPCSTR lpszAppFilename, DWORD dwMediaMode, LPLINEEXTENSIONID const lpExtensionID, DWORD dwRequestMode, LPCSTR lpszExtensionName, DWORD dwPriority)
752 FIXME("(%s, %08lx, %p, %08lx, %s, %08lx): stub.\n", lpszAppFilename, dwMediaMode, lpExtensionID, dwRequestMode, lpszExtensionName, dwPriority);
756 /***********************************************************************
757 * lineSetAppSpecific (TAPI32.@)
759 DWORD WINAPI lineSetAppSpecific(HCALL hCall, DWORD dwAppSpecific)
761 FIXME("(%p, %08lx): stub.\n", hCall, dwAppSpecific);
765 /***********************************************************************
766 * lineSetCallParams (TAPI32.@)
768 DWORD WINAPI lineSetCallParams(HCALL hCall, DWORD dwBearerMode, DWORD dwMinRate, DWORD dwMaxRate, LPLINEDIALPARAMS lpDialParams)
770 FIXME("(%p, %08lx, %08lx, %08lx, %p): stub.\n", hCall, dwBearerMode, dwMinRate, dwMaxRate, lpDialParams);
774 /***********************************************************************
775 * lineSetCallPrivilege (TAPI32.@)
777 DWORD WINAPI lineSetCallPrivilege(HCALL hCall, DWORD dwCallPrivilege)
779 FIXME("(%p, %08lx): stub.\n", hCall, dwCallPrivilege);
783 /***********************************************************************
784 * lineSetCurrentLocation (TAPI32.@)
786 DWORD WINAPI lineSetCurrentLocation(HLINEAPP hLineApp, DWORD dwLocation)
788 FIXME("(%p, %08lx): stub.\n", hLineApp, dwLocation);
792 /***********************************************************************
793 * lineSetDevConfig (TAPI32.@)
795 DWORD WINAPI lineSetDevConfig(DWORD dwDeviceID, LPVOID lpDeviceConfig, DWORD dwSize, LPCSTR lpszDeviceClass)
797 FIXME("(%08lx, %p, %08lx, %s): stub.\n", dwDeviceID, lpDeviceConfig, dwSize, lpszDeviceClass);
801 /***********************************************************************
802 * lineSetMediaControl (TAPI32.@)
804 DWORD WINAPI lineSetMediaControl(
809 LPLINEMEDIACONTROLDIGIT const lpDigitList,
810 DWORD dwDigitNumEntries,
811 LPLINEMEDIACONTROLMEDIA const lpMediaList,
812 DWORD dwMediaNumEntries,
813 LPLINEMEDIACONTROLTONE const lpToneList,
814 DWORD dwToneNumEntries,
815 LPLINEMEDIACONTROLCALLSTATE const lpCallStateList,
816 DWORD dwCallStateNumEntries)
822 /***********************************************************************
823 * lineSetMediaMode (TAPI32.@)
825 DWORD WINAPI lineSetMediaMode(HCALL hCall, DWORD dwMediaModes)
827 FIXME("(%p, %08lx): stub.\n", hCall, dwMediaModes);
831 /***********************************************************************
832 * lineSetNumRings (TAPI32.@)
834 DWORD WINAPI lineSetNumRings(HLINE hLine, DWORD dwAddressID, DWORD dwNumRings)
836 FIXME("(%p, %08lx, %08lx): stub.\n", hLine, dwAddressID, dwNumRings);
840 /***********************************************************************
841 * lineSetStatusMessages (TAPI32.@)
843 DWORD WINAPI lineSetStatusMessages(HLINE hLine, DWORD dwLineStates, DWORD dwAddressStates)
845 FIXME("(%p, %08lx, %08lx): stub.\n", hLine, dwLineStates, dwAddressStates);
849 /***********************************************************************
850 * lineSetTerminal (TAPI32.@)
852 DWORD WINAPI lineSetTerminal(HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect, DWORD dwTerminalModes, DWORD dwTerminalID, DWORD bEnable)
854 FIXME("(%p, %08lx, %p, %08lx, %08lx, %08lx, %08lx): stub.\n", hLine, dwAddressID, hCall, dwSelect, dwTerminalModes, dwTerminalID, bEnable);
858 /***********************************************************************
859 * lineSetTollList (TAPI32.@)
861 DWORD WINAPI lineSetTollList(HLINEAPP hLineApp, DWORD dwDeviceID, LPCSTR lpszAddressIn, DWORD dwTollListOption)
863 FIXME("(%p, %08lx, %s, %08lx): stub.\n", hLineApp, dwDeviceID, lpszAddressIn, dwTollListOption);
867 /***********************************************************************
868 * lineSetupConference (TAPI32.@)
870 DWORD WINAPI lineSetupConference(HCALL hCall, HLINE hLine, LPHCALL lphConfCall, LPHCALL lphConsultCall, DWORD dwNumParties, LPLINECALLPARAMS lpCallParams)
872 FIXME("(%p, %p, %p, %p, %08lx, %p): stub.\n", hCall, hLine, lphConfCall, lphConsultCall, dwNumParties, lpCallParams);
876 /***********************************************************************
877 * lineSetupTransfer (TAPI32.@)
879 DWORD WINAPI lineSetupTransfer(HCALL hCall, LPHCALL lphConsultCall, LPLINECALLPARAMS lpCallParams)
881 FIXME("(%p, %p, %p): stub.\n", hCall, lphConsultCall, lpCallParams);
885 /***********************************************************************
886 * lineShutdown (TAPI32.@)
888 DWORD WINAPI lineShutdown(HLINEAPP hLineApp)
890 FIXME("(%p): stub.\n", hLineApp);
894 /***********************************************************************
895 * lineSwapHold (TAPI32.@)
897 DWORD WINAPI lineSwapHold(HCALL hActiveCall, HCALL hHeldCall)
899 FIXME("(active: %p, held: %p): stub.\n", hActiveCall, hHeldCall);
903 /***********************************************************************
904 * lineTranslateAddress (TAPI32.@)
906 DWORD WINAPI lineTranslateAddress(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, LPCSTR lpszAddressIn, DWORD dwCard, DWORD dwTranslateOptions, LPLINETRANSLATEOUTPUT lpTranslateOutput)
908 FIXME("(%p, %08lx, %08lx, %s, %08lx, %08lx, %p): stub.\n", hLineApp, dwDeviceID, dwAPIVersion, lpszAddressIn, dwCard, dwTranslateOptions, lpTranslateOutput);
912 /***********************************************************************
913 * lineTranslateDialog (TAPI32.@)
915 DWORD WINAPI lineTranslateDialog(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, HWND hwndOwner, LPCSTR lpszAddressIn)
917 FIXME("(%p, %08lx, %08lx, %p, %s): stub.\n", hLineApp, dwDeviceID, dwAPIVersion, hwndOwner, lpszAddressIn);
921 /***********************************************************************
922 * lineUncompleteCall (TAPI32.@)
924 DWORD WINAPI lineUncompleteCall(HLINE hLine, DWORD dwCompletionID)
926 FIXME("(%p, %08lx): stub.\n", hLine, dwCompletionID);
930 /***********************************************************************
931 * lineUnhold (TAPI32.@)
933 DWORD WINAPI lineUnhold(HCALL hCall)
935 FIXME("(%p): stub.\n", hCall);
939 /***********************************************************************
940 * lineUnpark (TAPI32.@)
942 DWORD WINAPI lineUnpark(HLINE hLine, DWORD dwAddressID, LPHCALL lphCall, LPCSTR lpszDestAddress)
944 FIXME("(%p, %08lx, %p, %s): stub.\n", hLine, dwAddressID, lphCall, lpszDestAddress);