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
9c8dd0a2
Commit
9c8dd0a2
authored
Oct 18, 2004
by
Robert Reif
Committed by
Alexandre Julliard
Oct 18, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't consider MMSYSERR_NOTSUPPORTED an error for wide functions.
parent
4e44eb2c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
capture.c
dlls/winmm/tests/capture.c
+6
-6
mixer.c
dlls/winmm/tests/mixer.c
+5
-3
No files found.
dlls/winmm/tests/capture.c
View file @
9c8dd0a2
...
...
@@ -586,15 +586,15 @@ static void wave_in_tests()
"expected, got %s
\n
"
,
dev_name
(
ndev
+
1
),
wave_in_error
(
rc
));
rc
=
waveInGetDevCapsW
(
ndev
+
1
,
&
capsW
,
sizeof
(
capsW
));
ok
(
rc
==
MMSYSERR_BADDEVICEID
,
"waveInGetDevCapsW(%s): MMSYSERR_BADDEVICEID
expected, got %s
\n
"
,
dev_name
(
ndev
+
1
),
wave_in_error
(
rc
));
ok
(
rc
==
MMSYSERR_BADDEVICEID
||
rc
==
MMSYSERR_NOTSUPPORTED
,
"waveInGetDevCapsW(%s): MMSYSERR_BADDEVICEID
or MMSYSERR_NOTSUPPORTED "
"expected, got %s
\n
"
,
dev_name
(
ndev
+
1
),
wave_in_error
(
rc
));
rc
=
waveInGetDevCapsW
(
WAVE_MAPPER
,
&
capsW
,
sizeof
(
capsW
));
if
(
ndev
>
0
)
ok
(
rc
==
MMSYSERR_NOERROR
,
"waveInGetDevCapsW(%s): MMSYSERR_NOERROR
expected, got %s
\n
"
,
dev_name
(
ndev
+
1
),
wave_in_error
(
rc
));
ok
(
rc
==
MMSYSERR_NOERROR
||
rc
==
MMSYSERR_NOTSUPPORTED
,
"waveInGetDevCapsW(%s): MMSYSERR_NOERROR
or MMSYSERR_NOTSUPPORTED "
"expected, got %s
\n
"
,
dev_name
(
ndev
+
1
),
wave_in_error
(
rc
));
else
ok
(
rc
==
MMSYSERR_BADDEVICEID
||
rc
==
MMSYSERR_NODRIVER
,
"waveInGetDevCapsW(%s): MMSYSERR_BADDEVICEID or MMSYSERR_NODRIVER "
...
...
dlls/winmm/tests/mixer.c
View file @
9c8dd0a2
...
...
@@ -995,9 +995,11 @@ void mixer_testsW()
trace
(
"found %d Mixer devices
\n
"
,
ndev
);
rc
=
mixerGetDevCapsW
(
ndev
+
1
,
&
capsW
,
sizeof
(
capsW
));
ok
(
rc
==
MMSYSERR_BADDEVICEID
,
"mixerGetDevCapsW: MMSYSERR_BADDEVICEID expected, got %s
\n
"
,
mmsys_error
(
rc
));
ok
(
rc
==
MMSYSERR_BADDEVICEID
||
rc
==
MMSYSERR_NOTSUPPORTED
,
"mixerGetDevCapsW: MMSYSERR_BADDEVICEID or MMSYSERR_NOTSUPPORTED "
"expected, got %s
\n
"
,
mmsys_error
(
rc
));
if
(
rc
==
MMSYSERR_NOTSUPPORTED
)
return
;
rc
=
mixerOpen
(
&
mix
,
ndev
+
1
,
0
,
0
,
0
);
ok
(
rc
==
MMSYSERR_BADDEVICEID
,
...
...
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