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
42a279f2
Commit
42a279f2
authored
Oct 03, 2006
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Oct 04, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
capi: Fix compiler warnings.
parent
36551e9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
cap20wxx.c
dlls/capi2032/cap20wxx.c
+10
-10
No files found.
dlls/capi2032/cap20wxx.c
View file @
42a279f2
...
...
@@ -99,7 +99,7 @@ DWORD WINAPI wrapCAPI_REGISTER (DWORD MessageBufferSize, DWORD maxLogicalConnect
return
0x1009
;
fret
=
pcapi20_register
(
maxLogicalConnection
,
maxBDataBlocks
,
maxBDataLen
,
&
aid
);
*
pApplID
=
aid
;
TRACE
(
"(%
lx) -> %l
x
\n
"
,
*
pApplID
,
fret
);
TRACE
(
"(%
x) -> %
x
\n
"
,
*
pApplID
,
fret
);
return
fret
;
#else
FIXME
(
"(), no CAPI4LINUX support compiled into WINE.
\n
"
);
...
...
@@ -117,7 +117,7 @@ DWORD WINAPI wrapCAPI_RELEASE (DWORD ApplID) {
if
(
!
pcapi20_release
)
return
0x1109
;
fret
=
pcapi20_release
(
ApplID
);
TRACE
(
"(%
lx) -> %l
x
\n
"
,
ApplID
,
fret
);
TRACE
(
"(%
x) -> %
x
\n
"
,
ApplID
,
fret
);
return
fret
;
#else
return
0x1109
;
...
...
@@ -134,7 +134,7 @@ DWORD WINAPI wrapCAPI_PUT_MESSAGE (DWORD ApplID, PVOID pCAPIMessage) {
if
(
!
pcapi20_put_message
)
return
0x1109
;
fret
=
pcapi20_put_message
(
ApplID
,
pCAPIMessage
);
TRACE
(
"(%
lx) -> %l
x
\n
"
,
ApplID
,
fret
);
TRACE
(
"(%
x) -> %
x
\n
"
,
ApplID
,
fret
);
return
fret
;
#else
return
0x1109
;
...
...
@@ -151,7 +151,7 @@ DWORD WINAPI wrapCAPI_GET_MESSAGE (DWORD ApplID, PVOID *ppCAPIMessage) {
if
(
!
pcapi20_get_message
)
return
0x1109
;
fret
=
pcapi20_get_message
(
ApplID
,
(
unsigned
char
**
)
ppCAPIMessage
);
TRACE
(
"(%
lx) -> %l
x
\n
"
,
ApplID
,
fret
);
TRACE
(
"(%
x) -> %
x
\n
"
,
ApplID
,
fret
);
return
fret
;
#else
return
0x1109
;
...
...
@@ -162,7 +162,7 @@ DWORD WINAPI wrapCAPI_GET_MESSAGE (DWORD ApplID, PVOID *ppCAPIMessage) {
\*---------------------------------------------------------------------------*/
DWORD
WINAPI
wrapCAPI_WAIT_FOR_SIGNAL
(
DWORD
ApplID
)
{
#ifdef HAVE_CAPI4LINUX
TRACE
(
"(%
l
x)
\n
"
,
ApplID
);
TRACE
(
"(%x)
\n
"
,
ApplID
);
load_functions
();
if
(
!
pcapi20_waitformessage
)
...
...
@@ -188,7 +188,7 @@ DWORD WINAPI wrapCAPI_GET_MANUFACTURER (char *SzBuffer) {
if
(
!
strncmp
(
SzBuffer
,
"AVM"
,
3
))
{
strcpy
(
SzBuffer
,
"AVM-GmbH"
);
}
TRACE
(
"(%s) -> %
l
x
\n
"
,
SzBuffer
,
fret
);
TRACE
(
"(%s) -> %x
\n
"
,
SzBuffer
,
fret
);
return
fret
;
#else
return
0x1109
;
...
...
@@ -210,7 +210,7 @@ DWORD WINAPI wrapCAPI_GET_VERSION (DWORD *pCAPIMajor, DWORD *pCAPIMinor, DWORD *
*
pCAPIMinor
=
*
(
unsigned
*
)(
version
+
1
*
sizeof
(
unsigned
));
*
pManufacturerMajor
=
*
(
unsigned
*
)(
version
+
2
*
sizeof
(
unsigned
));
*
pManufacturerMinor
=
*
(
unsigned
*
)(
version
+
3
*
sizeof
(
unsigned
));
TRACE
(
"(%
lx.%lx,%lx.%lx) -> %l
x
\n
"
,
*
pCAPIMajor
,
*
pCAPIMinor
,
*
pManufacturerMajor
,
TRACE
(
"(%
x.%x,%x.%x) -> %
x
\n
"
,
*
pCAPIMajor
,
*
pCAPIMinor
,
*
pManufacturerMajor
,
*
pManufacturerMinor
,
fret
);
return
fret
;
#else
...
...
@@ -228,7 +228,7 @@ DWORD WINAPI wrapCAPI_GET_SERIAL_NUMBER (char *SzBuffer) {
if
(
!
pcapi20_get_serial_number
)
return
0x1109
;
fret
=
(
pcapi20_get_serial_number
(
0
,
(
unsigned
char
*
)
SzBuffer
)
!=
0
)
?
0
:
0x1108
;
TRACE
(
"(%s) -> %
l
x
\n
"
,
SzBuffer
,
fret
);
TRACE
(
"(%s) -> %x
\n
"
,
SzBuffer
,
fret
);
return
fret
;
#else
return
0x1109
;
...
...
@@ -246,7 +246,7 @@ DWORD WINAPI wrapCAPI_GET_PROFILE (PVOID SzBuffer, DWORD CtlrNr) {
return
0x1109
;
fret
=
pcapi20_get_profile
(
CtlrNr
,
SzBuffer
);
TRACE
(
"(%
lx,%x) -> %l
x
\n
"
,
CtlrNr
,
*
(
unsigned
short
*
)
SzBuffer
,
fret
);
TRACE
(
"(%
x,%x) -> %
x
\n
"
,
CtlrNr
,
*
(
unsigned
short
*
)
SzBuffer
,
fret
);
return
fret
;
#else
return
0x1109
;
...
...
@@ -263,7 +263,7 @@ DWORD WINAPI wrapCAPI_INSTALLED (void) {
if
(
!
pcapi20_isinstalled
)
return
0x1109
;
fret
=
pcapi20_isinstalled
();
TRACE
(
"() -> %
l
x
\n
"
,
fret
);
TRACE
(
"() -> %x
\n
"
,
fret
);
return
fret
;
#else
return
0x1109
;
...
...
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