4 * Copyright 1999 Andreas Mohr
13 #include "debugtools.h"
15 DEFAULT_DEBUG_CHANNEL(tapi);
17 /***********************************************************************
18 * lineAccept (TAPI32.@)
20 DWORD WINAPI lineAccept(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
22 FIXME("(%04x, %s, %ld): stub.\n", hCall, lpsUserUserInfo, dwSize);
26 /***********************************************************************
27 * lineAddProvider (TAPI32.@)
29 DWORD WINAPI lineAddProvider(LPCSTR lpszProviderName, HWND hwndOwner, LPDWORD lpdwPermanentProviderID)
31 FIXME("(%s, %04x, %p): stub.\n", lpszProviderName, hwndOwner, lpdwPermanentProviderID);
35 /***********************************************************************
36 * lineAddToConference (TAPI32.@)
38 DWORD WINAPI lineAddToConference(HCALL hConfCall, HCALL hConsultCall)
40 FIXME("(%04x, %04x): stub.\n", hConfCall, hConsultCall);
44 /***********************************************************************
45 * lineAnswer (TAPI32.@)
47 DWORD WINAPI lineAnswer(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
49 FIXME("(%04x, %s, %ld): stub.\n", hCall, lpsUserUserInfo, dwSize);
53 /***********************************************************************
54 * lineBlindTransfer (TAPI32.@)
56 DWORD WINAPI lineBlindTransfer(HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode)
58 FIXME("(%04x, %s, %08lx): stub.\n", hCall, lpszDestAddress, dwCountryCode);
62 /***********************************************************************
63 * lineClose (TAPI32.@)
65 DWORD WINAPI lineClose(HLINE hLine)
67 FIXME("(%04x): stub.\n", hLine);
71 /***********************************************************************
72 * lineCompleteCall (TAPI32.@)
74 DWORD WINAPI lineCompleteCall(HCALL hCall, LPDWORD lpdwCompletionID, DWORD dwCompletionMode, DWORD dwMessageID)
76 FIXME("(%04x, %p, %08lx, %08lx): stub.\n", hCall, lpdwCompletionID, dwCompletionMode, dwMessageID);
80 /***********************************************************************
81 * lineCompleteTransfer (TAPI32.@)
83 DWORD WINAPI lineCompleteTransfer(HCALL hCall, HCALL hConsultCall, LPHCALL lphConfCall, DWORD dwTransferMode)
85 FIXME("(%04x, %04x, %p, %08lx): stub.\n", hCall, hConsultCall, lphConfCall, dwTransferMode);
89 /***********************************************************************
90 * lineConfigDialog (TAPI32.@)
92 DWORD WINAPI lineConfigDialog(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass)
94 FIXME("(%08lx, %04x, %s): stub.\n", dwDeviceID, hwndOwner, lpszDeviceClass);
98 /***********************************************************************
99 * lineConfigDialogEdit (TAPI32.@)
101 DWORD WINAPI lineConfigDialogEdit(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass, LPVOID const lpDeviceConfigIn, DWORD dwSize, LPVARSTRING lpDeviceConfigOut)
107 /***********************************************************************
108 * lineConfigProvider (TAPI32.@)
110 DWORD WINAPI lineConfigProvider(HWND hwndOwner, DWORD dwPermanentProviderID)
112 FIXME("(%04x, %08lx): stub.\n", hwndOwner, dwPermanentProviderID);
116 /***********************************************************************
117 * lineDeallocateCall (TAPI32.@)
119 DWORD WINAPI lineDeallocateCall(HCALL hCall)
121 FIXME("(%04x): stub.\n", hCall);
125 /***********************************************************************
126 * lineDevSpecific (TAPI32.@)
128 DWORD WINAPI lineDevSpecific(HLINE hLine, DWORD dwAddressId, HCALL hCall, LPVOID lpParams, DWORD dwSize)
130 FIXME("(%04x, %08lx, %04x, %p, %ld): stub.\n", hLine, dwAddressId, hCall, lpParams, dwSize);
134 /***********************************************************************
135 * lineDevSpecificFeature (TAPI32.@)
137 DWORD WINAPI lineDevSpecificFeature(HLINE hLine, DWORD dwFeature, LPVOID lpParams, DWORD dwSize)
139 FIXME("(%04x, %08lx, %p, %ld): stub.\n", hLine, dwFeature, lpParams, dwSize);
143 /***********************************************************************
144 * lineDial (TAPI32.@)
146 DWORD WINAPI lineDial(HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode)
148 FIXME("(%04x, %s, %08lx): stub.\n", hCall, lpszDestAddress, dwCountryCode);
152 /***********************************************************************
153 * lineDrop (TAPI32.@)
155 DWORD WINAPI lineDrop(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
157 FIXME("(%04x, %s, %08lx): stub.\n", hCall, lpsUserUserInfo, dwSize);
161 /***********************************************************************
162 * lineForward (TAPI32.@)
164 DWORD WINAPI lineForward(HLINE hLine, DWORD bAllAddress, DWORD dwAdressID, LPLINEFORWARDLIST lpForwardList, DWORD dwNumRingsNoAnswer, LPHCALL lphConsultCall, LPLINECALLPARAMS lpCallParams)
170 /***********************************************************************
171 * lineGatherDigits (TAPI32.@)
173 DWORD WINAPI lineGatherDigits(HCALL hCall, DWORD dwDigitModes, LPSTR lpsDigits, DWORD dwNumDigits, LPCSTR lpszTerminationDigits, DWORD dwFirstDigitTimeout, DWORD dwInterDigitTimeout)
179 /***********************************************************************
180 * lineGenerateDigits (TAPI32.@)
182 DWORD WINAPI lineGenerateDigits(HCALL hCall, DWORD dwDigitModes, LPCSTR lpszDigits, DWORD dwDuration)
184 FIXME("(%04x, %08lx, %s, %ld): stub.\n", hCall, dwDigitModes, lpszDigits, dwDuration);
188 /***********************************************************************
189 * lineGenerateTone (TAPI32.@)
191 DWORD WINAPI lineGenerateTone(HCALL hCall, DWORD dwToneMode, DWORD dwDuration, DWORD dwNumTones, LPLINEGENERATETONE lpTones)
193 FIXME("(%04x, %08lx, %ld, %ld, %p): stub.\n", hCall, dwToneMode, dwDuration, dwNumTones, lpTones);
197 /***********************************************************************
198 * lineGetAddressCaps (TAPI32.@)
200 DWORD WINAPI lineGetAddressCaps(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAddressID, DWORD dwAPIVersion, DWORD dwExtVersion, LPLINEADDRESSCAPS lpAddressCaps)
202 FIXME("(%04x, %08lx, %08lx, %08lx, %08lx, %p): stub.\n", hLineApp, dwDeviceID, dwAddressID, dwAPIVersion, dwExtVersion, lpAddressCaps);
206 /***********************************************************************
207 * lineGetAddressID (TAPI32.@)
209 DWORD WINAPI lineGetAddressID(HLINE hLine, LPDWORD lpdwAddressID, DWORD dwAddressMode, LPCSTR lpsAddress, DWORD dwSize)
211 FIXME("%04x, %p, %08lx, %s, %ld): stub.\n", hLine, lpdwAddressID, dwAddressMode, lpsAddress, dwSize);
215 /***********************************************************************
216 * lineGetAddressStatus (TAPI32.@)
218 DWORD WINAPI lineGetAddressStatus(HLINE hLine, DWORD dwAddressID, LPLINEADDRESSSTATUS lpAddressStatus)
220 FIXME("(%04x, %08lx, %p): stub.\n", hLine, dwAddressID, lpAddressStatus);
224 /***********************************************************************
225 * lineGetAppPriority (TAPI32.@)
227 DWORD WINAPI lineGetAppPriority(LPCSTR lpszAppFilename, DWORD dwMediaMode, LPLINEEXTENSIONID const lpExtensionID, DWORD dwRequestMode, LPVARSTRING lpExtensionName, LPDWORD lpdwPriority)
229 FIXME("(%s, %08lx, %p, %08lx, %p, %p): stub.\n", lpszAppFilename, dwMediaMode, lpExtensionID, dwRequestMode, lpExtensionName, lpdwPriority);
233 /***********************************************************************
234 * lineGetCallInfo (TAPI32.@)
236 DWORD WINAPI lineGetCallInfo(HCALL hCall, LPLINECALLINFO lpCallInfo)
238 FIXME("(%04x, %p): stub.\n", hCall, lpCallInfo);
242 /***********************************************************************
243 * lineGetCallStatus (TAPI32.@)
245 DWORD WINAPI lineGetCallStatus(HCALL hCall, LPLINECALLSTATUS lpCallStatus)
247 FIXME("(%04x, %p): stub.\n", hCall, lpCallStatus);
251 /***********************************************************************
252 * lineGetConfRelatedCalls (TAPI32.@)
254 DWORD WINAPI lineGetConfRelatedCalls(HCALL hCall, LPLINECALLLIST lpCallList)
256 FIXME("(%04x, %p): stub.\n", hCall, lpCallList);
260 typedef struct tagTAPI_CountryInfo
265 LPSTR lpSameAreaRule;
266 LPSTR lpLongDistanceRule;
267 LPSTR lpInternationalRule;
270 /* FIXME: this should be stored in an ini file... perhaps TAPI.INI */
271 static TAPI_CountryInfo TAPI_LCList[] =
273 { 1, 61, "Australia", "", "0", "0011" },
274 { 2, 86, "China", "", "0", "00" },
275 { 3, 82, "Korea", "", "0", "00" },
276 { 4, 1, "USA", "", "0", "001" },
279 #define NUMCOUNTRIES (sizeof TAPI_LCList/sizeof (TAPI_CountryInfo))
281 /***********************************************************************
282 * lineGetCountry (TAPI32.@)
284 DWORD WINAPI lineGetCountry(DWORD dwCountryID, DWORD dwAPIVersion, LPLINECOUNTRYLIST lpLineCountryList)
286 DWORD dwAvailSize, dwOffset, i;
287 LPLINECOUNTRYENTRY lpLCE;
289 TRACE("(%08lx, %08lx, %p): stub.\n", dwCountryID, dwAPIVersion, lpLineCountryList);
291 dwAvailSize = lpLineCountryList->dwTotalSize;
292 dwOffset = sizeof (LINECOUNTRYLIST);
294 if(dwAvailSize<dwOffset)
295 return LINEERR_STRUCTURETOOSMALL;
297 if(!lpLineCountryList)
298 return LINEERR_INVALPOINTER;
300 memset(lpLineCountryList, 0, dwAvailSize);
302 lpLineCountryList->dwUsedSize = dwOffset;
303 lpLineCountryList->dwNumCountries = 0;
304 lpLineCountryList->dwCountryListSize = 0;
305 lpLineCountryList->dwCountryListOffset = dwOffset;
307 lpLCE = (LPLINECOUNTRYENTRY)(&lpLineCountryList[1]);
308 dwOffset+= NUMCOUNTRIES * sizeof (LINECOUNTRYENTRY);
310 for(i=0; i<NUMCOUNTRIES; i++)
315 if(dwCountryID && (TAPI_LCList[i].dwCountryID != dwCountryID))
318 len = strlen (TAPI_LCList[i].lpCountryName)+1;
319 len += strlen (TAPI_LCList[i].lpSameAreaRule)+1;
320 len += strlen (TAPI_LCList[i].lpLongDistanceRule)+1;
321 len += strlen (TAPI_LCList[i].lpInternationalRule)+1;
323 if(dwAvailSize<(dwOffset+len))
329 lpLineCountryList->dwNumCountries++;
330 lpLineCountryList->dwCountryListSize += len;
331 lpLineCountryList->dwUsedSize += sizeof (LINECOUNTRYENTRY); /* maybe wrong */
333 TRACE("Adding country %s at %p\n", TAPI_LCList[i].lpCountryName, lpLCE);
335 lpLCE[i].dwCountryID = TAPI_LCList[i].dwCountryID;
336 lpLCE[i].dwCountryCode = TAPI_LCList[i].dwCountryCode;
338 /* deal with troublesome dwNextCountryID */
339 if( (i+1) == NUMCOUNTRIES )
340 lpLCE[i].dwNextCountryID = 0;
342 lpLCE[i].dwNextCountryID = TAPI_LCList[i+1].dwCountryID;
344 /* add country name */
345 len = strlen(TAPI_LCList[i].lpCountryName)+1;
346 lpLCE[i].dwCountryNameSize = len;
347 lpLCE[i].dwCountryNameOffset = dwOffset;
348 lpstr = ((LPSTR)lpLineCountryList)+dwOffset;
349 strcpy(lpstr, TAPI_LCList[i].lpCountryName);
352 /* add Same Area Rule */
353 len = strlen (TAPI_LCList[i].lpSameAreaRule)+1;
354 lpLCE[i].dwSameAreaRuleSize = len;
355 lpLCE[i].dwSameAreaRuleOffset = dwOffset;
356 lpstr = ((LPSTR)lpLineCountryList)+dwOffset;
357 strcpy(lpstr, TAPI_LCList[i].lpSameAreaRule);
360 /* add Long Distance Rule */
361 len = strlen (TAPI_LCList[i].lpLongDistanceRule)+1;
362 lpLCE[i].dwLongDistanceRuleSize = len;
363 lpLCE[i].dwLongDistanceRuleOffset = dwOffset;
364 lpstr = ((LPSTR)lpLineCountryList)+dwOffset;
365 strcpy(lpstr, TAPI_LCList[i].lpLongDistanceRule);
368 /* add Long Distance Rule */
369 len = strlen (TAPI_LCList[i].lpInternationalRule)+1;
370 lpLCE[i].dwInternationalRuleSize = len;
371 lpLCE[i].dwInternationalRuleOffset = dwOffset;
372 lpstr = ((LPSTR)lpLineCountryList)+dwOffset;
373 strcpy(lpstr, TAPI_LCList[i].lpInternationalRule);
377 lpLineCountryList->dwNeededSize = dwOffset;
379 TRACE("%ld available %ld required\n", dwAvailSize, dwOffset);
384 /***********************************************************************
385 * lineGetDevCaps (TAPI32.@)
387 DWORD WINAPI lineGetDevCaps(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, DWORD dwExtVersion, LPLINEDEVCAPS lpLineDevCaps)
389 FIXME("(%04x, %08lx, %08lx, %08lx, %p): stub.\n", hLineApp, dwDeviceID, dwAPIVersion, dwExtVersion, lpLineDevCaps);
393 /***********************************************************************
394 * lineGetDevConfig (TAPI32.@)
396 DWORD WINAPI lineGetDevConfig(DWORD dwDeviceID, LPVARSTRING lpDeviceConfig, LPCSTR lpszDeviceClass)
398 FIXME("(%08lx, %p, %s): stub.\n", dwDeviceID, lpDeviceConfig, lpszDeviceClass);
402 /***********************************************************************
403 * lineGetID (TAPI32.@)
405 DWORD WINAPI lineGetID(HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect, LPVARSTRING lpDeviceID, LPCSTR lpszDeviceClass)
407 FIXME("(%04x, %08lx, %04x, %08lx, %p, %s): stub.\n", hLine, dwAddressID, hCall, dwSelect, lpDeviceID, lpszDeviceClass);
411 /***********************************************************************
412 * lineGetIcon (TAPI32.@)
414 DWORD WINAPI lineGetIcon(DWORD dwDeviceID, LPCSTR lpszDeviceClass, HICON *lphIcon)
416 FIXME("(%08lx, %s, %p): stub.\n", dwDeviceID, lpszDeviceClass, lphIcon);
420 /***********************************************************************
421 * lineGetLineDevStatus (TAPI32.@)
423 DWORD WINAPI lineGetLineDevStatus(HLINE hLine, LPLINEDEVSTATUS lpLineDevStatus)
425 FIXME("(%04x, %p): stub.\n", hLine, lpLineDevStatus);
429 /***********************************************************************
430 * lineGetNewCalls (TAPI32.@)
432 DWORD WINAPI lineGetNewCalls(HLINE hLine, DWORD dwAddressID, DWORD dwSelect, LPLINECALLLIST lpCallList)
434 FIXME("(%04x, %08lx, %08lx, %p): stub.\n", hLine, dwAddressID, dwSelect, lpCallList);
438 /***********************************************************************
439 * lineGetNumRings (TAPI32.@)
441 DWORD WINAPI lineGetNumRings(HLINE hLine, DWORD dwAddressID, LPDWORD lpdwNumRings)
443 FIXME("(%04x, %08lx, %p): stub.\n", hLine, dwAddressID, lpdwNumRings);
447 /***********************************************************************
448 * lineGetProviderList (TAPI32.@)
450 DWORD WINAPI lineGetProviderList(DWORD dwAPIVersion, LPLINEPROVIDERLIST lpProviderList)
452 FIXME("(%08lx, %p): stub.\n", dwAPIVersion, lpProviderList);
456 /***********************************************************************
457 * lineGetRequest (TAPI32.@)
459 DWORD WINAPI lineGetRequest(HLINEAPP hLineApp, DWORD dwRequestMode, LPVOID lpRequestBuffer)
461 FIXME("%04x, %08lx, %p): stub.\n", hLineApp, dwRequestMode, lpRequestBuffer);
465 /***********************************************************************
466 * lineGetStatusMessages (TAPI32.@)
468 DWORD WINAPI lineGetStatusMessages(HLINE hLine, LPDWORD lpdwLineStatus, LPDWORD lpdwAddressStates)
470 FIXME("(%04x, %p, %p): stub.\n", hLine, lpdwLineStatus, lpdwAddressStates);
474 /***********************************************************************
475 * lineGetTranslateCaps (TAPI32.@)
477 DWORD WINAPI lineGetTranslateCaps(HLINEAPP hLineApp, DWORD dwAPIVersion, LPLINETRANSLATECAPS lpTranslateCaps)
479 FIXME("(%04x, %08lx, %p): stub.\n", hLineApp, dwAPIVersion, lpTranslateCaps);
483 /***********************************************************************
484 * lineHandoff (TAPI32.@)
486 DWORD WINAPI lineHandoff(HCALL hCall, LPCSTR lpszFileName, DWORD dwMediaMode)
488 FIXME("(%04x, %s, %08lx): stub.\n", hCall, lpszFileName, dwMediaMode);
492 /***********************************************************************
493 * lineHold (TAPI32.@)
495 DWORD WINAPI lineHold(HCALL hCall)
497 FIXME("(%04x): stub.\n", hCall);
501 /***********************************************************************
502 * lineInitialize (TAPI32.@)
504 DWORD WINAPI lineInitialize(
505 LPHLINEAPP lphLineApp,
507 LINECALLBACK lpfnCallback,
511 FIXME("(%p, %04x, %p, %s, %p): stub.\n", lphLineApp, hInstance,
512 lpfnCallback, debugstr_a(lpszAppName), lpdwNumDevs);
516 /***********************************************************************
517 * lineMakeCall (TAPI32.@)
519 DWORD WINAPI lineMakeCall(HLINE hLine, LPHCALL lphCall, LPCSTR lpszDestAddress, DWORD dwCountryCode, LPLINECALLPARAMS lpCallParams)
521 FIXME("(%04x, %p, %s, %08lx, %p): stub.\n", hLine, lphCall, lpszDestAddress, dwCountryCode, lpCallParams);
525 /***********************************************************************
526 * lineMonitorDigits (TAPI32.@)
528 DWORD WINAPI lineMonitorDigits(HCALL hCall, DWORD dwDigitModes)
530 FIXME("(%04x, %08lx): stub.\n", hCall, dwDigitModes);
534 /***********************************************************************
535 * lineMonitorMedia (TAPI32.@)
537 DWORD WINAPI lineMonitorMedia(HCALL hCall, DWORD dwMediaModes)
539 FIXME("(%04x, %08lx): stub.\n", hCall, dwMediaModes);
543 /***********************************************************************
544 * lineMonitorTones (TAPI32.@)
546 DWORD WINAPI lineMonitorTones(HCALL hCall, LPLINEMONITORTONE lpToneList, DWORD dwNumEntries)
548 FIXME("(%04x, %p, %08lx): stub.\n", hCall, lpToneList, dwNumEntries);
552 /***********************************************************************
553 * lineNegotiateAPIVersion (TAPI32.@)
555 DWORD WINAPI lineNegotiateAPIVersion(
558 DWORD dwAPILowVersion,
559 DWORD dwAPIHighVersion,
560 LPDWORD lpdwAPIVersion,
561 LPLINEEXTENSIONID lpExtensionID
564 FIXME("(%04x, %ld, %ld, %ld, %p, %p): stub.\n", hLineApp, dwDeviceID,
565 dwAPILowVersion, dwAPIHighVersion, lpdwAPIVersion, lpExtensionID);
566 *lpdwAPIVersion = dwAPIHighVersion;
570 /***********************************************************************
571 * lineNegotiateExtVersion (TAPI32.@)
573 DWORD WINAPI lineNegotiateExtVersion(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, DWORD dwExtLowVersion, DWORD dwExtHighVersion, LPDWORD lpdwExtVersion)
579 /***********************************************************************
580 * lineOpen (TAPI32.@)
582 DWORD WINAPI lineOpen(HLINEAPP hLineApp, DWORD dwDeviceID, LPHLINE lphLine, DWORD dwAPIVersion, DWORD dwExtVersion, DWORD dwCallbackInstance, DWORD dwPrivileges, DWORD dwMediaModes, LPLINECALLPARAMS lpCallParams)
588 /***********************************************************************
589 * linePark (TAPI32.@)
591 DWORD WINAPI linePark(HCALL hCall, DWORD dwParkMode, LPCSTR lpszDirAddress, LPVARSTRING lpNonDirAddress)
593 FIXME("(%04x, %08lx, %s, %p): stub.\n", hCall, dwParkMode, lpszDirAddress, lpNonDirAddress);
597 /***********************************************************************
598 * linePickup (TAPI32.@)
600 DWORD WINAPI linePickup(HLINE hLine, DWORD dwAddressID, LPHCALL lphCall, LPCSTR lpszDestAddress, LPCSTR lpszGroupID)
602 FIXME("(%04x, %08lx, %p, %s, %s): stub.\n", hLine, dwAddressID, lphCall, lpszDestAddress, lpszGroupID);
606 /***********************************************************************
607 * linePrepareAddToConference (TAPI32.@)
609 DWORD WINAPI linePrepareAddToConference(HCALL hConfCall, LPHCALL lphConsultCall, LPLINECALLPARAMS lpCallParams)
611 FIXME("(%04x, %p, %p): stub.\n", hConfCall, lphConsultCall, lpCallParams);
615 /***********************************************************************
616 * lineRedirect (TAPI32.@)
618 DWORD WINAPI lineRedirect(
620 LPCSTR lpszDestAddress,
621 DWORD dwCountryCode) {
627 /***********************************************************************
628 * lineRegisterRequestRecipient (TAPI32.@)
630 DWORD WINAPI lineRegisterRequestRecipient(HLINEAPP hLineApp, DWORD dwRegistrationInstance, DWORD dwRequestMode, DWORD dwEnable)
632 FIXME("(%04x, %08lx, %08lx, %08lx): stub.\n", hLineApp, dwRegistrationInstance, dwRequestMode, dwEnable);
636 /***********************************************************************
637 * lineReleaseUserUserInfo (TAPI32.@)
639 DWORD WINAPI lineReleaseUserUserInfo(HCALL hCall)
641 FIXME("(%04x): stub.\n", hCall);
645 /***********************************************************************
646 * lineRemoveFromConference (TAPI32.@)
648 DWORD WINAPI lineRemoveFromConference(HCALL hCall)
650 FIXME("(%04x): stub.\n", hCall);
654 /***********************************************************************
655 * lineRemoveProvider (TAPI32.@)
657 DWORD WINAPI lineRemoveProvider(DWORD dwPermanentProviderID, HWND hwndOwner)
659 FIXME("(%08lx, %04x): stub.\n", dwPermanentProviderID, hwndOwner);
663 /***********************************************************************
664 * lineSecureCall (TAPI32.@)
666 DWORD WINAPI lineSecureCall(HCALL hCall)
668 FIXME("(%04x): stub.\n", hCall);
672 /***********************************************************************
673 * lineSendUserUserInfo (TAPI32.@)
675 DWORD WINAPI lineSendUserUserInfo(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
677 FIXME("(%04x, %s, %08lx): stub.\n", hCall, lpsUserUserInfo, dwSize);
681 /***********************************************************************
682 * lineSetAppPriority (TAPI32.@)
684 DWORD WINAPI lineSetAppPriority(LPCSTR lpszAppFilename, DWORD dwMediaMode, LPLINEEXTENSIONID const lpExtensionID, DWORD dwRequestMode, LPCSTR lpszExtensionName, DWORD dwPriority)
686 FIXME("(%s, %08lx, %p, %08lx, %s, %08lx): stub.\n", lpszAppFilename, dwMediaMode, lpExtensionID, dwRequestMode, lpszExtensionName, dwPriority);
690 /***********************************************************************
691 * lineSetAppSpecific (TAPI32.@)
693 DWORD WINAPI lineSetAppSpecific(HCALL hCall, DWORD dwAppSpecific)
695 FIXME("(%04x, %08lx): stub.\n", hCall, dwAppSpecific);
699 /***********************************************************************
700 * lineSetCallParams (TAPI32.@)
702 DWORD WINAPI lineSetCallParams(HCALL hCall, DWORD dwBearerMode, DWORD dwMinRate, DWORD dwMaxRate, LPLINEDIALPARAMS lpDialParams)
704 FIXME("(%04x, %08lx, %08lx, %08lx, %p): stub.\n", hCall, dwBearerMode, dwMinRate, dwMaxRate, lpDialParams);
708 /***********************************************************************
709 * lineSetCallPrivilege (TAPI32.@)
711 DWORD WINAPI lineSetCallPrivilege(HCALL hCall, DWORD dwCallPrivilege)
713 FIXME("(%04x, %08lx): stub.\n", hCall, dwCallPrivilege);
717 /***********************************************************************
718 * lineSetCurrentLocation (TAPI32.@)
720 DWORD WINAPI lineSetCurrentLocation(HLINEAPP hLineApp, DWORD dwLocation)
722 FIXME("(%04x, %08lx): stub.\n", hLineApp, dwLocation);
726 /***********************************************************************
727 * lineSetDevConfig (TAPI32.@)
729 DWORD WINAPI lineSetDevConfig(DWORD dwDeviceID, LPVOID lpDeviceConfig, DWORD dwSize, LPCSTR lpszDeviceClass)
731 FIXME("(%08lx, %p, %08lx, %s): stub.\n", dwDeviceID, lpDeviceConfig, dwSize, lpszDeviceClass);
735 /***********************************************************************
736 * lineSetMediaControl (TAPI32.@)
738 DWORD WINAPI lineSetMediaControl(
743 LPLINEMEDIACONTROLDIGIT const lpDigitList,
744 DWORD dwDigitNumEntries,
745 LPLINEMEDIACONTROLMEDIA const lpMediaList,
746 DWORD dwMediaNumEntries,
747 LPLINEMEDIACONTROLTONE const lpToneList,
748 DWORD dwToneNumEntries,
749 LPLINEMEDIACONTROLCALLSTATE const lpCallStateList,
750 DWORD dwCallStateNumEntries)
756 /***********************************************************************
757 * lineSetMediaMode (TAPI32.@)
759 DWORD WINAPI lineSetMediaMode(HCALL hCall, DWORD dwMediaModes)
761 FIXME("(%04x, %08lx): stub.\n", hCall, dwMediaModes);
765 /***********************************************************************
766 * lineSetNumRings (TAPI32.@)
768 DWORD WINAPI lineSetNumRings(HLINE hLine, DWORD dwAddressID, DWORD dwNumRings)
770 FIXME("(%04x, %08lx, %08lx): stub.\n", hLine, dwAddressID, dwNumRings);
774 /***********************************************************************
775 * lineSetStatusMessages (TAPI32.@)
777 DWORD WINAPI lineSetStatusMessages(HLINE hLine, DWORD dwLineStates, DWORD dwAddressStates)
779 FIXME("(%04x, %08lx, %08lx): stub.\n", hLine, dwLineStates, dwAddressStates);
783 /***********************************************************************
784 * lineSetTerminal (TAPI32.@)
786 DWORD WINAPI lineSetTerminal(HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect, DWORD dwTerminalModes, DWORD dwTerminalID, DWORD bEnable)
788 FIXME("(%04x, %08lx, %04x, %08lx, %08lx, %08lx, %08lx): stub.\n", hLine, dwAddressID, hCall, dwSelect, dwTerminalModes, dwTerminalID, bEnable);
792 /***********************************************************************
793 * lineSetTollList (TAPI32.@)
795 DWORD WINAPI lineSetTollList(HLINEAPP hLineApp, DWORD dwDeviceID, LPCSTR lpszAddressIn, DWORD dwTollListOption)
797 FIXME("(%04x, %08lx, %s, %08lx): stub.\n", hLineApp, dwDeviceID, lpszAddressIn, dwTollListOption);
801 /***********************************************************************
802 * lineSetupConference (TAPI32.@)
804 DWORD WINAPI lineSetupConference(HCALL hCall, HLINE hLine, LPHCALL lphConfCall, LPHCALL lphConsultCall, DWORD dwNumParties, LPLINECALLPARAMS lpCallParams)
806 FIXME("(%04x, %04x, %p, %p, %08lx, %p): stub.\n", hCall, hLine, lphConfCall, lphConsultCall, dwNumParties, lpCallParams);
810 /***********************************************************************
811 * lineSetupTransfer (TAPI32.@)
813 DWORD WINAPI lineSetupTransfer(HCALL hCall, LPHCALL lphConsultCall, LPLINECALLPARAMS lpCallParams)
815 FIXME("(%04x, %p, %p): stub.\n", hCall, lphConsultCall, lpCallParams);
819 /***********************************************************************
820 * lineShutdown (TAPI32.@)
822 DWORD WINAPI lineShutdown(HLINEAPP hLineApp)
824 FIXME("(%04x): stub.\n", hLineApp);
828 /***********************************************************************
829 * lineSwapHold (TAPI32.@)
831 DWORD WINAPI lineSwapHold(HCALL hActiveCall, HCALL hHeldCall)
833 FIXME("(active: %04x, held: %04x): stub.\n", hActiveCall, hHeldCall);
837 /***********************************************************************
838 * lineTranslateAddress (TAPI32.@)
840 DWORD WINAPI lineTranslateAddress(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, LPCSTR lpszAddressIn, DWORD dwCard, DWORD dwTranslateOptions, LPLINETRANSLATEOUTPUT lpTranslateOutput)
842 FIXME("(%04x, %08lx, %08lx, %s, %08lx, %08lx, %p): stub.\n", hLineApp, dwDeviceID, dwAPIVersion, lpszAddressIn, dwCard, dwTranslateOptions, lpTranslateOutput);
846 /***********************************************************************
847 * lineTranslateDialog (TAPI32.@)
849 DWORD WINAPI lineTranslateDialog(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, HWND hwndOwner, LPCSTR lpszAddressIn)
851 FIXME("(%04x, %08lx, %08lx, %04x, %s): stub.\n", hLineApp, dwDeviceID, dwAPIVersion, hwndOwner, lpszAddressIn);
855 /***********************************************************************
856 * lineUncompleteCall (TAPI32.@)
858 DWORD WINAPI lineUncompleteCall(HLINE hLine, DWORD dwCompletionID)
860 FIXME("(%04x, %08lx): stub.\n", hLine, dwCompletionID);
864 /***********************************************************************
865 * lineUnhold (TAPI32.@)
867 DWORD WINAPI lineUnhold(HCALL hCall)
869 FIXME("(%04x): stub.\n", hCall);
873 /***********************************************************************
874 * lineUnpark (TAPI32.@)
876 DWORD WINAPI lineUnpark(HLINE hLine, DWORD dwAddressID, LPHCALL lphCall, LPCSTR lpszDestAddress)
878 FIXME("(%04x, %08lx, %p, %s): stub.\n", hLine, dwAddressID, lphCall, lpszDestAddress);