Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
d6610b8b
Commit
d6610b8b
authored
Jul 21, 2010
by
Tim Cadogan-Cowper
Committed by
Alexandre Julliard
Jul 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: Wrap TRACE strings with debugstr_a/debugstr_an.
parent
6c144d06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
mmio.c
dlls/winmm/mmio.c
+12
-12
No files found.
dlls/winmm/mmio.c
View file @
d6610b8b
...
...
@@ -584,7 +584,7 @@ static HMMIO MMIO_Open(LPSTR szFileName, MMIOINFO* refmminfo, DWORD dwOpenFlags,
MMIOINFO
mmioinfo
;
DWORD
pos
;
TRACE
(
"(
'%s', %p, %08X, %s);
\n
"
,
szFileName
,
refmminfo
,
dwOpenFlags
,
is_unicode
?
"unicode"
:
"ansi"
);
TRACE
(
"(
%s, %p, %08X, %s);
\n
"
,
debugstr_a
(
szFileName
)
,
refmminfo
,
dwOpenFlags
,
is_unicode
?
"unicode"
:
"ansi"
);
if
(
!
refmminfo
)
{
refmminfo
=
&
mmioinfo
;
...
...
@@ -1058,7 +1058,7 @@ FOURCC WINAPI mmioStringToFOURCCA(LPCSTR sz, UINT uFlags)
/* Pad with spaces */
while
(
i
<
4
)
cc
[
i
++
]
=
' '
;
TRACE
(
"Got
'%.4s'
\n
"
,
cc
);
TRACE
(
"Got
%s
\n
"
,
debugstr_an
(
cc
,
4
)
);
return
mmioFOURCC
(
cc
[
0
],
cc
[
1
],
cc
[
2
],
cc
[
3
]);
}
...
...
@@ -1173,8 +1173,8 @@ MMRESULT WINAPI mmioDescend(HMMIO hmmio, LPMMCKINFO lpck,
srchType
=
lpck
->
fccType
;
}
TRACE
(
"searching for %
4.4s.%4.4
s
\n
"
,
(
LPCSTR
)
&
srchCkId
,
srchType
?
(
LPCSTR
)
&
srchType
:
"any
"
);
TRACE
(
"searching for %
s.%
s
\n
"
,
debugstr_an
((
LPCSTR
)
&
srchCkId
,
4
),
srchType
?
debugstr_an
((
LPCSTR
)
&
srchType
,
4
)
:
"<any>
"
);
while
(
TRUE
)
{
...
...
@@ -1189,9 +1189,9 @@ MMRESULT WINAPI mmioDescend(HMMIO hmmio, LPMMCKINFO lpck,
}
lpck
->
dwDataOffset
=
dwOldPos
+
2
*
sizeof
(
DWORD
);
TRACE
(
"ckid=%
4.4s fcc=%4.4
s cksize=%08X !
\n
"
,
(
LPCSTR
)
&
lpck
->
ckid
,
srchType
?
(
LPCSTR
)
&
lpck
->
fccType
:
"<na>"
,
TRACE
(
"ckid=%
s fcc=%
s cksize=%08X !
\n
"
,
debugstr_an
((
LPCSTR
)
&
lpck
->
ckid
,
4
)
,
srchType
?
debugstr_an
((
LPCSTR
)
&
lpck
->
fccType
,
4
)
:
"<na>"
,
lpck
->
cksize
);
if
(
(
!
srchCkId
||
(
srchCkId
==
lpck
->
ckid
))
&&
(
!
srchType
||
(
srchType
==
lpck
->
fccType
))
)
...
...
@@ -1213,9 +1213,9 @@ MMRESULT WINAPI mmioDescend(HMMIO hmmio, LPMMCKINFO lpck,
mmioSeek
(
hmmio
,
lpck
->
dwDataOffset
,
SEEK_SET
);
lpck
->
fccType
=
0
;
}
TRACE
(
"lpck: ckid=%
.4s, cksize=%d, dwDataOffset=%d fccType=%08X (%.4
s)!
\n
"
,
(
LPSTR
)
&
lpck
->
ckid
,
lpck
->
cksize
,
lpck
->
dwDataOffset
,
lpck
->
fccType
,
srchType
?
(
LPSTR
)
&
lpck
->
fccType
:
""
);
TRACE
(
"lpck: ckid=%
s, cksize=%d, dwDataOffset=%d fccType=%08X (%
s)!
\n
"
,
debugstr_an
((
LPSTR
)
&
lpck
->
ckid
,
4
)
,
lpck
->
cksize
,
lpck
->
dwDataOffset
,
lpck
->
fccType
,
srchType
?
debugstr_an
((
LPSTR
)
&
lpck
->
fccType
,
4
)
:
""
);
return
MMSYSERR_NOERROR
;
}
...
...
@@ -1272,7 +1272,7 @@ MMRESULT WINAPI mmioCreateChunk(HMMIO hmmio, MMCKINFO* lpck, UINT uFlags)
else
if
(
uFlags
==
MMIO_CREATERIFF
)
lpck
->
ckid
=
FOURCC_RIFF
;
TRACE
(
"ckid=%
.4s
\n
"
,
(
LPSTR
)
&
lpck
->
ckid
);
TRACE
(
"ckid=%
s
\n
"
,
debugstr_an
((
LPSTR
)
&
lpck
->
ckid
,
4
)
);
size
=
2
*
sizeof
(
DWORD
);
lpck
->
dwDataOffset
=
dwOldPos
+
size
;
...
...
@@ -1302,7 +1302,7 @@ MMRESULT WINAPI mmioRenameA(LPCSTR szFileName, LPCSTR szNewFileName,
struct
IOProcList
tmp
;
FOURCC
fcc
;
TRACE
(
"(
'%s', '%s'
, %p, %08X);
\n
"
,
TRACE
(
"(
%s, %s
, %p, %08X);
\n
"
,
debugstr_a
(
szFileName
),
debugstr_a
(
szNewFileName
),
lpmmioinfo
,
dwFlags
);
/* If both params are NULL, then parse the file name */
...
...
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