Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
f8733138
Commit
f8733138
authored
May 12, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
May 12, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
capi2032: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e3f226fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
11 deletions
+10
-11
Makefile.in
dlls/capi2032/Makefile.in
+0
-1
cap20wxx.c
dlls/capi2032/cap20wxx.c
+10
-10
No files found.
dlls/capi2032/Makefile.in
View file @
f8733138
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
capi2032.dll
UNIXLIB
=
capi2032.so
IMPORTLIB
=
capi2032
...
...
dlls/capi2032/cap20wxx.c
View file @
f8733138
...
...
@@ -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) -> %l
x
\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) -> %l
x
\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) -> %l
x
\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) -> %l
x
\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
(
"(%
l
x)
\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) -> %
l
x
\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) -> %l
x
\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) -> %
l
x
\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) -> %l
x
\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
(
"() -> %
l
x
\n
"
,
fret
);
return
fret
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment