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
d9b16027
Commit
d9b16027
authored
Sep 22, 2010
by
Jörg Höhle
Committed by
Alexandre Julliard
Nov 03, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mciwave: Fix some MCI_STATUS return code.
parent
c367215b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
24 deletions
+13
-24
mciwave.c
dlls/mciwave/mciwave.c
+2
-1
mci.c
dlls/winmm/tests/mci.c
+11
-23
No files found.
dlls/mciwave/mciwave.c
View file @
d9b16027
...
...
@@ -1463,6 +1463,7 @@ static DWORD WAVE_mciStatus(MCIDEVICEID wDevID, DWORD dwFlags, LPMCI_STATUS_PARM
TRACE
(
"(%u, %08X, %p);
\n
"
,
wDevID
,
dwFlags
,
lpParms
);
if
(
lpParms
==
NULL
)
return
MCIERR_NULL_PARAMETER_BLOCK
;
if
(
wmw
==
NULL
)
return
MCIERR_INVALID_DEVICE_ID
;
if
(
!
(
dwFlags
&
MCI_STATUS_ITEM
))
return
MCIERR_MISSING_PARAMETER
;
if
(
dwFlags
&
MCI_STATUS_ITEM
)
{
switch
(
lpParms
->
dwItem
)
{
...
...
@@ -1572,7 +1573,7 @@ static DWORD WAVE_mciStatus(MCIDEVICEID wDevID, DWORD dwFlags, LPMCI_STATUS_PARM
break
;
default:
WARN
(
"unknown command %08X !
\n
"
,
lpParms
->
dwItem
);
return
MCIERR_UN
RECOGNIZED_COMMAND
;
return
MCIERR_UN
SUPPORTED_FUNCTION
;
}
}
if
((
dwFlags
&
MCI_NOTIFY
)
&&
HRESULT_CODE
(
ret
)
==
0
)
...
...
dlls/winmm/tests/mci.c
View file @
d9b16027
This diff is collapsed.
Click to expand it.
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