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
UNIXLIB = capi2032.so
IMPORTLIB = capi2032
......
......@@ -55,7 +55,7 @@ DWORD WINAPI CAPI_REGISTER (DWORD MessageBufferSize, DWORD maxLogicalConnection,
DWORD fret;
fret = CAPI_CALL( register, &params );
TRACE ( "(%x) -> %x\n", *pApplID, fret);
TRACE ( "(%lx) -> %lx\n", *pApplID, fret);
return fret;
}
......@@ -66,7 +66,7 @@ DWORD WINAPI CAPI_RELEASE (DWORD ApplID) {
DWORD fret;
fret = CAPI_CALL( release, &params );
TRACE ("(%x) -> %x\n", ApplID, fret);
TRACE ("(%lx) -> %lx\n", ApplID, fret);
return fret;
}
......@@ -77,7 +77,7 @@ DWORD WINAPI CAPI_PUT_MESSAGE (DWORD ApplID, PVOID pCAPIMessage) {
DWORD fret;
fret = CAPI_CALL( put_message, &params );
TRACE ("(%x) -> %x\n", ApplID, fret);
TRACE ("(%lx) -> %lx\n", ApplID, fret);
return fret;
}
......@@ -88,7 +88,7 @@ DWORD WINAPI CAPI_GET_MESSAGE (DWORD ApplID, PVOID *ppCAPIMessage) {
DWORD fret;
fret = CAPI_CALL( get_message, &params );
TRACE ("(%x) -> %x\n", ApplID, fret);
TRACE ("(%lx) -> %lx\n", ApplID, fret);
return fret;
}
......@@ -96,7 +96,7 @@ DWORD WINAPI CAPI_GET_MESSAGE (DWORD ApplID, PVOID *ppCAPIMessage) {
\*---------------------------------------------------------------------------*/
DWORD WINAPI CAPI_WAIT_FOR_SIGNAL (DWORD ApplID) {
struct waitformessage_params params = { ApplID };
TRACE ("(%x)\n", ApplID);
TRACE ("(%lx)\n", ApplID);
return CAPI_CALL( waitformessage, &params );
}
......@@ -111,7 +111,7 @@ DWORD WINAPI CAPI_GET_MANUFACTURER (char *SzBuffer) {
if (!strncmp (SzBuffer, "AVM", 3)) {
strcpy (SzBuffer, "AVM-GmbH");
}
TRACE ("(%s) -> %x\n", SzBuffer, fret);
TRACE ("(%s) -> %lx\n", SzBuffer, fret);
return fret;
}
......@@ -122,7 +122,7 @@ DWORD WINAPI CAPI_GET_VERSION (DWORD *pCAPIMajor, DWORD *pCAPIMinor, DWORD *pMan
DWORD fret;
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);
return fret;
}
......@@ -134,7 +134,7 @@ DWORD WINAPI CAPI_GET_SERIAL_NUMBER (char *SzBuffer) {
DWORD fret;
fret = CAPI_CALL( get_serial_number, &params );
TRACE ("(%s) -> %x\n", SzBuffer, fret);
TRACE ("(%s) -> %lx\n", SzBuffer, fret);
return fret;
}
......@@ -145,7 +145,7 @@ DWORD WINAPI CAPI_GET_PROFILE (PVOID SzBuffer, DWORD CtlrNr) {
DWORD fret;
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;
}
......@@ -155,7 +155,7 @@ DWORD WINAPI CAPI_INSTALLED (void) {
DWORD fret;
fret = CAPI_CALL( isinstalled, NULL );
TRACE ("() -> %x\n", fret);
TRACE ("() -> %lx\n", 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