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
fe7a057a
Commit
fe7a057a
authored
Feb 28, 2013
by
Jörg Höhle
Committed by
Alexandre Julliard
Mar 05, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: Don't log the uninitialised MCI output buffer in case of error.
parent
afd7dc59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
mci.c
dlls/winmm/mci.c
+3
-2
No files found.
dlls/winmm/mci.c
View file @
fe7a057a
...
@@ -1579,11 +1579,12 @@ DWORD WINAPI mciSendStringW(LPCWSTR lpstrCommand, LPWSTR lpstrRet,
...
@@ -1579,11 +1579,12 @@ DWORD WINAPI mciSendStringW(LPCWSTR lpstrCommand, LPWSTR lpstrRet,
}
else
{
}
else
{
dwRet
=
MCI_SendCommand
(
wmd
?
wmd
->
wDeviceID
:
uDevID
,
wMsg
,
dwFlags
,
(
DWORD_PTR
)
&
data
);
dwRet
=
MCI_SendCommand
(
wmd
?
wmd
->
wDeviceID
:
uDevID
,
wMsg
,
dwFlags
,
(
DWORD_PTR
)
&
data
);
}
}
TRACE
(
"=> 1/ %x (%s)
\n
"
,
dwRet
,
debugstr_w
(
lpstrRet
));
if
(
!
LOWORD
(
dwRet
))
{
if
(
!
LOWORD
(
dwRet
))
{
TRACE
(
"=> 1/ %x (%s)
\n
"
,
dwRet
,
debugstr_w
(
lpstrRet
));
dwRet
=
MCI_HandleReturnValues
(
dwRet
,
wmd
,
retType
,
&
data
.
generic
,
lpstrRet
,
uRetLen
);
dwRet
=
MCI_HandleReturnValues
(
dwRet
,
wmd
,
retType
,
&
data
.
generic
,
lpstrRet
,
uRetLen
);
TRACE
(
"=> 2/ %x (%s)
\n
"
,
dwRet
,
debugstr_w
(
lpstrRet
));
TRACE
(
"=> 2/ %x (%s)
\n
"
,
dwRet
,
debugstr_w
(
lpstrRet
));
}
}
else
TRACE
(
"=> %x
\n
"
,
dwRet
);
errCleanUp:
errCleanUp:
if
(
auto_open
)
{
if
(
auto_open
)
{
...
...
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