tapi32: Win64 printf format warning fixes.

This commit is contained in:
Hans Leidekker 2006-10-12 20:56:37 +02:00 committed by Alexandre Julliard
parent 9f71ae876a
commit 0a1f1a9c00
4 changed files with 82 additions and 83 deletions

View File

@ -5,7 +5,6 @@ VPATH = @srcdir@
MODULE = tapi32.dll MODULE = tapi32.dll
IMPORTLIB = libtapi32.$(IMPLIBEXT) IMPORTLIB = libtapi32.$(IMPLIBEXT)
IMPORTS = advapi32 kernel32 IMPORTS = advapi32 kernel32
EXTRADEFS = -DWINE_NO_LONG_AS_INT
C_SRCS = \ C_SRCS = \
assisted.c \ assisted.c \

View File

@ -47,7 +47,7 @@ DWORD WINAPI tapiGetLocationInfoA(LPSTR lpszCountryCode, LPSTR lpszCityCode)
if(!RegQueryValueExA(hkey, "CurrentID", 0, &type, (LPBYTE) &currid, if(!RegQueryValueExA(hkey, "CurrentID", 0, &type, (LPBYTE) &currid,
&valsize) && type == REG_DWORD) { &valsize) && type == REG_DWORD) {
/* find a subkey called Location1, Location2... */ /* find a subkey called Location1, Location2... */
sprintf( szlockey, "Location%lu", currid); sprintf( szlockey, "Location%u", currid);
if( !RegOpenKeyA( hkey, szlockey, &hsubkey)) { if( !RegOpenKeyA( hkey, szlockey, &hsubkey)) {
if( lpszCityCode) { if( lpszCityCode) {
bufsize=sizeof(buf); bufsize=sizeof(buf);
@ -61,7 +61,7 @@ DWORD WINAPI tapiGetLocationInfoA(LPSTR lpszCountryCode, LPSTR lpszCityCode)
bufsize=sizeof(buf); bufsize=sizeof(buf);
if( !RegQueryValueExA( hsubkey, "Country", 0, &type, buf, if( !RegQueryValueExA( hsubkey, "Country", 0, &type, buf,
&bufsize) && type == REG_DWORD) &bufsize) && type == REG_DWORD)
snprintf( lpszCountryCode, 8, "%lu", *(LPDWORD) buf ); snprintf( lpszCountryCode, 8, "%u", *(LPDWORD) buf );
else else
lpszCountryCode[0] = '\0'; lpszCountryCode[0] = '\0';
} }

View File

@ -46,7 +46,7 @@ static const char szCardsKey[] =
*/ */
DWORD WINAPI lineAccept(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize) DWORD WINAPI lineAccept(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
{ {
FIXME("(%p, %s, %ld): stub.\n", hCall, lpsUserUserInfo, dwSize); FIXME("(%p, %s, %d): stub.\n", hCall, lpsUserUserInfo, dwSize);
return 1; return 1;
} }
@ -73,7 +73,7 @@ DWORD WINAPI lineAddToConference(HCALL hConfCall, HCALL hConsultCall)
*/ */
DWORD WINAPI lineAnswer(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize) DWORD WINAPI lineAnswer(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
{ {
FIXME("(%p, %s, %ld): stub.\n", hCall, lpsUserUserInfo, dwSize); FIXME("(%p, %s, %d): stub.\n", hCall, lpsUserUserInfo, dwSize);
return 1; return 1;
} }
@ -82,7 +82,7 @@ DWORD WINAPI lineAnswer(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
*/ */
DWORD WINAPI lineBlindTransferA(HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode) DWORD WINAPI lineBlindTransferA(HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode)
{ {
FIXME("(%p, %s, %08lx): stub.\n", hCall, lpszDestAddress, dwCountryCode); FIXME("(%p, %s, %08x): stub.\n", hCall, lpszDestAddress, dwCountryCode);
return 1; return 1;
} }
@ -100,7 +100,7 @@ DWORD WINAPI lineClose(HLINE hLine)
*/ */
DWORD WINAPI lineCompleteCall(HCALL hCall, LPDWORD lpdwCompletionID, DWORD dwCompletionMode, DWORD dwMessageID) DWORD WINAPI lineCompleteCall(HCALL hCall, LPDWORD lpdwCompletionID, DWORD dwCompletionMode, DWORD dwMessageID)
{ {
FIXME("(%p, %p, %08lx, %08lx): stub.\n", hCall, lpdwCompletionID, dwCompletionMode, dwMessageID); FIXME("(%p, %p, %08x, %08x): stub.\n", hCall, lpdwCompletionID, dwCompletionMode, dwMessageID);
return 1; return 1;
} }
@ -109,7 +109,7 @@ DWORD WINAPI lineCompleteCall(HCALL hCall, LPDWORD lpdwCompletionID, DWORD dwCom
*/ */
DWORD WINAPI lineCompleteTransfer(HCALL hCall, HCALL hConsultCall, LPHCALL lphConfCall, DWORD dwTransferMode) DWORD WINAPI lineCompleteTransfer(HCALL hCall, HCALL hConsultCall, LPHCALL lphConfCall, DWORD dwTransferMode)
{ {
FIXME("(%p, %p, %p, %08lx): stub.\n", hCall, hConsultCall, lphConfCall, dwTransferMode); FIXME("(%p, %p, %p, %08x): stub.\n", hCall, hConsultCall, lphConfCall, dwTransferMode);
return 1; return 1;
} }
@ -118,7 +118,7 @@ DWORD WINAPI lineCompleteTransfer(HCALL hCall, HCALL hConsultCall, LPHCALL lphCo
*/ */
DWORD WINAPI lineConfigDialogA(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass) DWORD WINAPI lineConfigDialogA(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass)
{ {
FIXME("(%08lx, %p, %s): stub.\n", dwDeviceID, hwndOwner, lpszDeviceClass); FIXME("(%08x, %p, %s): stub.\n", dwDeviceID, hwndOwner, lpszDeviceClass);
return 0; return 0;
} }
@ -136,7 +136,7 @@ DWORD WINAPI lineConfigDialogEditA(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpsz
*/ */
DWORD WINAPI lineConfigProvider(HWND hwndOwner, DWORD dwPermanentProviderID) DWORD WINAPI lineConfigProvider(HWND hwndOwner, DWORD dwPermanentProviderID)
{ {
FIXME("(%p, %08lx): stub.\n", hwndOwner, dwPermanentProviderID); FIXME("(%p, %08x): stub.\n", hwndOwner, dwPermanentProviderID);
return 0; return 0;
} }
@ -154,7 +154,7 @@ DWORD WINAPI lineDeallocateCall(HCALL hCall)
*/ */
DWORD WINAPI lineDevSpecific(HLINE hLine, DWORD dwAddressId, HCALL hCall, LPVOID lpParams, DWORD dwSize) DWORD WINAPI lineDevSpecific(HLINE hLine, DWORD dwAddressId, HCALL hCall, LPVOID lpParams, DWORD dwSize)
{ {
FIXME("(%p, %08lx, %p, %p, %ld): stub.\n", hLine, dwAddressId, hCall, lpParams, dwSize); FIXME("(%p, %08x, %p, %p, %d): stub.\n", hLine, dwAddressId, hCall, lpParams, dwSize);
return 1; return 1;
} }
@ -163,7 +163,7 @@ DWORD WINAPI lineDevSpecific(HLINE hLine, DWORD dwAddressId, HCALL hCall, LPVOID
*/ */
DWORD WINAPI lineDevSpecificFeature(HLINE hLine, DWORD dwFeature, LPVOID lpParams, DWORD dwSize) DWORD WINAPI lineDevSpecificFeature(HLINE hLine, DWORD dwFeature, LPVOID lpParams, DWORD dwSize)
{ {
FIXME("(%p, %08lx, %p, %ld): stub.\n", hLine, dwFeature, lpParams, dwSize); FIXME("(%p, %08x, %p, %d): stub.\n", hLine, dwFeature, lpParams, dwSize);
return 1; return 1;
} }
@ -172,7 +172,7 @@ DWORD WINAPI lineDevSpecificFeature(HLINE hLine, DWORD dwFeature, LPVOID lpParam
*/ */
DWORD WINAPI lineDialA(HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode) DWORD WINAPI lineDialA(HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode)
{ {
FIXME("(%p, %s, %08lx): stub.\n", hCall, lpszDestAddress, dwCountryCode); FIXME("(%p, %s, %08x): stub.\n", hCall, lpszDestAddress, dwCountryCode);
return 1; return 1;
} }
@ -181,7 +181,7 @@ DWORD WINAPI lineDialA(HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode)
*/ */
DWORD WINAPI lineDrop(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize) DWORD WINAPI lineDrop(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
{ {
FIXME("(%p, %s, %08lx): stub.\n", hCall, lpsUserUserInfo, dwSize); FIXME("(%p, %s, %08x): stub.\n", hCall, lpsUserUserInfo, dwSize);
return 1; return 1;
} }
@ -208,7 +208,7 @@ DWORD WINAPI lineGatherDigitsA(HCALL hCall, DWORD dwDigitModes, LPSTR lpsDigits,
*/ */
DWORD WINAPI lineGenerateDigitsA(HCALL hCall, DWORD dwDigitModes, LPCSTR lpszDigits, DWORD dwDuration) DWORD WINAPI lineGenerateDigitsA(HCALL hCall, DWORD dwDigitModes, LPCSTR lpszDigits, DWORD dwDuration)
{ {
FIXME("(%p, %08lx, %s, %ld): stub.\n", hCall, dwDigitModes, lpszDigits, dwDuration); FIXME("(%p, %08x, %s, %d): stub.\n", hCall, dwDigitModes, lpszDigits, dwDuration);
return 0; return 0;
} }
@ -217,7 +217,7 @@ DWORD WINAPI lineGenerateDigitsA(HCALL hCall, DWORD dwDigitModes, LPCSTR lpszDig
*/ */
DWORD WINAPI lineGenerateTone(HCALL hCall, DWORD dwToneMode, DWORD dwDuration, DWORD dwNumTones, LPLINEGENERATETONE lpTones) DWORD WINAPI lineGenerateTone(HCALL hCall, DWORD dwToneMode, DWORD dwDuration, DWORD dwNumTones, LPLINEGENERATETONE lpTones)
{ {
FIXME("(%p, %08lx, %ld, %ld, %p): stub.\n", hCall, dwToneMode, dwDuration, dwNumTones, lpTones); FIXME("(%p, %08x, %d, %d, %p): stub.\n", hCall, dwToneMode, dwDuration, dwNumTones, lpTones);
return 0; return 0;
} }
@ -226,7 +226,7 @@ DWORD WINAPI lineGenerateTone(HCALL hCall, DWORD dwToneMode, DWORD dwDuration, D
*/ */
DWORD WINAPI lineGetAddressCapsA(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAddressID, DWORD dwAPIVersion, DWORD dwExtVersion, LPLINEADDRESSCAPS lpAddressCaps) DWORD WINAPI lineGetAddressCapsA(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAddressID, DWORD dwAPIVersion, DWORD dwExtVersion, LPLINEADDRESSCAPS lpAddressCaps)
{ {
FIXME("(%p, %08lx, %08lx, %08lx, %08lx, %p): stub.\n", hLineApp, dwDeviceID, dwAddressID, dwAPIVersion, dwExtVersion, lpAddressCaps); FIXME("(%p, %08x, %08x, %08x, %08x, %p): stub.\n", hLineApp, dwDeviceID, dwAddressID, dwAPIVersion, dwExtVersion, lpAddressCaps);
return 0; return 0;
} }
@ -235,7 +235,7 @@ DWORD WINAPI lineGetAddressCapsA(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAd
*/ */
DWORD WINAPI lineGetAddressIDA(HLINE hLine, LPDWORD lpdwAddressID, DWORD dwAddressMode, LPCSTR lpsAddress, DWORD dwSize) DWORD WINAPI lineGetAddressIDA(HLINE hLine, LPDWORD lpdwAddressID, DWORD dwAddressMode, LPCSTR lpsAddress, DWORD dwSize)
{ {
FIXME("%p, %p, %08lx, %s, %ld): stub.\n", hLine, lpdwAddressID, dwAddressMode, lpsAddress, dwSize); FIXME("%p, %p, %08x, %s, %d): stub.\n", hLine, lpdwAddressID, dwAddressMode, lpsAddress, dwSize);
return 0; return 0;
} }
@ -244,7 +244,7 @@ DWORD WINAPI lineGetAddressIDA(HLINE hLine, LPDWORD lpdwAddressID, DWORD dwAddre
*/ */
DWORD WINAPI lineGetAddressStatusA(HLINE hLine, DWORD dwAddressID, LPLINEADDRESSSTATUS lpAddressStatus) DWORD WINAPI lineGetAddressStatusA(HLINE hLine, DWORD dwAddressID, LPLINEADDRESSSTATUS lpAddressStatus)
{ {
FIXME("(%p, %08lx, %p): stub.\n", hLine, dwAddressID, lpAddressStatus); FIXME("(%p, %08x, %p): stub.\n", hLine, dwAddressID, lpAddressStatus);
return 0; return 0;
} }
@ -253,7 +253,7 @@ DWORD WINAPI lineGetAddressStatusA(HLINE hLine, DWORD dwAddressID, LPLINEADDRESS
*/ */
DWORD WINAPI lineGetAppPriorityA(LPCSTR lpszAppFilename, DWORD dwMediaMode, LPLINEEXTENSIONID const lpExtensionID, DWORD dwRequestMode, LPVARSTRING lpExtensionName, LPDWORD lpdwPriority) DWORD WINAPI lineGetAppPriorityA(LPCSTR lpszAppFilename, DWORD dwMediaMode, LPLINEEXTENSIONID const lpExtensionID, DWORD dwRequestMode, LPVARSTRING lpExtensionName, LPDWORD lpdwPriority)
{ {
FIXME("(%s, %08lx, %p, %08lx, %p, %p): stub.\n", lpszAppFilename, dwMediaMode, lpExtensionID, dwRequestMode, lpExtensionName, lpdwPriority); FIXME("(%s, %08x, %p, %08x, %p, %p): stub.\n", lpszAppFilename, dwMediaMode, lpExtensionID, dwRequestMode, lpExtensionName, lpdwPriority);
return 0; return 0;
} }
@ -305,12 +305,12 @@ DWORD WINAPI lineGetCountryA(DWORD dwCountryID, DWORD dwAPIVersion, LPLINECOUNTR
char *subkey_name; char *subkey_name;
if(!lpLineCountryList) { if(!lpLineCountryList) {
TRACE("(%08lx, %08lx, %p): stub. Returning LINEERR_INVALPOINTER\n", TRACE("(%08x, %08x, %p): stub. Returning LINEERR_INVALPOINTER\n",
dwCountryID, dwAPIVersion, lpLineCountryList); dwCountryID, dwAPIVersion, lpLineCountryList);
return LINEERR_INVALPOINTER; return LINEERR_INVALPOINTER;
} }
TRACE("(%08lx, %08lx, %p(%ld)): stub.\n", TRACE("(%08x, %08x, %p(%d)): stub.\n",
dwCountryID, dwAPIVersion, lpLineCountryList, dwCountryID, dwAPIVersion, lpLineCountryList,
lpLineCountryList->dwTotalSize); lpLineCountryList->dwTotalSize);
@ -446,7 +446,7 @@ DWORD WINAPI lineGetCountryA(DWORD dwCountryID, DWORD dwAPIVersion, LPLINECOUNTR
lpLineCountryList->dwNeededSize = dwOffset; lpLineCountryList->dwNeededSize = dwOffset;
TRACE("%ld available %ld required\n", dwAvailSize, dwOffset); TRACE("%d available %d required\n", dwAvailSize, dwOffset);
HeapFree(GetProcessHeap(), 0, subkey_name); HeapFree(GetProcessHeap(), 0, subkey_name);
RegCloseKey(hkey); RegCloseKey(hkey);
@ -459,7 +459,7 @@ DWORD WINAPI lineGetCountryA(DWORD dwCountryID, DWORD dwAPIVersion, LPLINECOUNTR
*/ */
DWORD WINAPI lineGetDevCapsA(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, DWORD dwExtVersion, LPLINEDEVCAPS lpLineDevCaps) DWORD WINAPI lineGetDevCapsA(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, DWORD dwExtVersion, LPLINEDEVCAPS lpLineDevCaps)
{ {
FIXME("(%p, %08lx, %08lx, %08lx, %p): stub.\n", hLineApp, dwDeviceID, dwAPIVersion, dwExtVersion, lpLineDevCaps); FIXME("(%p, %08x, %08x, %08x, %p): stub.\n", hLineApp, dwDeviceID, dwAPIVersion, dwExtVersion, lpLineDevCaps);
return 0; return 0;
} }
@ -468,7 +468,7 @@ DWORD WINAPI lineGetDevCapsA(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVer
*/ */
DWORD WINAPI lineGetDevConfigA(DWORD dwDeviceID, LPVARSTRING lpDeviceConfig, LPCSTR lpszDeviceClass) DWORD WINAPI lineGetDevConfigA(DWORD dwDeviceID, LPVARSTRING lpDeviceConfig, LPCSTR lpszDeviceClass)
{ {
FIXME("(%08lx, %p, %s): stub.\n", dwDeviceID, lpDeviceConfig, lpszDeviceClass); FIXME("(%08x, %p, %s): stub.\n", dwDeviceID, lpDeviceConfig, lpszDeviceClass);
return 0; return 0;
} }
@ -477,7 +477,7 @@ DWORD WINAPI lineGetDevConfigA(DWORD dwDeviceID, LPVARSTRING lpDeviceConfig, LPC
*/ */
DWORD WINAPI lineGetIDA(HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect, LPVARSTRING lpDeviceID, LPCSTR lpszDeviceClass) DWORD WINAPI lineGetIDA(HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect, LPVARSTRING lpDeviceID, LPCSTR lpszDeviceClass)
{ {
FIXME("(%p, %08lx, %p, %08lx, %p, %s): stub.\n", hLine, dwAddressID, hCall, dwSelect, lpDeviceID, lpszDeviceClass); FIXME("(%p, %08x, %p, %08x, %p, %s): stub.\n", hLine, dwAddressID, hCall, dwSelect, lpDeviceID, lpszDeviceClass);
return 0; return 0;
} }
@ -486,7 +486,7 @@ DWORD WINAPI lineGetIDA(HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSel
*/ */
DWORD WINAPI lineGetIconA(DWORD dwDeviceID, LPCSTR lpszDeviceClass, HICON *lphIcon) DWORD WINAPI lineGetIconA(DWORD dwDeviceID, LPCSTR lpszDeviceClass, HICON *lphIcon)
{ {
FIXME("(%08lx, %s, %p): stub.\n", dwDeviceID, lpszDeviceClass, lphIcon); FIXME("(%08x, %s, %p): stub.\n", dwDeviceID, lpszDeviceClass, lphIcon);
return 0; return 0;
} }
@ -504,7 +504,7 @@ DWORD WINAPI lineGetLineDevStatusA(HLINE hLine, LPLINEDEVSTATUS lpLineDevStatus)
*/ */
DWORD WINAPI lineGetNewCalls(HLINE hLine, DWORD dwAddressID, DWORD dwSelect, LPLINECALLLIST lpCallList) DWORD WINAPI lineGetNewCalls(HLINE hLine, DWORD dwAddressID, DWORD dwSelect, LPLINECALLLIST lpCallList)
{ {
FIXME("(%p, %08lx, %08lx, %p): stub.\n", hLine, dwAddressID, dwSelect, lpCallList); FIXME("(%p, %08x, %08x, %p): stub.\n", hLine, dwAddressID, dwSelect, lpCallList);
return 0; return 0;
} }
@ -513,7 +513,7 @@ DWORD WINAPI lineGetNewCalls(HLINE hLine, DWORD dwAddressID, DWORD dwSelect, LPL
*/ */
DWORD WINAPI lineGetNumRings(HLINE hLine, DWORD dwAddressID, LPDWORD lpdwNumRings) DWORD WINAPI lineGetNumRings(HLINE hLine, DWORD dwAddressID, LPDWORD lpdwNumRings)
{ {
FIXME("(%p, %08lx, %p): stub.\n", hLine, dwAddressID, lpdwNumRings); FIXME("(%p, %08x, %p): stub.\n", hLine, dwAddressID, lpdwNumRings);
return 0; return 0;
} }
@ -522,7 +522,7 @@ DWORD WINAPI lineGetNumRings(HLINE hLine, DWORD dwAddressID, LPDWORD lpdwNumRing
*/ */
DWORD WINAPI lineGetProviderListA(DWORD dwAPIVersion, LPLINEPROVIDERLIST lpProviderList) DWORD WINAPI lineGetProviderListA(DWORD dwAPIVersion, LPLINEPROVIDERLIST lpProviderList)
{ {
FIXME("(%08lx, %p): stub.\n", dwAPIVersion, lpProviderList); FIXME("(%08x, %p): stub.\n", dwAPIVersion, lpProviderList);
return 0; return 0;
} }
@ -531,7 +531,7 @@ DWORD WINAPI lineGetProviderListA(DWORD dwAPIVersion, LPLINEPROVIDERLIST lpProvi
*/ */
DWORD WINAPI lineGetRequestA(HLINEAPP hLineApp, DWORD dwRequestMode, LPVOID lpRequestBuffer) DWORD WINAPI lineGetRequestA(HLINEAPP hLineApp, DWORD dwRequestMode, LPVOID lpRequestBuffer)
{ {
FIXME("%p, %08lx, %p): stub.\n", hLineApp, dwRequestMode, lpRequestBuffer); FIXME("%p, %08x, %p): stub.\n", hLineApp, dwRequestMode, lpRequestBuffer);
return 0; return 0;
} }
@ -607,7 +607,7 @@ DWORD WINAPI lineGetTranslateCapsA(HLINEAPP hLineApp, DWORD dwAPIVersion,
LPLINELOCATIONENTRY pLocEntry; LPLINELOCATIONENTRY pLocEntry;
LPLINECARDENTRY pCardEntry; LPLINECARDENTRY pCardEntry;
TRACE("(%p, %08lx, %p (tot. size %ld)\n", hLineApp, dwAPIVersion, TRACE("(%p, %08x, %p (tot. size %d)\n", hLineApp, dwAPIVersion,
lpTranslateCaps, lpTranslateCaps->dwTotalSize ); lpTranslateCaps, lpTranslateCaps->dwTotalSize );
if( lpTranslateCaps->dwTotalSize < sizeof(LINETRANSLATECAPS)) if( lpTranslateCaps->dwTotalSize < sizeof(LINETRANSLATECAPS))
return LINEERR_STRUCTURETOOSMALL; return LINEERR_STRUCTURETOOSMALL;
@ -744,7 +744,7 @@ DWORD WINAPI lineGetTranslateCapsA(HLINEAPP hLineApp, DWORD dwAPIVersion,
HeapFree(GetProcessHeap(), 0, loc_key_name); HeapFree(GetProcessHeap(), 0, loc_key_name);
HeapFree(GetProcessHeap(), 0, card_key_name); HeapFree(GetProcessHeap(), 0, card_key_name);
lpTranslateCaps->dwUsedSize = sizeof(LINETRANSLATECAPS); lpTranslateCaps->dwUsedSize = sizeof(LINETRANSLATECAPS);
TRACE("Insufficient space: total %ld needed %ld used %ld\n", TRACE("Insufficient space: total %d needed %d used %d\n",
lpTranslateCaps->dwTotalSize, lpTranslateCaps->dwTotalSize,
lpTranslateCaps->dwNeededSize, lpTranslateCaps->dwNeededSize,
lpTranslateCaps->dwUsedSize); lpTranslateCaps->dwUsedSize);
@ -847,9 +847,9 @@ DWORD WINAPI lineGetTranslateCapsA(HLINEAPP hLineApp, DWORD dwAPIVersion,
if(pLocEntry->dwPermanentLocationID == currentid ) if(pLocEntry->dwPermanentLocationID == currentid )
lpTranslateCaps->dwCurrentPreferredCardID = lpTranslateCaps->dwCurrentPreferredCardID =
pLocEntry->dwPreferredCardID; pLocEntry->dwPreferredCardID;
TRACE("added: ID %ld %s CountryCode %ld CityCode %s CardID %ld " TRACE("added: ID %d %s CountryCode %d CityCode %s CardID %d "
"LocalAccess: %s LongDistanceAccess: %s CountryID %ld " "LocalAccess: %s LongDistanceAccess: %s CountryID %d "
"Options %ld CancelCallWait %s\n", "Options %d CancelCallWait %s\n",
pLocEntry->dwPermanentLocationID, pLocEntry->dwPermanentLocationID,
debugstr_a( (char*)lpTranslateCaps + pLocEntry->dwLocationNameOffset), debugstr_a( (char*)lpTranslateCaps + pLocEntry->dwLocationNameOffset),
pLocEntry->dwCountryCode, pLocEntry->dwCountryCode,
@ -904,7 +904,7 @@ DWORD WINAPI lineGetTranslateCapsA(HLINEAPP hLineApp, DWORD dwAPIVersion,
size_val=sizeof(DWORD); size_val=sizeof(DWORD);
RegQueryValueExA(hsubkey, "Flags",NULL, NULL, RegQueryValueExA(hsubkey, "Flags",NULL, NULL,
(LPBYTE) &(pCardEntry->dwOptions), &size_val); (LPBYTE) &(pCardEntry->dwOptions), &size_val);
TRACE( "added card: ID %ld name %s SameArea %s LongDistance %s International %s Options 0x%lx\n", TRACE( "added card: ID %d name %s SameArea %s LongDistance %s International %s Options 0x%x\n",
pCardEntry->dwPermanentCardID, pCardEntry->dwPermanentCardID,
debugstr_a( (char*)lpTranslateCaps + pCardEntry->dwCardNameOffset), debugstr_a( (char*)lpTranslateCaps + pCardEntry->dwCardNameOffset),
debugstr_a( (char*)lpTranslateCaps + pCardEntry->dwSameAreaRuleOffset), debugstr_a( (char*)lpTranslateCaps + pCardEntry->dwSameAreaRuleOffset),
@ -921,7 +921,7 @@ DWORD WINAPI lineGetTranslateCapsA(HLINEAPP hLineApp, DWORD dwAPIVersion,
if(hkCardLocations) RegCloseKey(hkCardLocations); if(hkCardLocations) RegCloseKey(hkCardLocations);
HeapFree(GetProcessHeap(), 0, loc_key_name); HeapFree(GetProcessHeap(), 0, loc_key_name);
HeapFree(GetProcessHeap(), 0, card_key_name); HeapFree(GetProcessHeap(), 0, card_key_name);
TRACE(" returning success tot %ld needed %ld used %ld\n", TRACE(" returning success tot %d needed %d used %d\n",
lpTranslateCaps->dwTotalSize, lpTranslateCaps->dwTotalSize,
lpTranslateCaps->dwNeededSize, lpTranslateCaps->dwNeededSize,
lpTranslateCaps->dwUsedSize ); lpTranslateCaps->dwUsedSize );
@ -933,7 +933,7 @@ DWORD WINAPI lineGetTranslateCapsA(HLINEAPP hLineApp, DWORD dwAPIVersion,
*/ */
DWORD WINAPI lineHandoffA(HCALL hCall, LPCSTR lpszFileName, DWORD dwMediaMode) DWORD WINAPI lineHandoffA(HCALL hCall, LPCSTR lpszFileName, DWORD dwMediaMode)
{ {
FIXME("(%p, %s, %08lx): stub.\n", hCall, lpszFileName, dwMediaMode); FIXME("(%p, %s, %08x): stub.\n", hCall, lpszFileName, dwMediaMode);
return 0; return 0;
} }
@ -966,7 +966,7 @@ DWORD WINAPI lineInitialize(
*/ */
DWORD WINAPI lineMakeCallA(HLINE hLine, LPHCALL lphCall, LPCSTR lpszDestAddress, DWORD dwCountryCode, LPLINECALLPARAMS lpCallParams) DWORD WINAPI lineMakeCallA(HLINE hLine, LPHCALL lphCall, LPCSTR lpszDestAddress, DWORD dwCountryCode, LPLINECALLPARAMS lpCallParams)
{ {
FIXME("(%p, %p, %s, %08lx, %p): stub.\n", hLine, lphCall, lpszDestAddress, dwCountryCode, lpCallParams); FIXME("(%p, %p, %s, %08x, %p): stub.\n", hLine, lphCall, lpszDestAddress, dwCountryCode, lpCallParams);
return 1; return 1;
} }
@ -975,7 +975,7 @@ DWORD WINAPI lineMakeCallA(HLINE hLine, LPHCALL lphCall, LPCSTR lpszDestAddress,
*/ */
DWORD WINAPI lineMonitorDigits(HCALL hCall, DWORD dwDigitModes) DWORD WINAPI lineMonitorDigits(HCALL hCall, DWORD dwDigitModes)
{ {
FIXME("(%p, %08lx): stub.\n", hCall, dwDigitModes); FIXME("(%p, %08x): stub.\n", hCall, dwDigitModes);
return 0; return 0;
} }
@ -984,7 +984,7 @@ DWORD WINAPI lineMonitorDigits(HCALL hCall, DWORD dwDigitModes)
*/ */
DWORD WINAPI lineMonitorMedia(HCALL hCall, DWORD dwMediaModes) DWORD WINAPI lineMonitorMedia(HCALL hCall, DWORD dwMediaModes)
{ {
FIXME("(%p, %08lx): stub.\n", hCall, dwMediaModes); FIXME("(%p, %08x): stub.\n", hCall, dwMediaModes);
return 0; return 0;
} }
@ -993,7 +993,7 @@ DWORD WINAPI lineMonitorMedia(HCALL hCall, DWORD dwMediaModes)
*/ */
DWORD WINAPI lineMonitorTones(HCALL hCall, LPLINEMONITORTONE lpToneList, DWORD dwNumEntries) DWORD WINAPI lineMonitorTones(HCALL hCall, LPLINEMONITORTONE lpToneList, DWORD dwNumEntries)
{ {
FIXME("(%p, %p, %08lx): stub.\n", hCall, lpToneList, dwNumEntries); FIXME("(%p, %p, %08x): stub.\n", hCall, lpToneList, dwNumEntries);
return 0; return 0;
} }
@ -1009,7 +1009,7 @@ DWORD WINAPI lineNegotiateAPIVersion(
LPLINEEXTENSIONID lpExtensionID LPLINEEXTENSIONID lpExtensionID
) )
{ {
FIXME("(%p, %ld, %ld, %ld, %p, %p): stub.\n", hLineApp, dwDeviceID, FIXME("(%p, %d, %d, %d, %p, %p): stub.\n", hLineApp, dwDeviceID,
dwAPILowVersion, dwAPIHighVersion, lpdwAPIVersion, lpExtensionID); dwAPILowVersion, dwAPIHighVersion, lpdwAPIVersion, lpExtensionID);
*lpdwAPIVersion = dwAPIHighVersion; *lpdwAPIVersion = dwAPIHighVersion;
return 0; return 0;
@ -1038,7 +1038,7 @@ DWORD WINAPI lineOpenA(HLINEAPP hLineApp, DWORD dwDeviceID, LPHLINE lphLine, DWO
*/ */
DWORD WINAPI lineParkA(HCALL hCall, DWORD dwParkMode, LPCSTR lpszDirAddress, LPVARSTRING lpNonDirAddress) DWORD WINAPI lineParkA(HCALL hCall, DWORD dwParkMode, LPCSTR lpszDirAddress, LPVARSTRING lpNonDirAddress)
{ {
FIXME("(%p, %08lx, %s, %p): stub.\n", hCall, dwParkMode, lpszDirAddress, lpNonDirAddress); FIXME("(%p, %08x, %s, %p): stub.\n", hCall, dwParkMode, lpszDirAddress, lpNonDirAddress);
return 1; return 1;
} }
@ -1047,7 +1047,7 @@ DWORD WINAPI lineParkA(HCALL hCall, DWORD dwParkMode, LPCSTR lpszDirAddress, LPV
*/ */
DWORD WINAPI linePickupA(HLINE hLine, DWORD dwAddressID, LPHCALL lphCall, LPCSTR lpszDestAddress, LPCSTR lpszGroupID) DWORD WINAPI linePickupA(HLINE hLine, DWORD dwAddressID, LPHCALL lphCall, LPCSTR lpszDestAddress, LPCSTR lpszGroupID)
{ {
FIXME("(%p, %08lx, %p, %s, %s): stub.\n", hLine, dwAddressID, lphCall, lpszDestAddress, lpszGroupID); FIXME("(%p, %08x, %p, %s, %s): stub.\n", hLine, dwAddressID, lphCall, lpszDestAddress, lpszGroupID);
return 1; return 1;
} }
@ -1077,7 +1077,7 @@ DWORD WINAPI lineRedirectA(
*/ */
DWORD WINAPI lineRegisterRequestRecipient(HLINEAPP hLineApp, DWORD dwRegistrationInstance, DWORD dwRequestMode, DWORD dwEnable) DWORD WINAPI lineRegisterRequestRecipient(HLINEAPP hLineApp, DWORD dwRegistrationInstance, DWORD dwRequestMode, DWORD dwEnable)
{ {
FIXME("(%p, %08lx, %08lx, %08lx): stub.\n", hLineApp, dwRegistrationInstance, dwRequestMode, dwEnable); FIXME("(%p, %08x, %08x, %08x): stub.\n", hLineApp, dwRegistrationInstance, dwRequestMode, dwEnable);
return 1; return 1;
} }
@ -1104,7 +1104,7 @@ DWORD WINAPI lineRemoveFromConference(HCALL hCall)
*/ */
DWORD WINAPI lineRemoveProvider(DWORD dwPermanentProviderID, HWND hwndOwner) DWORD WINAPI lineRemoveProvider(DWORD dwPermanentProviderID, HWND hwndOwner)
{ {
FIXME("(%08lx, %p): stub.\n", dwPermanentProviderID, hwndOwner); FIXME("(%08x, %p): stub.\n", dwPermanentProviderID, hwndOwner);
return 1; return 1;
} }
@ -1122,7 +1122,7 @@ DWORD WINAPI lineSecureCall(HCALL hCall)
*/ */
DWORD WINAPI lineSendUserUserInfo(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize) DWORD WINAPI lineSendUserUserInfo(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
{ {
FIXME("(%p, %s, %08lx): stub.\n", hCall, lpsUserUserInfo, dwSize); FIXME("(%p, %s, %08x): stub.\n", hCall, lpsUserUserInfo, dwSize);
return 1; return 1;
} }
@ -1131,7 +1131,7 @@ DWORD WINAPI lineSendUserUserInfo(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwS
*/ */
DWORD WINAPI lineSetAppPriorityA(LPCSTR lpszAppFilename, DWORD dwMediaMode, LPLINEEXTENSIONID const lpExtensionID, DWORD dwRequestMode, LPCSTR lpszExtensionName, DWORD dwPriority) DWORD WINAPI lineSetAppPriorityA(LPCSTR lpszAppFilename, DWORD dwMediaMode, LPLINEEXTENSIONID const lpExtensionID, DWORD dwRequestMode, LPCSTR lpszExtensionName, DWORD dwPriority)
{ {
FIXME("(%s, %08lx, %p, %08lx, %s, %08lx): stub.\n", lpszAppFilename, dwMediaMode, lpExtensionID, dwRequestMode, lpszExtensionName, dwPriority); FIXME("(%s, %08x, %p, %08x, %s, %08x): stub.\n", lpszAppFilename, dwMediaMode, lpExtensionID, dwRequestMode, lpszExtensionName, dwPriority);
return 0; return 0;
} }
@ -1140,7 +1140,7 @@ DWORD WINAPI lineSetAppPriorityA(LPCSTR lpszAppFilename, DWORD dwMediaMode, LPLI
*/ */
DWORD WINAPI lineSetAppSpecific(HCALL hCall, DWORD dwAppSpecific) DWORD WINAPI lineSetAppSpecific(HCALL hCall, DWORD dwAppSpecific)
{ {
FIXME("(%p, %08lx): stub.\n", hCall, dwAppSpecific); FIXME("(%p, %08x): stub.\n", hCall, dwAppSpecific);
return 0; return 0;
} }
@ -1149,7 +1149,7 @@ DWORD WINAPI lineSetAppSpecific(HCALL hCall, DWORD dwAppSpecific)
*/ */
DWORD WINAPI lineSetCallParams(HCALL hCall, DWORD dwBearerMode, DWORD dwMinRate, DWORD dwMaxRate, LPLINEDIALPARAMS lpDialParams) DWORD WINAPI lineSetCallParams(HCALL hCall, DWORD dwBearerMode, DWORD dwMinRate, DWORD dwMaxRate, LPLINEDIALPARAMS lpDialParams)
{ {
FIXME("(%p, %08lx, %08lx, %08lx, %p): stub.\n", hCall, dwBearerMode, dwMinRate, dwMaxRate, lpDialParams); FIXME("(%p, %08x, %08x, %08x, %p): stub.\n", hCall, dwBearerMode, dwMinRate, dwMaxRate, lpDialParams);
return 1; return 1;
} }
@ -1158,7 +1158,7 @@ DWORD WINAPI lineSetCallParams(HCALL hCall, DWORD dwBearerMode, DWORD dwMinRate,
*/ */
DWORD WINAPI lineSetCallPrivilege(HCALL hCall, DWORD dwCallPrivilege) DWORD WINAPI lineSetCallPrivilege(HCALL hCall, DWORD dwCallPrivilege)
{ {
FIXME("(%p, %08lx): stub.\n", hCall, dwCallPrivilege); FIXME("(%p, %08x): stub.\n", hCall, dwCallPrivilege);
return 0; return 0;
} }
@ -1167,7 +1167,7 @@ DWORD WINAPI lineSetCallPrivilege(HCALL hCall, DWORD dwCallPrivilege)
*/ */
DWORD WINAPI lineSetCurrentLocation(HLINEAPP hLineApp, DWORD dwLocation) DWORD WINAPI lineSetCurrentLocation(HLINEAPP hLineApp, DWORD dwLocation)
{ {
FIXME("(%p, %08lx): stub.\n", hLineApp, dwLocation); FIXME("(%p, %08x): stub.\n", hLineApp, dwLocation);
return 0; return 0;
} }
@ -1176,7 +1176,7 @@ DWORD WINAPI lineSetCurrentLocation(HLINEAPP hLineApp, DWORD dwLocation)
*/ */
DWORD WINAPI lineSetDevConfigA(DWORD dwDeviceID, LPVOID lpDeviceConfig, DWORD dwSize, LPCSTR lpszDeviceClass) DWORD WINAPI lineSetDevConfigA(DWORD dwDeviceID, LPVOID lpDeviceConfig, DWORD dwSize, LPCSTR lpszDeviceClass)
{ {
FIXME("(%08lx, %p, %08lx, %s): stub.\n", dwDeviceID, lpDeviceConfig, dwSize, lpszDeviceClass); FIXME("(%08x, %p, %08x, %s): stub.\n", dwDeviceID, lpDeviceConfig, dwSize, lpszDeviceClass);
return 0; return 0;
} }
@ -1206,7 +1206,7 @@ DWORD dwCallStateNumEntries)
*/ */
DWORD WINAPI lineSetMediaMode(HCALL hCall, DWORD dwMediaModes) DWORD WINAPI lineSetMediaMode(HCALL hCall, DWORD dwMediaModes)
{ {
FIXME("(%p, %08lx): stub.\n", hCall, dwMediaModes); FIXME("(%p, %08x): stub.\n", hCall, dwMediaModes);
return 0; return 0;
} }
@ -1215,7 +1215,7 @@ DWORD WINAPI lineSetMediaMode(HCALL hCall, DWORD dwMediaModes)
*/ */
DWORD WINAPI lineSetNumRings(HLINE hLine, DWORD dwAddressID, DWORD dwNumRings) DWORD WINAPI lineSetNumRings(HLINE hLine, DWORD dwAddressID, DWORD dwNumRings)
{ {
FIXME("(%p, %08lx, %08lx): stub.\n", hLine, dwAddressID, dwNumRings); FIXME("(%p, %08x, %08x): stub.\n", hLine, dwAddressID, dwNumRings);
return 0; return 0;
} }
@ -1224,7 +1224,7 @@ DWORD WINAPI lineSetNumRings(HLINE hLine, DWORD dwAddressID, DWORD dwNumRings)
*/ */
DWORD WINAPI lineSetStatusMessages(HLINE hLine, DWORD dwLineStates, DWORD dwAddressStates) DWORD WINAPI lineSetStatusMessages(HLINE hLine, DWORD dwLineStates, DWORD dwAddressStates)
{ {
FIXME("(%p, %08lx, %08lx): stub.\n", hLine, dwLineStates, dwAddressStates); FIXME("(%p, %08x, %08x): stub.\n", hLine, dwLineStates, dwAddressStates);
return 0; return 0;
} }
@ -1233,7 +1233,7 @@ DWORD WINAPI lineSetStatusMessages(HLINE hLine, DWORD dwLineStates, DWORD dwAddr
*/ */
DWORD WINAPI lineSetTerminal(HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect, DWORD dwTerminalModes, DWORD dwTerminalID, DWORD bEnable) DWORD WINAPI lineSetTerminal(HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect, DWORD dwTerminalModes, DWORD dwTerminalID, DWORD bEnable)
{ {
FIXME("(%p, %08lx, %p, %08lx, %08lx, %08lx, %08lx): stub.\n", hLine, dwAddressID, hCall, dwSelect, dwTerminalModes, dwTerminalID, bEnable); FIXME("(%p, %08x, %p, %08x, %08x, %08x, %08x): stub.\n", hLine, dwAddressID, hCall, dwSelect, dwTerminalModes, dwTerminalID, bEnable);
return 1; return 1;
} }
@ -1242,7 +1242,7 @@ DWORD WINAPI lineSetTerminal(HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD
*/ */
DWORD WINAPI lineSetTollListA(HLINEAPP hLineApp, DWORD dwDeviceID, LPCSTR lpszAddressIn, DWORD dwTollListOption) DWORD WINAPI lineSetTollListA(HLINEAPP hLineApp, DWORD dwDeviceID, LPCSTR lpszAddressIn, DWORD dwTollListOption)
{ {
FIXME("(%p, %08lx, %s, %08lx): stub.\n", hLineApp, dwDeviceID, lpszAddressIn, dwTollListOption); FIXME("(%p, %08x, %s, %08x): stub.\n", hLineApp, dwDeviceID, lpszAddressIn, dwTollListOption);
return 0; return 0;
} }
@ -1251,7 +1251,7 @@ DWORD WINAPI lineSetTollListA(HLINEAPP hLineApp, DWORD dwDeviceID, LPCSTR lpszAd
*/ */
DWORD WINAPI lineSetupConferenceA(HCALL hCall, HLINE hLine, LPHCALL lphConfCall, LPHCALL lphConsultCall, DWORD dwNumParties, LPLINECALLPARAMS lpCallParams) DWORD WINAPI lineSetupConferenceA(HCALL hCall, HLINE hLine, LPHCALL lphConfCall, LPHCALL lphConsultCall, DWORD dwNumParties, LPLINECALLPARAMS lpCallParams)
{ {
FIXME("(%p, %p, %p, %p, %08lx, %p): stub.\n", hCall, hLine, lphConfCall, lphConsultCall, dwNumParties, lpCallParams); FIXME("(%p, %p, %p, %p, %08x, %p): stub.\n", hCall, hLine, lphConfCall, lphConsultCall, dwNumParties, lpCallParams);
return 1; return 1;
} }
@ -1287,7 +1287,7 @@ DWORD WINAPI lineSwapHold(HCALL hActiveCall, HCALL hHeldCall)
*/ */
DWORD WINAPI lineTranslateAddressA(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, LPCSTR lpszAddressIn, DWORD dwCard, DWORD dwTranslateOptions, LPLINETRANSLATEOUTPUT lpTranslateOutput) DWORD WINAPI lineTranslateAddressA(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, LPCSTR lpszAddressIn, DWORD dwCard, DWORD dwTranslateOptions, LPLINETRANSLATEOUTPUT lpTranslateOutput)
{ {
FIXME("(%p, %08lx, %08lx, %s, %08lx, %08lx, %p): stub.\n", hLineApp, dwDeviceID, dwAPIVersion, lpszAddressIn, dwCard, dwTranslateOptions, lpTranslateOutput); FIXME("(%p, %08x, %08x, %s, %08x, %08x, %p): stub.\n", hLineApp, dwDeviceID, dwAPIVersion, lpszAddressIn, dwCard, dwTranslateOptions, lpTranslateOutput);
return 0; return 0;
} }
@ -1296,7 +1296,7 @@ DWORD WINAPI lineTranslateAddressA(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dw
*/ */
DWORD WINAPI lineTranslateDialogA(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, HWND hwndOwner, LPCSTR lpszAddressIn) DWORD WINAPI lineTranslateDialogA(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, HWND hwndOwner, LPCSTR lpszAddressIn)
{ {
FIXME("(%p, %08lx, %08lx, %p, %s): stub.\n", hLineApp, dwDeviceID, dwAPIVersion, hwndOwner, lpszAddressIn); FIXME("(%p, %08x, %08x, %p, %s): stub.\n", hLineApp, dwDeviceID, dwAPIVersion, hwndOwner, lpszAddressIn);
return 0; return 0;
} }
@ -1305,7 +1305,7 @@ DWORD WINAPI lineTranslateDialogA(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwA
*/ */
DWORD WINAPI lineUncompleteCall(HLINE hLine, DWORD dwCompletionID) DWORD WINAPI lineUncompleteCall(HLINE hLine, DWORD dwCompletionID)
{ {
FIXME("(%p, %08lx): stub.\n", hLine, dwCompletionID); FIXME("(%p, %08x): stub.\n", hLine, dwCompletionID);
return 1; return 1;
} }
@ -1323,6 +1323,6 @@ DWORD WINAPI lineUnhold(HCALL hCall)
*/ */
DWORD WINAPI lineUnparkA(HLINE hLine, DWORD dwAddressID, LPHCALL lphCall, LPCSTR lpszDestAddress) DWORD WINAPI lineUnparkA(HLINE hLine, DWORD dwAddressID, LPHCALL lphCall, LPCSTR lpszDestAddress)
{ {
FIXME("(%p, %08lx, %p, %s): stub.\n", hLine, dwAddressID, lphCall, lpszDestAddress); FIXME("(%p, %08x, %p, %s): stub.\n", hLine, dwAddressID, lphCall, lpszDestAddress);
return 1; return 1;
} }

View File

@ -50,7 +50,7 @@ DWORD WINAPI phoneClose(HPHONE hPhone)
*/ */
DWORD WINAPI phoneConfigDialogA(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass) DWORD WINAPI phoneConfigDialogA(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass)
{ {
FIXME("(%08lx, %p, %s): stub.\n", dwDeviceID, hwndOwner, lpszDeviceClass); FIXME("(%08x, %p, %s): stub.\n", dwDeviceID, hwndOwner, lpszDeviceClass);
return 0; return 0;
} }
@ -59,7 +59,7 @@ DWORD WINAPI phoneConfigDialogA(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDev
*/ */
DWORD WINAPI phoneDevSpecific(HPHONE hPhone, LPVOID lpParams, DWORD dwSize) DWORD WINAPI phoneDevSpecific(HPHONE hPhone, LPVOID lpParams, DWORD dwSize)
{ {
FIXME("(%p, %p, %ld): stub.\n", hPhone, lpParams, dwSize); FIXME("(%p, %p, %d): stub.\n", hPhone, lpParams, dwSize);
return 1; return 1;
} }
@ -69,7 +69,7 @@ DWORD WINAPI phoneDevSpecific(HPHONE hPhone, LPVOID lpParams, DWORD dwSize)
DWORD WINAPI phoneGetButtonInfoA(HPHONE hPhone, DWORD dwButtonLampID, DWORD WINAPI phoneGetButtonInfoA(HPHONE hPhone, DWORD dwButtonLampID,
LPPHONEBUTTONINFO lpButtonInfo) LPPHONEBUTTONINFO lpButtonInfo)
{ {
FIXME("(%p, %08lx, %p): stub.\n", hPhone, dwButtonLampID, lpButtonInfo); FIXME("(%p, %08x, %p): stub.\n", hPhone, dwButtonLampID, lpButtonInfo);
return 0; return 0;
} }
@ -78,7 +78,7 @@ DWORD WINAPI phoneGetButtonInfoA(HPHONE hPhone, DWORD dwButtonLampID,
*/ */
DWORD WINAPI phoneGetData(HPHONE hPhone, DWORD dwDataID, LPVOID lpData, DWORD dwSize) DWORD WINAPI phoneGetData(HPHONE hPhone, DWORD dwDataID, LPVOID lpData, DWORD dwSize)
{ {
FIXME("(%p, %08lx, %p, %ld): stub.\n", hPhone, dwDataID, lpData, dwSize); FIXME("(%p, %08x, %p, %d): stub.\n", hPhone, dwDataID, lpData, dwSize);
return 0; return 0;
} }
@ -88,7 +88,7 @@ DWORD WINAPI phoneGetData(HPHONE hPhone, DWORD dwDataID, LPVOID lpData, DWORD dw
DWORD WINAPI phoneGetDevCapsA(HPHONEAPP hPhoneApp, DWORD dwDeviceID, DWORD WINAPI phoneGetDevCapsA(HPHONEAPP hPhoneApp, DWORD dwDeviceID,
DWORD dwAPIVersion, DWORD dwExtVersion, LPPHONECAPS lpPhoneCaps) DWORD dwAPIVersion, DWORD dwExtVersion, LPPHONECAPS lpPhoneCaps)
{ {
FIXME("(%p, %08lx, %08lx, %08lx, %p): stub.\n", hPhoneApp, dwDeviceID, dwAPIVersion, dwExtVersion, lpPhoneCaps); FIXME("(%p, %08x, %08x, %08x, %p): stub.\n", hPhoneApp, dwDeviceID, dwAPIVersion, dwExtVersion, lpPhoneCaps);
/* call TSPI function here ! */ /* call TSPI function here ! */
return 0; return 0;
} }
@ -107,7 +107,7 @@ DWORD WINAPI phoneGetDisplay(HPHONE hPhone, LPVARSTRING lpDisplay)
*/ */
DWORD WINAPI phoneGetGain(HPHONE hPhone, DWORD dwHookSwitchDev, LPDWORD lpdwGain) DWORD WINAPI phoneGetGain(HPHONE hPhone, DWORD dwHookSwitchDev, LPDWORD lpdwGain)
{ {
FIXME("(%p, %08lx, %p): stub.\n", hPhone, dwHookSwitchDev, lpdwGain); FIXME("(%p, %08x, %p): stub.\n", hPhone, dwHookSwitchDev, lpdwGain);
/* call TSPI function here ! */ /* call TSPI function here ! */
return 0; return 0;
} }
@ -139,7 +139,7 @@ DWORD WINAPI phoneGetIDA(HPHONE hPhone, LPVARSTRING lpDeviceID,
DWORD WINAPI phoneGetIconA(DWORD dwDeviceID, LPCSTR lpszDeviceClass, DWORD WINAPI phoneGetIconA(DWORD dwDeviceID, LPCSTR lpszDeviceClass,
HICON *lphIcon) HICON *lphIcon)
{ {
FIXME("(%08lx, %s, %p): stub.\n", dwDeviceID, lpszDeviceClass, lphIcon); FIXME("(%08x, %s, %p): stub.\n", dwDeviceID, lpszDeviceClass, lphIcon);
/* call TSPI function here ! */ /* call TSPI function here ! */
return 0; return 0;
} }
@ -150,7 +150,7 @@ DWORD WINAPI phoneGetIconA(DWORD dwDeviceID, LPCSTR lpszDeviceClass,
DWORD WINAPI phoneGetLamp(HPHONE hPhone, DWORD dwButtonLampID, DWORD WINAPI phoneGetLamp(HPHONE hPhone, DWORD dwButtonLampID,
LPDWORD lpdwLampMode) LPDWORD lpdwLampMode)
{ {
FIXME("(%p, %08lx, %p): stub.\n", hPhone, dwButtonLampID, lpdwLampMode); FIXME("(%p, %08x, %p): stub.\n", hPhone, dwButtonLampID, lpdwLampMode);
return 0; return 0;
} }
@ -189,7 +189,7 @@ DWORD WINAPI phoneGetStatusMessages(HPHONE hPhone, LPDWORD lpdwPhoneStates,
DWORD WINAPI phoneGetVolume(HPHONE hPhone, DWORD dwHookSwitchDevs, DWORD WINAPI phoneGetVolume(HPHONE hPhone, DWORD dwHookSwitchDevs,
LPDWORD lpdwVolume) LPDWORD lpdwVolume)
{ {
FIXME("(%p, %08lx, %p): stub.\n", hPhone, dwHookSwitchDevs, lpdwVolume); FIXME("(%p, %08x, %p): stub.\n", hPhone, dwHookSwitchDevs, lpdwVolume);
/* call TSPI function here ! */ /* call TSPI function here ! */
return 0; return 0;
} }
@ -239,7 +239,7 @@ DWORD WINAPI phoneOpen(HPHONEAPP hPhoneApp, DWORD dwDeviceID, LPHPHONE lphPhone,
*/ */
DWORD WINAPI phoneSetButtonInfoA(HPHONE hPhone, DWORD dwButtonLampID, LPPHONEBUTTONINFO lpButtonInfo) DWORD WINAPI phoneSetButtonInfoA(HPHONE hPhone, DWORD dwButtonLampID, LPPHONEBUTTONINFO lpButtonInfo)
{ {
FIXME("(%p, %08lx, %p): stub.\n", hPhone, dwButtonLampID, lpButtonInfo); FIXME("(%p, %08x, %p): stub.\n", hPhone, dwButtonLampID, lpButtonInfo);
return 0; return 0;
} }
@ -248,7 +248,7 @@ DWORD WINAPI phoneSetButtonInfoA(HPHONE hPhone, DWORD dwButtonLampID, LPPHONEBUT
*/ */
DWORD WINAPI phoneSetData(HPHONE hPhone, DWORD dwDataID, LPVOID lpData, DWORD dwSize) DWORD WINAPI phoneSetData(HPHONE hPhone, DWORD dwDataID, LPVOID lpData, DWORD dwSize)
{ {
FIXME("(%p, %08lx, %p, %ld): stub.\n", hPhone, dwDataID, lpData, dwSize); FIXME("(%p, %08x, %p, %d): stub.\n", hPhone, dwDataID, lpData, dwSize);
return 1; return 1;
} }
@ -257,7 +257,7 @@ DWORD WINAPI phoneSetData(HPHONE hPhone, DWORD dwDataID, LPVOID lpData, DWORD dw
*/ */
DWORD WINAPI phoneSetDisplay(HPHONE hPhone, DWORD dwRow, DWORD dwColumn, LPCSTR lpszDisplay, DWORD dwSize) DWORD WINAPI phoneSetDisplay(HPHONE hPhone, DWORD dwRow, DWORD dwColumn, LPCSTR lpszDisplay, DWORD dwSize)
{ {
FIXME("(%p, '%s' at %ld/%ld, len %ld): stub.\n", hPhone, lpszDisplay, dwRow, dwColumn, dwSize); FIXME("(%p, '%s' at %d/%d, len %d): stub.\n", hPhone, lpszDisplay, dwRow, dwColumn, dwSize);
return 1; return 1;
} }
@ -266,7 +266,7 @@ DWORD WINAPI phoneSetDisplay(HPHONE hPhone, DWORD dwRow, DWORD dwColumn, LPCSTR
*/ */
DWORD WINAPI phoneSetGain(HPHONE hPhone, DWORD dwHookSwitchDev, DWORD dwGain) DWORD WINAPI phoneSetGain(HPHONE hPhone, DWORD dwHookSwitchDev, DWORD dwGain)
{ {
FIXME("(%p, %08lx, %ld): stub.\n", hPhone, dwHookSwitchDev, dwGain); FIXME("(%p, %08x, %d): stub.\n", hPhone, dwHookSwitchDev, dwGain);
/* call TSPI function here ! */ /* call TSPI function here ! */
return 1; return 1;
} }
@ -276,7 +276,7 @@ DWORD WINAPI phoneSetGain(HPHONE hPhone, DWORD dwHookSwitchDev, DWORD dwGain)
*/ */
DWORD WINAPI phoneSetHookSwitch(HPHONE hPhone, DWORD dwHookSwitchDevs, DWORD dwHookSwitchMode) DWORD WINAPI phoneSetHookSwitch(HPHONE hPhone, DWORD dwHookSwitchDevs, DWORD dwHookSwitchMode)
{ {
FIXME("(%p, %08lx, %08lx): stub.\n", hPhone, dwHookSwitchDevs, dwHookSwitchMode); FIXME("(%p, %08x, %08x): stub.\n", hPhone, dwHookSwitchDevs, dwHookSwitchMode);
/* call TSPI function here ! */ /* call TSPI function here ! */
return 1; return 1;
} }
@ -286,7 +286,7 @@ DWORD WINAPI phoneSetHookSwitch(HPHONE hPhone, DWORD dwHookSwitchDevs, DWORD dwH
*/ */
DWORD WINAPI phoneSetLamp(HPHONE hPhone, DWORD dwButtonLampID, DWORD lpdwLampMode) DWORD WINAPI phoneSetLamp(HPHONE hPhone, DWORD dwButtonLampID, DWORD lpdwLampMode)
{ {
FIXME("(%p, %08lx, %08lx): stub.\n", hPhone, dwButtonLampID, lpdwLampMode); FIXME("(%p, %08x, %08x): stub.\n", hPhone, dwButtonLampID, lpdwLampMode);
return 1; return 1;
} }
@ -295,7 +295,7 @@ DWORD WINAPI phoneSetLamp(HPHONE hPhone, DWORD dwButtonLampID, DWORD lpdwLampMod
*/ */
DWORD WINAPI phoneSetRing(HPHONE hPhone, DWORD dwRingMode, DWORD dwVolume) DWORD WINAPI phoneSetRing(HPHONE hPhone, DWORD dwRingMode, DWORD dwVolume)
{ {
FIXME("(%p, %08lx, %08lx): stub.\n", hPhone, dwRingMode, dwVolume); FIXME("(%p, %08x, %08x): stub.\n", hPhone, dwRingMode, dwVolume);
return 1; return 1;
} }
@ -304,7 +304,7 @@ DWORD WINAPI phoneSetRing(HPHONE hPhone, DWORD dwRingMode, DWORD dwVolume)
*/ */
DWORD WINAPI phoneSetStatusMessages(HPHONE hPhone, DWORD dwPhoneStates, DWORD dwButtonModes, DWORD dwButtonStates) DWORD WINAPI phoneSetStatusMessages(HPHONE hPhone, DWORD dwPhoneStates, DWORD dwButtonModes, DWORD dwButtonStates)
{ {
FIXME("(%p, %08lx, %08lx, %08lx): stub.\n", hPhone, dwPhoneStates, dwButtonModes, dwButtonStates); FIXME("(%p, %08x, %08x, %08x): stub.\n", hPhone, dwPhoneStates, dwButtonModes, dwButtonStates);
/* call TSPI function here ! */ /* call TSPI function here ! */
return 0; /* FIXME ? */ return 0; /* FIXME ? */
} }
@ -314,7 +314,7 @@ DWORD WINAPI phoneSetStatusMessages(HPHONE hPhone, DWORD dwPhoneStates, DWORD dw
*/ */
DWORD WINAPI phoneSetVolume(HPHONE hPhone, DWORD dwHookSwitchDev, DWORD dwVolume) DWORD WINAPI phoneSetVolume(HPHONE hPhone, DWORD dwHookSwitchDev, DWORD dwVolume)
{ {
FIXME("(%p, %08lx, %08lx): stub.\n", hPhone, dwHookSwitchDev, dwVolume); FIXME("(%p, %08x, %08x): stub.\n", hPhone, dwHookSwitchDev, dwVolume);
/* call TSPI function here ! */ /* call TSPI function here ! */
return 1; return 1;
} }