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
0135bf8a
Commit
0135bf8a
authored
Dec 21, 2008
by
Andrew Nguyen
Committed by
Alexandre Julliard
Dec 22, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: mixerOpen should return success with NULL dwCallback and CALLBACK_WINDOW flag.
parent
64cf3062
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
mixer.c
dlls/winmm/tests/mixer.c
+0
-1
winmm.c
dlls/winmm/winmm.c
+1
-1
No files found.
dlls/winmm/tests/mixer.c
View file @
0135bf8a
...
...
@@ -1035,7 +1035,6 @@ static void test_mixerOpen()
/* Test mixerOpen with a NULL dwCallback and CALLBACK_WINDOW flag. */
rc
=
mixerOpen
(
&
mix
,
d
,
0
,
0
,
CALLBACK_WINDOW
);
todo_wine
ok
(
rc
==
MMSYSERR_NOERROR
,
"mixerOpen: MMSYSERR_NOERROR expected, got %s
\n
"
,
mmsys_error
(
rc
));
...
...
dlls/winmm/winmm.c
View file @
0135bf8a
...
...
@@ -355,7 +355,7 @@ UINT MIXER_Open(LPHMIXER lphMix, UINT uDeviceID, DWORD_PTR dwCallback,
case
CALLBACK_WINDOW
:
mod
.
dwInstance
=
dwCallback
;
if
(
!
IsWindow
((
HWND
)
dwCallback
))
if
(
dwCallback
&&
!
IsWindow
((
HWND
)
dwCallback
))
return
MMSYSERR_INVALPARAM
;
break
;
}
...
...
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