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
d7e88ff9
Commit
d7e88ff9
authored
Feb 20, 2007
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Feb 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Display correct parameters in comm traces.
parent
8163e504
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
comm.c
dlls/kernel32/comm.c
+9
-8
No files found.
dlls/kernel32/comm.c
View file @
d7e88ff9
...
...
@@ -1198,7 +1198,7 @@ BOOL WINAPI CommConfigDialogA(
HMODULE
hConfigModule
;
BOOL
r
=
FALSE
;
TRACE
(
"(%
p %p %p)
\n
"
,
lpszDevice
,
hWnd
,
lpCommConfig
);
TRACE
(
"(%
s, %p, %p)
\n
"
,
debugstr_a
(
lpszDevice
)
,
hWnd
,
lpCommConfig
);
hConfigModule
=
LoadLibraryW
(
lpszSerialUI
);
if
(
!
hConfigModule
)
...
...
@@ -1228,7 +1228,7 @@ BOOL WINAPI CommConfigDialogW(
HMODULE
hConfigModule
;
BOOL
r
=
FALSE
;
TRACE
(
"(%
p %p %p)
\n
"
,
lpszDevice
,
hWnd
,
lpCommConfig
);
TRACE
(
"(%
s, %p, %p)
\n
"
,
debugstr_w
(
lpszDevice
)
,
hWnd
,
lpCommConfig
);
hConfigModule
=
LoadLibraryW
(
lpszSerialUI
);
if
(
!
hConfigModule
)
...
...
@@ -1266,7 +1266,7 @@ BOOL WINAPI GetCommConfig(
{
BOOL
r
;
TRACE
(
"(%p
%p)
\n
"
,
hFile
,
lpCommConfig
);
TRACE
(
"(%p
, %p, %p) *lpdwSize: %u
\n
"
,
hFile
,
lpCommConfig
,
lpdwSize
,
lpdwSize
?
*
lpdwSize
:
0
);
if
(
lpCommConfig
==
NULL
)
return
FALSE
;
...
...
@@ -1300,7 +1300,7 @@ BOOL WINAPI SetCommConfig(
LPCOMMCONFIG
lpCommConfig
,
/* [in] The desired configuration. */
DWORD
dwSize
)
/* [in] size of the lpCommConfig struct */
{
TRACE
(
"(%p
%p)
\n
"
,
hFile
,
lpCommConfig
);
TRACE
(
"(%p
, %p, %u)
\n
"
,
hFile
,
lpCommConfig
,
dwSize
);
return
SetCommState
(
hFile
,
&
lpCommConfig
->
dcb
);
}
...
...
@@ -1323,7 +1323,7 @@ BOOL WINAPI SetDefaultCommConfigW(
HMODULE
hConfigModule
;
BOOL
r
=
FALSE
;
TRACE
(
"(%
p %p %x)
\n
"
,
lpszDevice
,
lpCommConfig
,
dwSize
);
TRACE
(
"(%
s, %p, %u)
\n
"
,
debugstr_w
(
lpszDevice
)
,
lpCommConfig
,
dwSize
);
hConfigModule
=
LoadLibraryW
(
lpszSerialUI
);
if
(
!
hConfigModule
)
...
...
@@ -1357,7 +1357,7 @@ BOOL WINAPI SetDefaultCommConfigA(
LPWSTR
lpDeviceW
=
NULL
;
DWORD
len
;
TRACE
(
"(%s
%p %x)
\n
"
,
debugstr_a
(
lpszDevice
),
lpCommConfig
,
dwSize
);
TRACE
(
"(%s
, %p, %u)
\n
"
,
debugstr_a
(
lpszDevice
),
lpCommConfig
,
dwSize
);
if
(
lpszDevice
)
{
...
...
@@ -1393,12 +1393,13 @@ BOOL WINAPI GetDefaultCommConfigW(
static
const
WCHAR
comW
[]
=
{
'C'
,
'O'
,
'M'
,
0
};
static
const
WCHAR
formatW
[]
=
{
'C'
,
'O'
,
'M'
,
'%'
,
'c'
,
':'
,
'3'
,
'8'
,
'4'
,
'0'
,
'0'
,
','
,
'n'
,
','
,
'8'
,
','
,
'1'
,
0
};
TRACE
(
"(%s, %p, %p) *lpdwSize: %u
\n
"
,
debugstr_w
(
lpszName
),
lpCC
,
lpdwSize
,
lpdwSize
?
*
lpdwSize
:
0
);
if
(
strncmpiW
(
lpszName
,
comW
,
3
))
{
ERR
(
"not implemented for <%s>
\n
"
,
debugstr_w
(
lpszName
));
return
FALSE
;
}
TRACE
(
"(%s %p %d)
\n
"
,
debugstr_w
(
lpszName
),
lpCC
,
*
lpdwSize
);
if
(
*
lpdwSize
<
sizeof
(
COMMCONFIG
))
{
*
lpdwSize
=
sizeof
(
COMMCONFIG
);
return
FALSE
;
...
...
@@ -1438,7 +1439,7 @@ BOOL WINAPI GetDefaultCommConfigA(
BOOL
ret
=
FALSE
;
UNICODE_STRING
lpszNameW
;
TRACE
(
"(%s,
%p,%d)
\n
"
,
lpszName
,
lpCC
,
*
lpdwSize
);
TRACE
(
"(%s,
%p, %p) *lpdwSize: %u
\n
"
,
debugstr_a
(
lpszName
),
lpCC
,
lpdwSize
,
lpdwSize
?
*
lpdwSize
:
0
);
if
(
lpszName
)
RtlCreateUnicodeStringFromAsciiz
(
&
lpszNameW
,
lpszName
);
else
lpszNameW
.
Buffer
=
NULL
;
...
...
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