Commit f8733138 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

capi2032: Enable compilation with long types.

parent e3f226fd
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = capi2032.dll MODULE = capi2032.dll
UNIXLIB = capi2032.so UNIXLIB = capi2032.so
IMPORTLIB = capi2032 IMPORTLIB = capi2032
......
...@@ -55,7 +55,7 @@ DWORD WINAPI CAPI_REGISTER (DWORD MessageBufferSize, DWORD maxLogicalConnection, ...@@ -55,7 +55,7 @@ DWORD WINAPI CAPI_REGISTER (DWORD MessageBufferSize, DWORD maxLogicalConnection,
DWORD fret; DWORD fret;
fret = CAPI_CALL( register, &params ); fret = CAPI_CALL( register, &params );
TRACE ( "(%x) -> %x\n", *pApplID, fret); TRACE ( "(%lx) -> %lx\n", *pApplID, fret);
return fret; return fret;
} }
...@@ -66,7 +66,7 @@ DWORD WINAPI CAPI_RELEASE (DWORD ApplID) { ...@@ -66,7 +66,7 @@ DWORD WINAPI CAPI_RELEASE (DWORD ApplID) {
DWORD fret; DWORD fret;
fret = CAPI_CALL( release, &params ); fret = CAPI_CALL( release, &params );
TRACE ("(%x) -> %x\n", ApplID, fret); TRACE ("(%lx) -> %lx\n", ApplID, fret);
return fret; return fret;
} }
...@@ -77,7 +77,7 @@ DWORD WINAPI CAPI_PUT_MESSAGE (DWORD ApplID, PVOID pCAPIMessage) { ...@@ -77,7 +77,7 @@ DWORD WINAPI CAPI_PUT_MESSAGE (DWORD ApplID, PVOID pCAPIMessage) {
DWORD fret; DWORD fret;
fret = CAPI_CALL( put_message, &params ); fret = CAPI_CALL( put_message, &params );
TRACE ("(%x) -> %x\n", ApplID, fret); TRACE ("(%lx) -> %lx\n", ApplID, fret);
return fret; return fret;
} }
...@@ -88,7 +88,7 @@ DWORD WINAPI CAPI_GET_MESSAGE (DWORD ApplID, PVOID *ppCAPIMessage) { ...@@ -88,7 +88,7 @@ DWORD WINAPI CAPI_GET_MESSAGE (DWORD ApplID, PVOID *ppCAPIMessage) {
DWORD fret; DWORD fret;
fret = CAPI_CALL( get_message, &params ); fret = CAPI_CALL( get_message, &params );
TRACE ("(%x) -> %x\n", ApplID, fret); TRACE ("(%lx) -> %lx\n", ApplID, fret);
return fret; return fret;
} }
...@@ -96,7 +96,7 @@ DWORD WINAPI CAPI_GET_MESSAGE (DWORD ApplID, PVOID *ppCAPIMessage) { ...@@ -96,7 +96,7 @@ DWORD WINAPI CAPI_GET_MESSAGE (DWORD ApplID, PVOID *ppCAPIMessage) {
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
DWORD WINAPI CAPI_WAIT_FOR_SIGNAL (DWORD ApplID) { DWORD WINAPI CAPI_WAIT_FOR_SIGNAL (DWORD ApplID) {
struct waitformessage_params params = { ApplID }; struct waitformessage_params params = { ApplID };
TRACE ("(%x)\n", ApplID); TRACE ("(%lx)\n", ApplID);
return CAPI_CALL( waitformessage, &params ); return CAPI_CALL( waitformessage, &params );
} }
...@@ -111,7 +111,7 @@ DWORD WINAPI CAPI_GET_MANUFACTURER (char *SzBuffer) { ...@@ -111,7 +111,7 @@ DWORD WINAPI CAPI_GET_MANUFACTURER (char *SzBuffer) {
if (!strncmp (SzBuffer, "AVM", 3)) { if (!strncmp (SzBuffer, "AVM", 3)) {
strcpy (SzBuffer, "AVM-GmbH"); strcpy (SzBuffer, "AVM-GmbH");
} }
TRACE ("(%s) -> %x\n", SzBuffer, fret); TRACE ("(%s) -> %lx\n", SzBuffer, fret);
return fret; return fret;
} }
...@@ -122,7 +122,7 @@ DWORD WINAPI CAPI_GET_VERSION (DWORD *pCAPIMajor, DWORD *pCAPIMinor, DWORD *pMan ...@@ -122,7 +122,7 @@ DWORD WINAPI CAPI_GET_VERSION (DWORD *pCAPIMajor, DWORD *pCAPIMinor, DWORD *pMan
DWORD fret; DWORD fret;
fret = CAPI_CALL( get_version, &params ); fret = CAPI_CALL( get_version, &params );
TRACE ("(%x.%x,%x.%x) -> %x\n", *pCAPIMajor, *pCAPIMinor, *pManufacturerMajor, TRACE ("(%lx.%lx,%lx.%lx) -> %lx\n", *pCAPIMajor, *pCAPIMinor, *pManufacturerMajor,
*pManufacturerMinor, fret); *pManufacturerMinor, fret);
return fret; return fret;
} }
...@@ -134,7 +134,7 @@ DWORD WINAPI CAPI_GET_SERIAL_NUMBER (char *SzBuffer) { ...@@ -134,7 +134,7 @@ DWORD WINAPI CAPI_GET_SERIAL_NUMBER (char *SzBuffer) {
DWORD fret; DWORD fret;
fret = CAPI_CALL( get_serial_number, &params ); fret = CAPI_CALL( get_serial_number, &params );
TRACE ("(%s) -> %x\n", SzBuffer, fret); TRACE ("(%s) -> %lx\n", SzBuffer, fret);
return fret; return fret;
} }
...@@ -145,7 +145,7 @@ DWORD WINAPI CAPI_GET_PROFILE (PVOID SzBuffer, DWORD CtlrNr) { ...@@ -145,7 +145,7 @@ DWORD WINAPI CAPI_GET_PROFILE (PVOID SzBuffer, DWORD CtlrNr) {
DWORD fret; DWORD fret;
fret = CAPI_CALL( get_profile, &params ); fret = CAPI_CALL( get_profile, &params );
TRACE ("(%x,%x) -> %x\n", CtlrNr, *(unsigned short *)SzBuffer, fret); TRACE ("(%lx,%x) -> %lx\n", CtlrNr, *(unsigned short *)SzBuffer, fret);
return fret; return fret;
} }
...@@ -155,7 +155,7 @@ DWORD WINAPI CAPI_INSTALLED (void) { ...@@ -155,7 +155,7 @@ DWORD WINAPI CAPI_INSTALLED (void) {
DWORD fret; DWORD fret;
fret = CAPI_CALL( isinstalled, NULL ); fret = CAPI_CALL( isinstalled, NULL );
TRACE ("() -> %x\n", fret); TRACE ("() -> %lx\n", fret);
return fret; return fret;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment