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
d4560b0c
Commit
d4560b0c
authored
May 31, 2013
by
Andrew Eikum
Committed by
Alexandre Julliard
May 31, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm/tests: Fix test that fails on NT4.
parent
892068f9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
capture.c
dlls/winmm/tests/capture.c
+2
-0
wave.c
dlls/winmm/tests/wave.c
+2
-0
No files found.
dlls/winmm/tests/capture.c
View file @
d4560b0c
...
...
@@ -649,8 +649,10 @@ static void wave_in_tests(void)
rc
=
waveInMessage
((
HWAVEIN
)
WAVE_MAPPER
,
DRVM_MAPPER_PREFERRED_GET
,
(
DWORD_PTR
)
&
preferred
,
(
DWORD_PTR
)
&
status
);
ok
((
ndev
==
0
&&
(
rc
==
MMSYSERR_NODRIVER
||
rc
==
MMSYSERR_BADDEVICEID
))
||
rc
==
MMSYSERR_NOTSUPPORTED
||
rc
==
MMSYSERR_NOERROR
,
"waveInMessage(DRVM_MAPPER_PREFERRED_GET) failed: %u
\n
"
,
rc
);
if
(
rc
!=
MMSYSERR_NOTSUPPORTED
)
ok
((
ndev
==
0
&&
(
preferred
==
-
1
||
broken
(
preferred
!=
-
1
)))
||
preferred
<
ndev
,
"Got invalid preferred device: 0x%x
\n
"
,
preferred
);
...
...
dlls/winmm/tests/wave.c
View file @
d4560b0c
...
...
@@ -1420,8 +1420,10 @@ static void wave_out_tests(void)
rc
=
waveOutMessage
((
HWAVEOUT
)
WAVE_MAPPER
,
DRVM_MAPPER_PREFERRED_GET
,
(
DWORD_PTR
)
&
preferred
,
(
DWORD_PTR
)
&
status
);
ok
((
ndev
==
0
&&
(
rc
==
MMSYSERR_NODRIVER
||
rc
==
MMSYSERR_BADDEVICEID
))
||
rc
==
MMSYSERR_NOTSUPPORTED
||
rc
==
MMSYSERR_NOERROR
,
"waveOutMessage(DRVM_MAPPER_PREFERRED_GET) failed: %u
\n
"
,
rc
);
if
(
rc
!=
MMSYSERR_NOTSUPPORTED
)
ok
((
ndev
==
0
&&
(
preferred
==
-
1
||
broken
(
preferred
!=
-
1
)))
||
preferred
<
ndev
,
"Got invalid preferred device: 0x%x
\n
"
,
preferred
);
...
...
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