27#include "wine/winternl.h"
40 "Software\\Microsoft\\Windows\\CurrentVersion\\Telephony\\Country List";
42 "Software\\Microsoft\\Windows\\CurrentVersion\\Telephony\\Locations";
44 "Software\\Microsoft\\Windows\\CurrentVersion\\Telephony\\Cards";
52 FIXME(
"(%p, %s, %d): stub.\n", hCall, lpsUserUserInfo,
dwSize);
61 FIXME(
"(%s, %p, %p): stub.\n", lpszProviderName, hwndOwner, lpdwPermanentProviderID);
70 FIXME(
"(%s, %p, %p): stub.\n",
wine_dbgstr_w(lpszProviderName), hwndOwner, lpdwPermanentProviderID);
79 FIXME(
"(%p, %p): stub.\n", hConfCall, hConsultCall);
88 FIXME(
"(%p, %s, %d): stub.\n", hCall, lpsUserUserInfo,
dwSize);
97 FIXME(
"(%p, %s, %08x): stub.\n", hCall, lpszDestAddress, dwCountryCode);
106 FIXME(
"(%p): stub.\n", hLine);
115 FIXME(
"(%p, %p, %08x, %08x): stub.\n", hCall, lpdwCompletionID, dwCompletionMode, dwMessageID);
124 FIXME(
"(%p, %p, %p, %08x): stub.\n", hCall, hConsultCall, lphConfCall, dwTransferMode);
133 FIXME(
"(%08x, %p, %s): stub.\n", dwDeviceID, hwndOwner, lpszDeviceClass);
142 FIXME(
"(%08x, %p, %s): stub.\n", dwDeviceID, hwndOwner,
debugstr_w(lpszDeviceClass));
160 FIXME(
"(%p, %08x): stub.\n", hwndOwner, dwPermanentProviderID);
169 FIXME(
"(%p): stub.\n", hCall);
178 FIXME(
"(%p, %08x, %p, %p, %d): stub.\n", hLine, dwAddressId, hCall, lpParams,
dwSize);
187 FIXME(
"(%p, %08x, %p, %d): stub.\n", hLine, dwFeature, lpParams,
dwSize);
196 FIXME(
"(%p, %s, %08x): stub.\n", hCall, lpszDestAddress, dwCountryCode);
205 FIXME(
"(%p, %s, %08x): stub.\n", hCall,
debugstr_w(lpszDestAddress), dwCountryCode);
214 FIXME(
"(%p, %s, %08x): stub.\n", hCall, lpsUserUserInfo,
dwSize);
241 FIXME(
"(%p, %08x, %s, %d): stub.\n", hCall, dwDigitModes, lpszDigits, dwDuration);
250 FIXME(
"(%p, %08x, %d, %d, %p): stub.\n", hCall, dwToneMode, dwDuration, dwNumTones, lpTones);
259 FIXME(
"(%p, %08x, %08x, %08x, %08x, %p): stub.\n", hLineApp, dwDeviceID, dwAddressID, dwAPIVersion, dwExtVersion, lpAddressCaps);
268 FIXME(
"%p, %p, %08x, %s, %d): stub.\n", hLine, lpdwAddressID, dwAddressMode, lpsAddress,
dwSize);
277 FIXME(
"(%p, %08x, %p): stub.\n", hLine, dwAddressID, lpAddressStatus);
286 FIXME(
"(%s, %08x, %p, %08x, %p, %p): stub.\n", lpszAppFilename, dwMediaMode, lpExtensionID, dwRequestMode, lpExtensionName, lpdwPriority);
295 FIXME(
"(%p, %p): stub.\n", hCall, lpCallInfo);
304 FIXME(
"(%p, %p): stub.\n", hCall, lpCallStatus);
313 FIXME(
"(%p, %p): stub.\n", hCall, lpCallList);
327 if(!lpLineCountryList) {
328 TRACE(
"(%08x, %08x, %p): stub. Returning LINEERR_INVALPOINTER\n",
329 dwCountryID, dwAPIVersion, lpLineCountryList);
333 TRACE(
"(%08x, %08x, %p(%d)): stub.\n",
334 dwCountryID, dwAPIVersion, lpLineCountryList,
348 memset(lpLineCountryList, 0, dwAvailSize);
371 for(
i = 0;
i < num_countries;
i++)
373 DWORD len,
size, size_int, size_long, size_name, size_same;
380 if(dwCountryID && (
atoi(subkey_name) != dwCountryID))
461 TRACE(
"Added country %s at %p\n", (
LPSTR)lpLineCountryList + lpLCE[
i].dwCountryNameOffset,
464 if(dwCountryID)
break;
482 static const WCHAR country_listW[] =
483 {
'S',
'o',
'f',
't',
'w',
'a',
'r',
'e',
'\\',
'M',
'i',
'c',
'r',
'o',
's',
'o',
'f',
't',
'\\',
484 'W',
'i',
'n',
'd',
'o',
'w',
's',
'\\',
'C',
'u',
'r',
'r',
'e',
'n',
't',
'V',
'e',
'r',
's',
'i',
'o',
'n',
'\\',
485 'T',
'e',
'l',
'e',
'p',
'h',
'o',
'n',
'y',
'\\',
'C',
'o',
'u',
'n',
't',
'r',
'y',
' ',
'L',
'i',
's',
't',0};
486 static const WCHAR international_ruleW[] =
487 {
'I',
'n',
't',
'e',
'r',
'n',
'a',
't',
'i',
'o',
'n',
'a',
'l',
'R',
'u',
'l',
'e',0};
488 static const WCHAR longdistance_ruleW[] =
489 {
'L',
'o',
'n',
'g',
'D',
'i',
's',
't',
'a',
'n',
'c',
'e',
'R',
'u',
'l',
'e',0};
490 static const WCHAR samearea_ruleW[] =
491 {
'S',
'a',
'm',
'e',
'A',
'r',
'e',
'a',
'R',
'u',
'l',
'e',0};
494 static const WCHAR country_codeW[] =
495 {
'C',
'o',
'u',
'n',
't',
'r',
'y',
'C',
'o',
'd',
'e',0};
496 DWORD total_size,
offset,
i, num_countries, max_subkey_len;
507 total_size =
list->dwTotalSize;
512 list->dwTotalSize = total_size;
514 list->dwNumCountries = 0;
515 list->dwCountryListSize = 0;
535 for (
i = 0;
i < num_countries;
i++)
537 DWORD len,
size, size_int, size_long, size_name, size_same;
541 if (
id && (
wcstol(subkey_name,
NULL, 10) !=
id))
continue;
563 list->dwNumCountries++;
571 entry[
i].dwNextCountryID = 0;
573 if (
i > 0)
entry[
i - 1].dwNextCountryID =
entry[
i].dwCountryID;
576 entry[
i].dwCountryNameSize = size_name;
582 entry[
i].dwSameAreaRuleSize = size_same;
588 entry[
i].dwLongDistanceRuleSize = size_long;
594 entry[
i].dwInternationalRuleSize = size_int;
600 TRACE(
"added country %s at %p\n",
606 TRACE(
"%d available %d required\n", total_size,
offset);
619 static int warn_once;
622 FIXME(
"(%p, %08x, %08x, %08x, %p): stub.\n", hLineApp, dwDeviceID, dwAPIVersion,
623 dwExtVersion, lpLineDevCaps);
633 static int warn_once;
636 FIXME(
"(%p, %08x, %08x, %08x, %p): stub.\n", hLineApp, dwDeviceID, dwAPIVersion,
637 dwExtVersion, lpLineDevCaps);
646 FIXME(
"(%08x, %p, %s): stub.\n", dwDeviceID, lpDeviceConfig, lpszDeviceClass);
656 FIXME(
"(%p, %08x, %p, %08x, %p, %s): stub.\n", hLine, dwAddressID, hCall,
657 dwSelect, lpDeviceID,
668 FIXME(
"(%p, %08x, %p, %08x, %p, %s): stub.\n", hLine, dwAddressID, hCall,
669 dwSelect, lpDeviceID, lpszDeviceClass);
678 FIXME(
"(%08x, %s, %p): stub.\n", dwDeviceID, lpszDeviceClass, lphIcon);
687 FIXME(
"(%p, %p): stub.\n", hLine, lpLineDevStatus);
705 FIXME(
"(%p, %08x, %08x, %p): stub.\n", hLine, dwAddressID, dwSelect, lpCallList);
714 FIXME(
"(%p, %08x, %p): stub.\n", hLine, dwAddressID, lpdwNumRings);
723 FIXME(
"(%08x, %p): stub.\n", dwAPIVersion, lpProviderList);
732 FIXME(
"(%08x, %p): stub.\n", dwAPIVersion, lpProviderList);
741 FIXME(
"%p, %08x, %p): stub.\n", hLineApp, dwRequestMode, lpRequestBuffer);
750 FIXME(
"(%p, %p, %p): stub.\n", hLine, lpdwLineStatus, lpdwAddressStates);
803 HKEY hkLocations, hkCards, hkCardLocations, hsubkey;
804 int numlocations, numcards;
807 char *loc_key_name =
NULL;
808 char *card_key_name =
NULL;
817 TRACE(
"(%p, %08x, %p (tot. size %d)\n", hLineApp, dwAPIVersion,
823 ERR(
"unexpected registry error 1.\n");
826 lendword =
sizeof(
DWORD);
833 ERR(
"unexpected registry error 2.\n");
837 if( maxlockeylen < 10)
844 while(
RegEnumKeyA(hkLocations,
i, loc_key_name, maxlockeylen)
848 if(
_strnicmp(loc_key_name,
"location", 8) ||
867 if(numlocations == 0) {
903 if( maxcardkeylen < 6) maxcardkeylen = 6;
906 while(
RegEnumKeyA(hkCards,
i, card_key_name, maxcardkeylen) ==
954 TRACE(
"Insufficient space: total %d needed %d used %d\n",
974 strptr = ((
LPBYTE) lpTranslateCaps) +
983 while(
RegEnumKeyA(hkLocations,
i, loc_key_name, maxlockeylen)
987 if(
_strnicmp(loc_key_name,
"location", 8) ||
991 size_val=
sizeof(
DWORD);
1018 (
LPBYTE) lpTranslateCaps;
1030 size_val=
sizeof(
DWORD);
1039 if ( hkCardLocations) {
1040 size_val=
sizeof(
DWORD);
1041 if(
RegOpenKeyA(hkCardLocations, loc_key_name, &hsubkey) ==
1050 if(currentid == -1){
1057 TRACE(
"added: ID %d %s CountryCode %d CityCode %s CardID %d "
1058 "LocalAccess: %s LongDistanceAccess: %s CountryID %d "
1059 "Options %d CancelCallWait %s\n",
1076 while(
RegEnumKeyA(hkCards,
i, card_key_name, maxcardkeylen) ==
1080 if(
_strnicmp(card_key_name,
"card", 4) ||
1083 size_val=
sizeof(
DWORD);
1109 (
LPBYTE) lpTranslateCaps;
1111 size_val=
sizeof(
DWORD);
1114 TRACE(
"added card: ID %d name %s SameArea %s LongDistance %s International %s Options 0x%x\n",
1131 TRACE(
" returning success tot %d needed %d used %d\n",
1143 FIXME(
"(%p, %s, %08x): stub.\n", hCall, lpszFileName, dwMediaMode);
1152 FIXME(
"(%p): stub.\n", hCall);
1167 lpfnCallback,
debugstr_a(lpszAppName), lpdwNumDevs);
1176 FIXME(
"(%p, %p, %p, %s, %p, %p, %p): stub.\n", lphLineApp,
hInstance,
1177 lpfnCallback,
debugstr_a(lpszFriendlyAppName), lpdwNumDevs, lpdwAPIVersion, lpLineInitializeExParams);
1186 FIXME(
"(%p, %p, %p, %s, %p, %p, %p): stub.\n", lphLineApp,
hInstance,
1187 lpfnCallback,
debugstr_w(lpszFriendlyAppName), lpdwNumDevs, lpdwAPIVersion, lpLineInitializeExParams);
1197 FIXME(
"(%p, %p, %s, %08x, %p): stub.\n", hLine, lphCall,
debugstr_w(lpszDestAddress),
1198 dwCountryCode, lpCallParams);
1208 FIXME(
"(%p, %p, %s, %08x, %p): stub.\n", hLine, lphCall, lpszDestAddress,
1209 dwCountryCode, lpCallParams);
1218 FIXME(
"(%p, %08x): stub.\n", hCall, dwDigitModes);
1227 FIXME(
"(%p, %08x): stub.\n", hCall, dwMediaModes);
1236 FIXME(
"(%p, %p, %08x): stub.\n", hCall, lpToneList, dwNumEntries);
1246 DWORD dwAPILowVersion,
1247 DWORD dwAPIHighVersion,
1252 static int warn_once;
1255 FIXME(
"(%p, %d, %d, %d, %p, %p): stub.\n", hLineApp, dwDeviceID,
1256 dwAPILowVersion, dwAPIHighVersion, lpdwAPIVersion, lpExtensionID);
1257 *lpdwAPIVersion = dwAPIHighVersion;
1293 FIXME(
"(%p, %08x, %s, %p): stub.\n", hCall, dwParkMode, lpszDirAddress, lpNonDirAddress);
1302 FIXME(
"(%p, %08x, %p, %s, %s): stub.\n", hLine, dwAddressID, lphCall, lpszDestAddress, lpszGroupID);
1311 FIXME(
"(%p, %p, %p): stub.\n", hConfCall, lphConsultCall, lpCallParams);
1321 DWORD dwCountryCode) {
1332 FIXME(
"(%p, %08x, %08x, %08x): stub.\n", hLineApp, dwRegistrationInstance, dwRequestMode, dwEnable);
1341 FIXME(
"(%p): stub.\n", hCall);
1350 FIXME(
"(%p): stub.\n", hCall);
1359 FIXME(
"(%08x, %p): stub.\n", dwPermanentProviderID, hwndOwner);
1368 FIXME(
"(%p): stub.\n", hCall);
1377 FIXME(
"(%p, %s, %08x): stub.\n", hCall, lpsUserUserInfo,
dwSize);
1386 FIXME(
"(%s, %08x, %p, %08x, %s, %08x): stub.\n", lpszAppFilename, dwMediaMode, lpExtensionID, dwRequestMode, lpszExtensionName, dwPriority);
1395 FIXME(
"(%p, %08x): stub.\n", hCall, dwAppSpecific);
1404 FIXME(
"(%p, %08x, %08x, %08x, %p): stub.\n", hCall, dwBearerMode, dwMinRate, dwMaxRate, lpDialParams);
1413 FIXME(
"(%p, %08x): stub.\n", hCall, dwCallPrivilege);
1422 FIXME(
"(%p, %08x): stub.\n", hLineApp, dwLocation);
1431 FIXME(
"(%08x, %p, %08x, %s): stub.\n", dwDeviceID, lpDeviceConfig,
dwSize, lpszDeviceClass);
1444DWORD dwDigitNumEntries,
1446DWORD dwMediaNumEntries,
1448DWORD dwToneNumEntries,
1450DWORD dwCallStateNumEntries)
1461 FIXME(
"(%p, %08x): stub.\n", hCall, dwMediaModes);
1470 FIXME(
"(%p, %08x, %08x): stub.\n", hLine, dwAddressID, dwNumRings);
1479 FIXME(
"(%p, %08x, %08x): stub.\n", hLine, dwLineStates, dwAddressStates);
1488 FIXME(
"(%p, %08x, %p, %08x, %08x, %08x, %08x): stub.\n", hLine, dwAddressID, hCall, dwSelect, dwTerminalModes, dwTerminalID,
bEnable);
1497 FIXME(
"(%p, %08x, %s, %08x): stub.\n", hLineApp, dwDeviceID, lpszAddressIn, dwTollListOption);
1506 FIXME(
"(%p, %p, %p, %p, %08x, %p): stub.\n", hCall, hLine, lphConfCall, lphConsultCall, dwNumParties, lpCallParams);
1515 FIXME(
"(%p, %p, %p): stub.\n", hCall, lphConsultCall, lpCallParams);
1524 FIXME(
"(%p): stub.\n", hLineApp);
1533 FIXME(
"(active: %p, held: %p): stub.\n", hActiveCall, hHeldCall);
1542 FIXME(
"(%p, %08x, %08x, %s, %08x, %08x, %p): stub.\n", hLineApp, dwDeviceID, dwAPIVersion, lpszAddressIn, dwCard, dwTranslateOptions, lpTranslateOutput);
1553 FIXME(
"(%p, %08x, %08x, %s, %08x, %08x, %p): stub.\n", hLineApp, dwDeviceID, dwAPIVersion,
1554 debugstr_w(lpszAddressIn), dwCard, dwTranslateOptions, lpTranslateOutput);
1563 FIXME(
"(%p, %08x, %08x, %p, %s): stub.\n", hLineApp, dwDeviceID, dwAPIVersion, hwndOwner, lpszAddressIn);
1573 FIXME(
"(%p, %08x, %08x, %p, %s): stub.\n", hLineApp, dwDeviceID,
1574 dwAPIVersion, hwndOwner,
debugstr_w(lpszAddressIn));
1583 FIXME(
"(%p, %08x): stub.\n", hLine, dwCompletionID);
1592 FIXME(
"(%p): stub.\n", hCall);
1601 FIXME(
"(%p, %08x, %p, %s): stub.\n", hLine, dwAddressID, lphCall, lpszDestAddress);
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static const WCHAR nameW[]
#define RegCloseKey(hKey)
LONG WINAPI RegCreateKeyA(HKEY hKey, LPCSTR lpSubKey, PHKEY phkResult)
LONG WINAPI RegSetValueExA(HKEY hKey, LPCSTR lpValueName, DWORD Reserved, DWORD dwType, CONST BYTE *lpData, DWORD cbData)
LONG WINAPI RegQueryInfoKeyA(HKEY hKey, LPSTR lpClass, LPDWORD lpcClass, LPDWORD lpReserved, LPDWORD lpcSubKeys, LPDWORD lpcMaxSubKeyLen, LPDWORD lpcMaxClassLen, LPDWORD lpcValues, LPDWORD lpcMaxValueNameLen, LPDWORD lpcMaxValueLen, LPDWORD lpcbSecurityDescriptor, PFILETIME lpftLastWriteTime)
LONG WINAPI RegOpenKeyA(HKEY hKey, LPCSTR lpSubKey, PHKEY phkResult)
LONG WINAPI RegOpenKeyW(HKEY hKey, LPCWSTR lpSubKey, PHKEY phkResult)
LONG WINAPI RegEnumKeyA(HKEY hKey, DWORD dwIndex, LPSTR lpName, DWORD cbName)
LONG WINAPI RegQueryInfoKeyW(HKEY hKey, LPWSTR lpClass, LPDWORD lpcClass, LPDWORD lpReserved, LPDWORD lpcSubKeys, LPDWORD lpcMaxSubKeyLen, LPDWORD lpcMaxClassLen, LPDWORD lpcValues, LPDWORD lpcMaxValueNameLen, LPDWORD lpcMaxValueLen, LPDWORD lpcbSecurityDescriptor, PFILETIME lpftLastWriteTime)
LONG WINAPI RegQueryValueExA(_In_ HKEY hkeyorg, _In_ LPCSTR name, _In_ LPDWORD reserved, _Out_opt_ LPDWORD type, _Out_opt_ LPBYTE data, _Inout_opt_ LPDWORD count)
LONG WINAPI RegQueryValueExW(_In_ HKEY hkeyorg, _In_ LPCWSTR name, _In_ LPDWORD reserved, _In_ LPDWORD type, _In_ LPBYTE data, _In_ LPDWORD count)
LONG WINAPI RegEnumKeyW(HKEY hKey, DWORD dwIndex, LPWSTR lpName, DWORD cbName)
#define _strnicmp(_String1, _String2, _MaxCount)
#define HeapFree(x, y, z)
static const WCHAR version[]
INT WINAPI GetLocaleInfoA(LCID lcid, LCTYPE lctype, LPSTR buffer, INT len)
DWORD WINAPI lineGetDevCapsW(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, DWORD dwExtVersion, LPLINEDEVCAPS lpLineDevCaps)
DWORD WINAPI lineGetNumRings(HLINE hLine, DWORD dwAddressID, LPDWORD lpdwNumRings)
LONG WINAPI lineInitializeExA(LPHLINEAPP lphLineApp, HINSTANCE hInstance, LINECALLBACK lpfnCallback, LPCSTR lpszFriendlyAppName, LPDWORD lpdwNumDevs, LPDWORD lpdwAPIVersion, LPLINEINITIALIZEEXPARAMS lpLineInitializeExParams)
DWORD WINAPI lineSetupTransferA(HCALL hCall, LPHCALL lphConsultCall, LPLINECALLPARAMS lpCallParams)
DWORD WINAPI lineClose(HLINE hLine)
DWORD WINAPI lineConfigDialogEditA(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass, LPVOID const lpDeviceConfigIn, DWORD dwSize, LPVARSTRING lpDeviceConfigOut)
DWORD WINAPI lineSwapHold(HCALL hActiveCall, HCALL hHeldCall)
DWORD WINAPI lineAnswer(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
DWORD WINAPI lineDialA(HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode)
DWORD WINAPI lineTranslateDialogA(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, HWND hwndOwner, LPCSTR lpszAddressIn)
DWORD WINAPI lineOpenA(HLINEAPP hLineApp, DWORD dwDeviceID, LPHLINE lphLine, DWORD dwAPIVersion, DWORD dwExtVersion, DWORD dwCallbackInstance, DWORD dwPrivileges, DWORD dwMediaModes, LPLINECALLPARAMS lpCallParams)
DWORD WINAPI lineGetIDA(HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect, LPVARSTRING lpDeviceID, LPCSTR lpszDeviceClass)
DWORD WINAPI lineDialW(HCALL hCall, LPCWSTR lpszDestAddress, DWORD dwCountryCode)
DWORD WINAPI lineTranslateDialogW(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, HWND hwndOwner, LPCWSTR lpszAddressIn)
DWORD WINAPI lineUnhold(HCALL hCall)
DWORD WINAPI lineGetAppPriorityA(LPCSTR lpszAppFilename, DWORD dwMediaMode, LPLINEEXTENSIONID const lpExtensionID, DWORD dwRequestMode, LPVARSTRING lpExtensionName, LPDWORD lpdwPriority)
DWORD WINAPI lineRedirectA(HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode)
DWORD WINAPI lineNegotiateExtVersion(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, DWORD dwExtLowVersion, DWORD dwExtHighVersion, LPDWORD lpdwExtVersion)
DWORD WINAPI lineAddProviderA(LPCSTR lpszProviderName, HWND hwndOwner, LPDWORD lpdwPermanentProviderID)
DWORD WINAPI lineTranslateAddressA(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, LPCSTR lpszAddressIn, DWORD dwCard, DWORD dwTranslateOptions, LPLINETRANSLATEOUTPUT lpTranslateOutput)
DWORD WINAPI lineSetStatusMessages(HLINE hLine, DWORD dwLineStates, DWORD dwAddressStates)
DWORD WINAPI lineAccept(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
DWORD WINAPI lineSetupConferenceA(HCALL hCall, HLINE hLine, LPHCALL lphConfCall, LPHCALL lphConsultCall, DWORD dwNumParties, LPLINECALLPARAMS lpCallParams)
DWORD WINAPI lineMakeCallW(HLINE hLine, LPHCALL lphCall, LPCWSTR lpszDestAddress, DWORD dwCountryCode, LPLINECALLPARAMS lpCallParams)
DWORD WINAPI lineAddToConference(HCALL hConfCall, HCALL hConsultCall)
DWORD WINAPI lineRegisterRequestRecipient(HLINEAPP hLineApp, DWORD dwRegistrationInstance, DWORD dwRequestMode, DWORD dwEnable)
DWORD WINAPI lineGetConfRelatedCalls(HCALL hCall, LPLINECALLLIST lpCallList)
static const char szCardsKey[]
DWORD WINAPI lineGetDevCapsA(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, DWORD dwExtVersion, LPLINEDEVCAPS lpLineDevCaps)
DWORD WINAPI lineShutdown(HLINEAPP hLineApp)
DWORD WINAPI lineHold(HCALL hCall)
DWORD WINAPI lineGetLineDevStatusA(HLINE hLine, LPLINEDEVSTATUS lpLineDevStatus)
DWORD WINAPI lineSetTerminal(HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect, DWORD dwTerminalModes, DWORD dwTerminalID, DWORD bEnable)
DWORD WINAPI lineGetProviderListW(DWORD dwAPIVersion, LPLINEPROVIDERLIST lpProviderList)
DWORD WINAPI lineOpenW(HLINEAPP hLineApp, DWORD dwDeviceID, LPHLINE lphLine, DWORD dwAPIVersion, DWORD dwExtVersion, DWORD dwCallbackInstance, DWORD dwPrivileges, DWORD dwMediaModes, LPLINECALLPARAMS lpCallParams)
DWORD WINAPI lineGetAddressCapsA(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAddressID, DWORD dwAPIVersion, DWORD dwExtVersion, LPLINEADDRESSCAPS lpAddressCaps)
DWORD WINAPI lineSendUserUserInfo(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
DWORD WINAPI lineMonitorDigits(HCALL hCall, DWORD dwDigitModes)
DWORD WINAPI lineParkA(HCALL hCall, DWORD dwParkMode, LPCSTR lpszDirAddress, LPVARSTRING lpNonDirAddress)
DWORD WINAPI lineSecureCall(HCALL hCall)
DWORD WINAPI lineConfigDialogA(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass)
static const char szLocationsKey[]
DWORD WINAPI lineGetIDW(HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect, LPVARSTRING lpDeviceID, LPCWSTR lpszDeviceClass)
DWORD WINAPI lineUncompleteCall(HLINE hLine, DWORD dwCompletionID)
DWORD WINAPI lineRemoveProvider(DWORD dwPermanentProviderID, HWND hwndOwner)
DWORD WINAPI lineInitialize(LPHLINEAPP lphLineApp, HINSTANCE hInstance, LINECALLBACK lpfnCallback, LPCSTR lpszAppName, LPDWORD lpdwNumDevs)
DWORD WINAPI lineGenerateTone(HCALL hCall, DWORD dwToneMode, DWORD dwDuration, DWORD dwNumTones, LPLINEGENERATETONE lpTones)
DWORD WINAPI linePickupA(HLINE hLine, DWORD dwAddressID, LPHCALL lphCall, LPCSTR lpszDestAddress, LPCSTR lpszGroupID)
DWORD WINAPI lineTranslateAddressW(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, LPCWSTR lpszAddressIn, DWORD dwCard, DWORD dwTranslateOptions, LPLINETRANSLATEOUTPUT lpTranslateOutput)
DWORD WINAPI lineGetTranslateCapsA(HLINEAPP hLineApp, DWORD dwAPIVersion, LPLINETRANSLATECAPS lpTranslateCaps)
DWORD WINAPI lineSetCurrentLocation(HLINEAPP hLineApp, DWORD dwLocation)
DWORD WINAPI lineGetProviderListA(DWORD dwAPIVersion, LPLINEPROVIDERLIST lpProviderList)
DWORD WINAPI lineGetCountryA(DWORD dwCountryID, DWORD dwAPIVersion, LPLINECOUNTRYLIST lpLineCountryList)
DWORD WINAPI lineSetCallPrivilege(HCALL hCall, DWORD dwCallPrivilege)
DWORD WINAPI lineNegotiateAPIVersion(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPILowVersion, DWORD dwAPIHighVersion, LPDWORD lpdwAPIVersion, LPLINEEXTENSIONID lpExtensionID)
DWORD WINAPI lineSetCallParams(HCALL hCall, DWORD dwBearerMode, DWORD dwMinRate, DWORD dwMaxRate, LPLINEDIALPARAMS lpDialParams)
DWORD WINAPI lineGenerateDigitsA(HCALL hCall, DWORD dwDigitModes, LPCSTR lpszDigits, DWORD dwDuration)
DWORD WINAPI lineUnparkA(HLINE hLine, DWORD dwAddressID, LPHCALL lphCall, LPCSTR lpszDestAddress)
DWORD WINAPI lineConfigProvider(HWND hwndOwner, DWORD dwPermanentProviderID)
DWORD WINAPI lineMonitorMedia(HCALL hCall, DWORD dwMediaModes)
DWORD WINAPI lineDeallocateCall(HCALL hCall)
DWORD WINAPI lineGetAddressStatusA(HLINE hLine, DWORD dwAddressID, LPLINEADDRESSSTATUS lpAddressStatus)
DWORD WINAPI lineMakeCallA(HLINE hLine, LPHCALL lphCall, LPCSTR lpszDestAddress, DWORD dwCountryCode, LPLINECALLPARAMS lpCallParams)
DWORD WINAPI lineGetCallStatus(HCALL hCall, LPLINECALLSTATUS lpCallStatus)
DWORD WINAPI lineGetDevConfigA(DWORD dwDeviceID, LPVARSTRING lpDeviceConfig, LPCSTR lpszDeviceClass)
DWORD WINAPI lineCompleteTransfer(HCALL hCall, HCALL hConsultCall, LPHCALL lphConfCall, DWORD dwTransferMode)
DWORD WINAPI lineDrop(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
DWORD WINAPI lineSetAppSpecific(HCALL hCall, DWORD dwAppSpecific)
DWORD WINAPI lineDevSpecificFeature(HLINE hLine, DWORD dwFeature, LPVOID lpParams, DWORD dwSize)
DWORD WINAPI lineRemoveFromConference(HCALL hCall)
DWORD WINAPI lineSetAppPriorityA(LPCSTR lpszAppFilename, DWORD dwMediaMode, LPLINEEXTENSIONID const lpExtensionID, DWORD dwRequestMode, LPCSTR lpszExtensionName, DWORD dwPriority)
DWORD WINAPI lineSetMediaMode(HCALL hCall, DWORD dwMediaModes)
static const char szCountrylistKey[]
DWORD WINAPI lineGetCallInfoA(HCALL hCall, LPLINECALLINFO lpCallInfo)
DWORD WINAPI lineAddProviderW(LPCWSTR lpszProviderName, HWND hwndOwner, LPDWORD lpdwPermanentProviderID)
DWORD WINAPI lineGetStatusMessages(HLINE hLine, LPDWORD lpdwLineStatus, LPDWORD lpdwAddressStates)
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)
DWORD WINAPI lineGetNewCalls(HLINE hLine, DWORD dwAddressID, DWORD dwSelect, LPLINECALLLIST lpCallList)
DWORD WINAPI lineSetDevConfigA(DWORD dwDeviceID, LPVOID lpDeviceConfig, DWORD dwSize, LPCSTR lpszDeviceClass)
DWORD WINAPI linePrepareAddToConferenceA(HCALL hConfCall, LPHCALL lphConsultCall, LPLINECALLPARAMS lpCallParams)
DWORD WINAPI lineSetNumRings(HLINE hLine, DWORD dwAddressID, DWORD dwNumRings)
DWORD WINAPI lineHandoffA(HCALL hCall, LPCSTR lpszFileName, DWORD dwMediaMode)
DWORD WINAPI lineBlindTransferA(HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode)
DWORD WINAPI lineGetCountryW(DWORD id, DWORD version, LPLINECOUNTRYLIST list)
DWORD WINAPI lineForwardA(HLINE hLine, DWORD bAllAddress, DWORD dwAddressID, LPLINEFORWARDLIST lpForwardList, DWORD dwNumRingsNoAnswer, LPHCALL lphConsultCall, LPLINECALLPARAMS lpCallParams)
DWORD WINAPI lineGatherDigitsA(HCALL hCall, DWORD dwDigitModes, LPSTR lpsDigits, DWORD dwNumDigits, LPCSTR lpszTerminationDigits, DWORD dwFirstDigitTimeout, DWORD dwInterDigitTimeout)
LONG WINAPI lineInitializeExW(LPHLINEAPP lphLineApp, HINSTANCE hInstance, LINECALLBACK lpfnCallback, LPCWSTR lpszFriendlyAppName, LPDWORD lpdwNumDevs, LPDWORD lpdwAPIVersion, LPLINEINITIALIZEEXPARAMS lpLineInitializeExParams)
DWORD WINAPI lineSetTollListA(HLINEAPP hLineApp, DWORD dwDeviceID, LPCSTR lpszAddressIn, DWORD dwTollListOption)
DWORD WINAPI lineGetMessage(HLINEAPP hLineApp, LPLINEMESSAGE lpMessage, DWORD dwTimeout)
DWORD WINAPI lineDevSpecific(HLINE hLine, DWORD dwAddressId, HCALL hCall, LPVOID lpParams, DWORD dwSize)
DWORD WINAPI lineGetIconA(DWORD dwDeviceID, LPCSTR lpszDeviceClass, HICON *lphIcon)
DWORD WINAPI lineMonitorTones(HCALL hCall, LPLINEMONITORTONE lpToneList, DWORD dwNumEntries)
DWORD WINAPI lineReleaseUserUserInfo(HCALL hCall)
DWORD WINAPI lineConfigDialogW(DWORD dwDeviceID, HWND hwndOwner, LPCWSTR lpszDeviceClass)
DWORD WINAPI lineGetAddressIDA(HLINE hLine, LPDWORD lpdwAddressID, DWORD dwAddressMode, LPCSTR lpsAddress, DWORD dwSize)
DWORD WINAPI lineGetRequestA(HLINEAPP hLineApp, DWORD dwRequestMode, LPVOID lpRequestBuffer)
DWORD WINAPI lineCompleteCall(HCALL hCall, LPDWORD lpdwCompletionID, DWORD dwCompletionMode, DWORD dwMessageID)
GLenum GLuint GLenum GLsizei const GLchar * buf
GLuint GLsizei GLsizei * length
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
_Check_return_ long __cdecl wcstol(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_ int _Radix)
_Check_return_ int __cdecl atoi(_In_z_ const char *_Str)
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
#define LOCALE_SYSTEM_DEFAULT
_In_ DWORD _In_ DWORD dwOffset
DWORD dwLongDistanceRuleOffset
DWORD dwSameAreaRuleOffset
DWORD dwLongDistanceRuleSize
DWORD dwInternationalRuleOffset
DWORD dwInternationalRuleSize
DWORD dwLongDistanceRuleSize
DWORD dwLongDistanceRuleOffset
DWORD dwInternationalRuleOffset
DWORD dwSameAreaRuleOffset
DWORD dwInternationalRuleSize
DWORD dwCountryNameOffset
DWORD dwCountryListOffset
DWORD dwTollPrefixListOffset
DWORD dwLocalAccessCodeSize
DWORD dwTollPrefixListSize
DWORD dwLocationNameOffset
DWORD dwLocalAccessCodeOffset
DWORD dwLongDistanceAccessCodeSize
DWORD dwCancelCallWaitingSize
DWORD dwLongDistanceAccessCodeOffset
DWORD dwPermanentLocationID
DWORD dwCancelCallWaitingOffset
DWORD dwCurrentPreferredCardID
DWORD dwLocationListOffset
DWORD dwCurrentLocationID
#define LINEERR_OPERATIONFAILED
#define LINEERR_INIFILECORRUPT
struct linecardentry_tag LINECARDENTRY
struct linetranslatecaps_tag LINETRANSLATECAPS
#define LINEERR_INVALPOINTER
struct linecountrylist_tag LINECOUNTRYLIST
#define LINEERR_STRUCTURETOOSMALL
struct linecountryentry_tag * LPLINECOUNTRYENTRY
struct linecountryentry_tag LINECOUNTRYENTRY
struct linelocationentry_tag LINELOCATIONENTRY
void(CALLBACK * LINECALLBACK)(DWORD, DWORD, DWORD, DWORD, DWORD, DWORD)
struct linecardentry_tag * LPLINECARDENTRY
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD dwTimeout
#define HKEY_LOCAL_MACHINE
#define HKEY_CURRENT_USER