1999-03-14 12:34:25 +00:00
|
|
|
/*
|
|
|
|
* TAPI32 line services
|
|
|
|
*
|
|
|
|
* Copyright 1999 Andreas Mohr
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "winbase.h"
|
1999-03-14 16:35:05 +00:00
|
|
|
#include "windef.h"
|
1999-03-14 12:34:25 +00:00
|
|
|
#include "tapi.h"
|
1999-05-02 14:32:27 +00:00
|
|
|
#include "debugtools.h"
|
1999-03-14 12:34:25 +00:00
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
DEFAULT_DEBUG_CHANNEL(tapi);
|
1999-04-19 14:56:29 +00:00
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineAccept (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineAccept(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %s, %ld): stub.\n", hCall, lpsUserUserInfo, dwSize);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineAddProvider (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineAddProvider(LPCSTR lpszProviderName, HWND hwndOwner, LPDWORD lpdwPermanentProviderID)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%s, %04x, %p): stub.\n", lpszProviderName, hwndOwner, lpdwPermanentProviderID);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineAddToConference (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineAddToConference(HCALL hConfCall, HCALL hConsultCall)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %04x): stub.\n", hConfCall, hConsultCall);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineAnswer (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineAnswer(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %s, %ld): stub.\n", hCall, lpsUserUserInfo, dwSize);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineBlindTransfer (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineBlindTransfer(HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %s, %08lx): stub.\n", hCall, lpszDestAddress, dwCountryCode);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineClose (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineClose(HLINE hLine)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x): stub.\n", hLine);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineCompleteCall (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineCompleteCall(HCALL hCall, LPDWORD lpdwCompletionID, DWORD dwCompletionMode, DWORD dwMessageID)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %p, %08lx, %08lx): stub.\n", hCall, lpdwCompletionID, dwCompletionMode, dwMessageID);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineCompleteTransfer (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineCompleteTransfer(HCALL hCall, HCALL hConsultCall, LPHCALL lphConfCall, DWORD dwTransferMode)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %04x, %p, %08lx): stub.\n", hCall, hConsultCall, lphConfCall, dwTransferMode);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineConfigDialog (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineConfigDialog(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%08lx, %04x, %s): stub.\n", dwDeviceID, hwndOwner, lpszDeviceClass);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineConfigDialogEdit (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineConfigDialogEdit(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass, LPVOID const lpDeviceConfigIn, DWORD dwSize, LPVARSTRING lpDeviceConfigOut)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("stub.\n");
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineConfigProvider (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineConfigProvider(HWND hwndOwner, DWORD dwPermanentProviderID)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx): stub.\n", hwndOwner, dwPermanentProviderID);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineDeallocateCall (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineDeallocateCall(HCALL hCall)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x): stub.\n", hCall);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineDevSpecific (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineDevSpecific(HLINE hLine, DWORD dwAddressId, HCALL hCall, LPVOID lpParams, DWORD dwSize)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %04x, %p, %ld): stub.\n", hLine, dwAddressId, hCall, lpParams, dwSize);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineDevSpecificFeature (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineDevSpecificFeature(HLINE hLine, DWORD dwFeature, LPVOID lpParams, DWORD dwSize)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %p, %ld): stub.\n", hLine, dwFeature, lpParams, dwSize);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineDial (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineDial(HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %s, %08lx): stub.\n", hCall, lpszDestAddress, dwCountryCode);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
2000-03-24 20:46:04 +00:00
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* lineDrop (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineDrop(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %s, %08lx): stub.\n", hCall, lpsUserUserInfo, dwSize);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineForward (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineForward(HLINE hLine, DWORD bAllAddress, DWORD dwAdressID, LPLINEFORWARDLIST lpForwardList, DWORD dwNumRingsNoAnswer, LPHCALL lphConsultCall, LPLINECALLPARAMS lpCallParams)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("stub.\n");
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
2000-03-24 20:46:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* lineGatherDigits (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGatherDigits(HCALL hCall, DWORD dwDigitModes, LPSTR lpsDigits, DWORD dwNumDigits, LPCSTR lpszTerminationDigits, DWORD dwFirstDigitTimeout, DWORD dwInterDigitTimeout)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("stub.\n");
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineGenerateDigits (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGenerateDigits(HCALL hCall, DWORD dwDigitModes, LPCSTR lpszDigits, DWORD dwDuration)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %s, %ld): stub.\n", hCall, dwDigitModes, lpszDigits, dwDuration);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineGenerateTone (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGenerateTone(HCALL hCall, DWORD dwToneMode, DWORD dwDuration, DWORD dwNumTones, LPLINEGENERATETONE lpTones)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %ld, %ld, %p): stub.\n", hCall, dwToneMode, dwDuration, dwNumTones, lpTones);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineGetAddressCaps (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGetAddressCaps(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAddressID, DWORD dwAPIVersion, DWORD dwExtVersion, LPLINEADDRESSCAPS lpAddressCaps)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %08lx, %08lx, %08lx, %p): stub.\n", hLineApp, dwDeviceID, dwAddressID, dwAPIVersion, dwExtVersion, lpAddressCaps);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineGetAddressID (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGetAddressID(HLINE hLine, LPDWORD lpdwAddressID, DWORD dwAddressMode, LPCSTR lpsAddress, DWORD dwSize)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("%04x, %p, %08lx, %s, %ld): stub.\n", hLine, lpdwAddressID, dwAddressMode, lpsAddress, dwSize);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineGetAddressStatus (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGetAddressStatus(HLINE hLine, DWORD dwAddressID, LPLINEADDRESSSTATUS lpAddressStatus)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %p): stub.\n", hLine, dwAddressID, lpAddressStatus);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
2000-03-24 20:46:04 +00:00
|
|
|
}
|
1999-03-14 12:34:25 +00:00
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineGetAppPriority (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGetAppPriority(LPCSTR lpszAppFilename, DWORD dwMediaMode, LPLINEEXTENSIONID const lpExtensionID, DWORD dwRequestMode, LPVARSTRING lpExtensionName, LPDWORD lpdwPriority)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%s, %08lx, %p, %08lx, %p, %p): stub.\n", lpszAppFilename, dwMediaMode, lpExtensionID, dwRequestMode, lpExtensionName, lpdwPriority);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineGetCallInfo (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGetCallInfo(HCALL hCall, LPLINECALLINFO lpCallInfo)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %p): stub.\n", hCall, lpCallInfo);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineGetCallStatus (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGetCallStatus(HCALL hCall, LPLINECALLSTATUS lpCallStatus)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %p): stub.\n", hCall, lpCallStatus);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineGetConfRelatedCalls (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGetConfRelatedCalls(HCALL hCall, LPLINECALLLIST lpCallList)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %p): stub.\n", hCall, lpCallList);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-07-23 14:20:58 +00:00
|
|
|
typedef struct tagTAPI_CountryInfo
|
|
|
|
{
|
|
|
|
DWORD dwCountryID;
|
|
|
|
DWORD dwCountryCode;
|
|
|
|
LPSTR lpCountryName;
|
|
|
|
LPSTR lpSameAreaRule;
|
|
|
|
LPSTR lpLongDistanceRule;
|
|
|
|
LPSTR lpInternationalRule;
|
|
|
|
} TAPI_CountryInfo;
|
|
|
|
|
|
|
|
/* FIXME: this should be stored in an ini file... perhaps TAPI.INI */
|
|
|
|
static TAPI_CountryInfo TAPI_LCList[] =
|
|
|
|
{
|
|
|
|
{ 1, 61, "Australia", "", "0", "0011" },
|
|
|
|
{ 2, 86, "China", "", "0", "00" },
|
|
|
|
{ 3, 82, "Korea", "", "0", "00" },
|
|
|
|
{ 4, 1, "USA", "", "0", "001" },
|
|
|
|
};
|
|
|
|
|
|
|
|
#define NUMCOUNTRIES (sizeof TAPI_LCList/sizeof (TAPI_CountryInfo))
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineGetCountry (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGetCountry(DWORD dwCountryID, DWORD dwAPIVersion, LPLINECOUNTRYLIST lpLineCountryList)
|
|
|
|
{
|
2000-07-23 14:20:58 +00:00
|
|
|
DWORD dwAvailSize, dwOffset, i;
|
|
|
|
LPLINECOUNTRYENTRY lpLCE;
|
|
|
|
|
|
|
|
TRACE("(%08lx, %08lx, %p): stub.\n", dwCountryID, dwAPIVersion, lpLineCountryList);
|
|
|
|
|
|
|
|
dwAvailSize = lpLineCountryList->dwTotalSize;
|
|
|
|
dwOffset = sizeof (LINECOUNTRYLIST);
|
|
|
|
|
|
|
|
if(dwAvailSize<dwOffset)
|
|
|
|
return LINEERR_STRUCTURETOOSMALL;
|
|
|
|
|
|
|
|
if(!lpLineCountryList)
|
|
|
|
return LINEERR_INVALPOINTER;
|
|
|
|
|
|
|
|
memset(lpLineCountryList, 0, dwAvailSize);
|
|
|
|
|
|
|
|
lpLineCountryList->dwUsedSize = dwOffset;
|
|
|
|
lpLineCountryList->dwNumCountries = 0;
|
|
|
|
lpLineCountryList->dwCountryListSize = 0;
|
|
|
|
lpLineCountryList->dwCountryListOffset = dwOffset;
|
|
|
|
|
|
|
|
lpLCE = (LPLINECOUNTRYENTRY)(&lpLineCountryList[1]);
|
|
|
|
dwOffset+= NUMCOUNTRIES * sizeof (LINECOUNTRYENTRY);
|
|
|
|
|
|
|
|
for(i=0; i<NUMCOUNTRIES; i++)
|
|
|
|
{
|
|
|
|
LPSTR lpstr;
|
|
|
|
DWORD len;
|
|
|
|
|
|
|
|
if(dwCountryID && (TAPI_LCList[i].dwCountryID != dwCountryID))
|
|
|
|
continue;
|
|
|
|
|
2000-08-08 20:49:16 +00:00
|
|
|
len = strlen (TAPI_LCList[i].lpCountryName)+1;
|
|
|
|
len += strlen (TAPI_LCList[i].lpSameAreaRule)+1;
|
|
|
|
len += strlen (TAPI_LCList[i].lpLongDistanceRule)+1;
|
|
|
|
len += strlen (TAPI_LCList[i].lpInternationalRule)+1;
|
2000-07-23 14:20:58 +00:00
|
|
|
|
|
|
|
if(dwAvailSize<(dwOffset+len))
|
|
|
|
{
|
|
|
|
dwOffset+=len;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
|
|
|
|
lpLineCountryList->dwNumCountries++;
|
|
|
|
lpLineCountryList->dwCountryListSize += len;
|
|
|
|
lpLineCountryList->dwUsedSize += sizeof (LINECOUNTRYENTRY); /* maybe wrong */
|
|
|
|
|
|
|
|
TRACE("Adding country %s at %p\n", TAPI_LCList[i].lpCountryName, lpLCE);
|
|
|
|
|
|
|
|
lpLCE[i].dwCountryID = TAPI_LCList[i].dwCountryID;
|
|
|
|
lpLCE[i].dwCountryCode = TAPI_LCList[i].dwCountryCode;
|
|
|
|
|
|
|
|
/* deal with troublesome dwNextCountryID */
|
|
|
|
if( (i+1) == NUMCOUNTRIES )
|
|
|
|
lpLCE[i].dwNextCountryID = 0;
|
|
|
|
else
|
|
|
|
lpLCE[i].dwNextCountryID = TAPI_LCList[i+1].dwCountryID;
|
|
|
|
|
|
|
|
/* add country name */
|
2000-08-08 20:49:16 +00:00
|
|
|
len = strlen(TAPI_LCList[i].lpCountryName)+1;
|
2000-07-23 14:20:58 +00:00
|
|
|
lpLCE[i].dwCountryNameSize = len;
|
|
|
|
lpLCE[i].dwCountryNameOffset = dwOffset;
|
|
|
|
lpstr = ((LPSTR)lpLineCountryList)+dwOffset;
|
2000-08-08 20:49:16 +00:00
|
|
|
strcpy(lpstr, TAPI_LCList[i].lpCountryName);
|
2000-07-23 14:20:58 +00:00
|
|
|
dwOffset+=len;
|
|
|
|
|
|
|
|
/* add Same Area Rule */
|
2000-08-08 20:49:16 +00:00
|
|
|
len = strlen (TAPI_LCList[i].lpSameAreaRule)+1;
|
2000-07-23 14:20:58 +00:00
|
|
|
lpLCE[i].dwSameAreaRuleSize = len;
|
|
|
|
lpLCE[i].dwSameAreaRuleOffset = dwOffset;
|
|
|
|
lpstr = ((LPSTR)lpLineCountryList)+dwOffset;
|
2000-08-08 20:49:16 +00:00
|
|
|
strcpy(lpstr, TAPI_LCList[i].lpSameAreaRule);
|
2000-07-23 14:20:58 +00:00
|
|
|
dwOffset+=len;
|
|
|
|
|
|
|
|
/* add Long Distance Rule */
|
2000-08-08 20:49:16 +00:00
|
|
|
len = strlen (TAPI_LCList[i].lpLongDistanceRule)+1;
|
2000-07-23 14:20:58 +00:00
|
|
|
lpLCE[i].dwLongDistanceRuleSize = len;
|
|
|
|
lpLCE[i].dwLongDistanceRuleOffset = dwOffset;
|
|
|
|
lpstr = ((LPSTR)lpLineCountryList)+dwOffset;
|
2000-08-08 20:49:16 +00:00
|
|
|
strcpy(lpstr, TAPI_LCList[i].lpLongDistanceRule);
|
2000-07-23 14:20:58 +00:00
|
|
|
dwOffset+=len;
|
|
|
|
|
|
|
|
/* add Long Distance Rule */
|
2000-08-08 20:49:16 +00:00
|
|
|
len = strlen (TAPI_LCList[i].lpInternationalRule)+1;
|
2000-07-23 14:20:58 +00:00
|
|
|
lpLCE[i].dwInternationalRuleSize = len;
|
|
|
|
lpLCE[i].dwInternationalRuleOffset = dwOffset;
|
|
|
|
lpstr = ((LPSTR)lpLineCountryList)+dwOffset;
|
2000-08-08 20:49:16 +00:00
|
|
|
strcpy(lpstr, TAPI_LCList[i].lpInternationalRule);
|
2000-07-23 14:20:58 +00:00
|
|
|
dwOffset+=len;
|
|
|
|
}
|
|
|
|
|
|
|
|
lpLineCountryList->dwNeededSize = dwOffset;
|
|
|
|
|
|
|
|
TRACE("%ld available %ld required\n", dwAvailSize, dwOffset);
|
|
|
|
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineGetDevCaps (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGetDevCaps(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, DWORD dwExtVersion, LPLINEDEVCAPS lpLineDevCaps)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %08lx, %08lx, %p): stub.\n", hLineApp, dwDeviceID, dwAPIVersion, dwExtVersion, lpLineDevCaps);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineGetDevConfig (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGetDevConfig(DWORD dwDeviceID, LPVARSTRING lpDeviceConfig, LPCSTR lpszDeviceClass)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%08lx, %p, %s): stub.\n", dwDeviceID, lpDeviceConfig, lpszDeviceClass);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineGetID (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGetID(HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect, LPVARSTRING lpDeviceID, LPCSTR lpszDeviceClass)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %04x, %08lx, %p, %s): stub.\n", hLine, dwAddressID, hCall, dwSelect, lpDeviceID, lpszDeviceClass);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineGetIcon (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGetIcon(DWORD dwDeviceID, LPCSTR lpszDeviceClass, HICON *lphIcon)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%08lx, %s, %p): stub.\n", dwDeviceID, lpszDeviceClass, lphIcon);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineGetLineDevStatus (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGetLineDevStatus(HLINE hLine, LPLINEDEVSTATUS lpLineDevStatus)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %p): stub.\n", hLine, lpLineDevStatus);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineGetNewCalls (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGetNewCalls(HLINE hLine, DWORD dwAddressID, DWORD dwSelect, LPLINECALLLIST lpCallList)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %08lx, %p): stub.\n", hLine, dwAddressID, dwSelect, lpCallList);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineGetNumRings (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGetNumRings(HLINE hLine, DWORD dwAddressID, LPDWORD lpdwNumRings)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %p): stub.\n", hLine, dwAddressID, lpdwNumRings);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineGetProviderList (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGetProviderList(DWORD dwAPIVersion, LPLINEPROVIDERLIST lpProviderList)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%08lx, %p): stub.\n", dwAPIVersion, lpProviderList);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineGetRequest (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGetRequest(HLINEAPP hLineApp, DWORD dwRequestMode, LPVOID lpRequestBuffer)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("%04x, %08lx, %p): stub.\n", hLineApp, dwRequestMode, lpRequestBuffer);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineGetStatusMessages (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGetStatusMessages(HLINE hLine, LPDWORD lpdwLineStatus, LPDWORD lpdwAddressStates)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %p, %p): stub.\n", hLine, lpdwLineStatus, lpdwAddressStates);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineGetTranslateCaps (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineGetTranslateCaps(HLINEAPP hLineApp, DWORD dwAPIVersion, LPLINETRANSLATECAPS lpTranslateCaps)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %p): stub.\n", hLineApp, dwAPIVersion, lpTranslateCaps);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineHandoff (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineHandoff(HCALL hCall, LPCSTR lpszFileName, DWORD dwMediaMode)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %s, %08lx): stub.\n", hCall, lpszFileName, dwMediaMode);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineHold (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineHold(HCALL hCall)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x): stub.\n", hCall);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineInitialize (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineInitialize(
|
|
|
|
LPHLINEAPP lphLineApp,
|
|
|
|
HINSTANCE hInstance,
|
|
|
|
LINECALLBACK lpfnCallback,
|
|
|
|
LPCSTR lpszAppName,
|
|
|
|
LPDWORD lpdwNumDevs)
|
|
|
|
{
|
2000-05-11 21:48:28 +00:00
|
|
|
FIXME("(%p, %04x, %p, %s, %p): stub.\n", lphLineApp, hInstance,
|
|
|
|
lpfnCallback, debugstr_a(lpszAppName), lpdwNumDevs);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineMakeCall (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineMakeCall(HLINE hLine, LPHCALL lphCall, LPCSTR lpszDestAddress, DWORD dwCountryCode, LPLINECALLPARAMS lpCallParams)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %p, %s, %08lx, %p): stub.\n", hLine, lphCall, lpszDestAddress, dwCountryCode, lpCallParams);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineMonitorDigits (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineMonitorDigits(HCALL hCall, DWORD dwDigitModes)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx): stub.\n", hCall, dwDigitModes);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineMonitorMedia (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineMonitorMedia(HCALL hCall, DWORD dwMediaModes)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx): stub.\n", hCall, dwMediaModes);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineMonitorTones (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineMonitorTones(HCALL hCall, LPLINEMONITORTONE lpToneList, DWORD dwNumEntries)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %p, %08lx): stub.\n", hCall, lpToneList, dwNumEntries);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineNegotiateAPIVersion (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineNegotiateAPIVersion(
|
|
|
|
HLINEAPP hLineApp,
|
|
|
|
DWORD dwDeviceID,
|
|
|
|
DWORD dwAPILowVersion,
|
|
|
|
DWORD dwAPIHighVersion,
|
|
|
|
LPDWORD lpdwAPIVersion,
|
|
|
|
LPLINEEXTENSIONID lpExtensionID
|
|
|
|
)
|
|
|
|
{
|
2000-05-11 21:48:28 +00:00
|
|
|
FIXME("(%04x, %ld, %ld, %ld, %p, %p): stub.\n", hLineApp, dwDeviceID,
|
|
|
|
dwAPILowVersion, dwAPIHighVersion, lpdwAPIVersion, lpExtensionID);
|
1999-03-14 12:34:25 +00:00
|
|
|
*lpdwAPIVersion = dwAPIHighVersion;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineNegotiateExtVersion (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineNegotiateExtVersion(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, DWORD dwExtLowVersion, DWORD dwExtHighVersion, LPDWORD lpdwExtVersion)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("stub.\n");
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineOpen (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineOpen(HLINEAPP hLineApp, DWORD dwDeviceID, LPHLINE lphLine, DWORD dwAPIVersion, DWORD dwExtVersion, DWORD dwCallbackInstance, DWORD dwPrivileges, DWORD dwMediaModes, LPLINECALLPARAMS lpCallParams)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("stub.\n");
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* linePark (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI linePark(HCALL hCall, DWORD dwParkMode, LPCSTR lpszDirAddress, LPVARSTRING lpNonDirAddress)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %s, %p): stub.\n", hCall, dwParkMode, lpszDirAddress, lpNonDirAddress);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* linePickup (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI linePickup(HLINE hLine, DWORD dwAddressID, LPHCALL lphCall, LPCSTR lpszDestAddress, LPCSTR lpszGroupID)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %p, %s, %s): stub.\n", hLine, dwAddressID, lphCall, lpszDestAddress, lpszGroupID);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* linePrepareAddToConference (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI linePrepareAddToConference(HCALL hConfCall, LPHCALL lphConsultCall, LPLINECALLPARAMS lpCallParams)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %p, %p): stub.\n", hConfCall, lphConsultCall, lpCallParams);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineRedirect (TAPI32.@)
|
1999-03-14 12:34:25 +00:00
|
|
|
*/
|
|
|
|
DWORD WINAPI lineRedirect(
|
|
|
|
HCALL hCall,
|
|
|
|
LPCSTR lpszDestAddress,
|
|
|
|
DWORD dwCountryCode) {
|
|
|
|
|
2000-05-07 18:25:04 +00:00
|
|
|
FIXME(": stub.\n");
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineRegisterRequestRecipient (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineRegisterRequestRecipient(HLINEAPP hLineApp, DWORD dwRegistrationInstance, DWORD dwRequestMode, DWORD dwEnable)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %08lx, %08lx): stub.\n", hLineApp, dwRegistrationInstance, dwRequestMode, dwEnable);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineReleaseUserUserInfo (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineReleaseUserUserInfo(HCALL hCall)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x): stub.\n", hCall);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineRemoveFromConference (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineRemoveFromConference(HCALL hCall)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x): stub.\n", hCall);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineRemoveProvider (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineRemoveProvider(DWORD dwPermanentProviderID, HWND hwndOwner)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%08lx, %04x): stub.\n", dwPermanentProviderID, hwndOwner);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineSecureCall (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineSecureCall(HCALL hCall)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x): stub.\n", hCall);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineSendUserUserInfo (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineSendUserUserInfo(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %s, %08lx): stub.\n", hCall, lpsUserUserInfo, dwSize);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineSetAppPriority (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineSetAppPriority(LPCSTR lpszAppFilename, DWORD dwMediaMode, LPLINEEXTENSIONID const lpExtensionID, DWORD dwRequestMode, LPCSTR lpszExtensionName, DWORD dwPriority)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%s, %08lx, %p, %08lx, %s, %08lx): stub.\n", lpszAppFilename, dwMediaMode, lpExtensionID, dwRequestMode, lpszExtensionName, dwPriority);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineSetAppSpecific (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineSetAppSpecific(HCALL hCall, DWORD dwAppSpecific)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx): stub.\n", hCall, dwAppSpecific);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineSetCallParams (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineSetCallParams(HCALL hCall, DWORD dwBearerMode, DWORD dwMinRate, DWORD dwMaxRate, LPLINEDIALPARAMS lpDialParams)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %08lx, %08lx, %p): stub.\n", hCall, dwBearerMode, dwMinRate, dwMaxRate, lpDialParams);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineSetCallPrivilege (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineSetCallPrivilege(HCALL hCall, DWORD dwCallPrivilege)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx): stub.\n", hCall, dwCallPrivilege);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineSetCurrentLocation (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineSetCurrentLocation(HLINEAPP hLineApp, DWORD dwLocation)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx): stub.\n", hLineApp, dwLocation);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineSetDevConfig (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineSetDevConfig(DWORD dwDeviceID, LPVOID lpDeviceConfig, DWORD dwSize, LPCSTR lpszDeviceClass)
|
|
|
|
{
|
2000-05-11 21:48:28 +00:00
|
|
|
FIXME("(%08lx, %p, %08lx, %s): stub.\n", dwDeviceID, lpDeviceConfig, dwSize, lpszDeviceClass);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineSetMediaControl (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineSetMediaControl(
|
|
|
|
HLINE hLine,
|
|
|
|
DWORD dwAddressID,
|
|
|
|
HCALL hCall,
|
|
|
|
DWORD dwSelect,
|
|
|
|
LPLINEMEDIACONTROLDIGIT const lpDigitList,
|
|
|
|
DWORD dwDigitNumEntries,
|
|
|
|
LPLINEMEDIACONTROLMEDIA const lpMediaList,
|
|
|
|
DWORD dwMediaNumEntries,
|
|
|
|
LPLINEMEDIACONTROLTONE const lpToneList,
|
|
|
|
DWORD dwToneNumEntries,
|
|
|
|
LPLINEMEDIACONTROLCALLSTATE const lpCallStateList,
|
|
|
|
DWORD dwCallStateNumEntries)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME(": stub.\n");
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineSetMediaMode (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineSetMediaMode(HCALL hCall, DWORD dwMediaModes)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx): stub.\n", hCall, dwMediaModes);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineSetNumRings (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineSetNumRings(HLINE hLine, DWORD dwAddressID, DWORD dwNumRings)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %08lx): stub.\n", hLine, dwAddressID, dwNumRings);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineSetStatusMessages (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineSetStatusMessages(HLINE hLine, DWORD dwLineStates, DWORD dwAddressStates)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %08lx): stub.\n", hLine, dwLineStates, dwAddressStates);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineSetTerminal (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineSetTerminal(HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect, DWORD dwTerminalModes, DWORD dwTerminalID, DWORD bEnable)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %04x, %08lx, %08lx, %08lx, %08lx): stub.\n", hLine, dwAddressID, hCall, dwSelect, dwTerminalModes, dwTerminalID, bEnable);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineSetTollList (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineSetTollList(HLINEAPP hLineApp, DWORD dwDeviceID, LPCSTR lpszAddressIn, DWORD dwTollListOption)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %s, %08lx): stub.\n", hLineApp, dwDeviceID, lpszAddressIn, dwTollListOption);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineSetupConference (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineSetupConference(HCALL hCall, HLINE hLine, LPHCALL lphConfCall, LPHCALL lphConsultCall, DWORD dwNumParties, LPLINECALLPARAMS lpCallParams)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %04x, %p, %p, %08lx, %p): stub.\n", hCall, hLine, lphConfCall, lphConsultCall, dwNumParties, lpCallParams);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineSetupTransfer (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineSetupTransfer(HCALL hCall, LPHCALL lphConsultCall, LPLINECALLPARAMS lpCallParams)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %p, %p): stub.\n", hCall, lphConsultCall, lpCallParams);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineShutdown (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineShutdown(HLINEAPP hLineApp)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x): stub.\n", hLineApp);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineSwapHold (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineSwapHold(HCALL hActiveCall, HCALL hHeldCall)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(active: %04x, held: %04x): stub.\n", hActiveCall, hHeldCall);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineTranslateAddress (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineTranslateAddress(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, LPCSTR lpszAddressIn, DWORD dwCard, DWORD dwTranslateOptions, LPLINETRANSLATEOUTPUT lpTranslateOutput)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %08lx, %s, %08lx, %08lx, %p): stub.\n", hLineApp, dwDeviceID, dwAPIVersion, lpszAddressIn, dwCard, dwTranslateOptions, lpTranslateOutput);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineTranslateDialog (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineTranslateDialog(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, HWND hwndOwner, LPCSTR lpszAddressIn)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %08lx, %04x, %s): stub.\n", hLineApp, dwDeviceID, dwAPIVersion, hwndOwner, lpszAddressIn);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineUncompleteCall (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineUncompleteCall(HLINE hLine, DWORD dwCompletionID)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx): stub.\n", hLine, dwCompletionID);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineUnhold (TAPI32.@)
|
|
|
|
*/
|
2000-01-01 22:06:18 +00:00
|
|
|
DWORD WINAPI lineUnhold(HCALL hCall)
|
1999-03-14 12:34:25 +00:00
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x): stub.\n", hCall);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2000-03-24 20:46:04 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* lineUnpark (TAPI32.@)
|
|
|
|
*/
|
1999-03-14 12:34:25 +00:00
|
|
|
DWORD WINAPI lineUnpark(HLINE hLine, DWORD dwAddressID, LPHCALL lphCall, LPCSTR lpszDestAddress)
|
|
|
|
{
|
1999-12-08 03:56:23 +00:00
|
|
|
FIXME("(%04x, %08lx, %p, %s): stub.\n", hLine, dwAddressID, lphCall, lpszDestAddress);
|
1999-03-14 12:34:25 +00:00
|
|
|
return 1;
|
2000-03-24 20:46:04 +00:00
|
|
|
}
|