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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
capture.c
dlls/winmm/tests/capture.c
+4
-2
wave.c
dlls/winmm/tests/wave.c
+4
-2
No files found.
dlls/winmm/tests/capture.c
View file @
d4560b0c
...
...
@@ -649,10 +649,12 @@ 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
);
ok
((
ndev
==
0
&&
(
preferred
==
-
1
||
broken
(
preferred
!=
-
1
)))
||
preferred
<
ndev
,
"Got invalid preferred device: 0x%x
\n
"
,
preferred
);
if
(
rc
!=
MMSYSERR_NOTSUPPORTED
)
ok
((
ndev
==
0
&&
(
preferred
==
-
1
||
broken
(
preferred
!=
-
1
)))
||
preferred
<
ndev
,
"Got invalid preferred device: 0x%x
\n
"
,
preferred
);
rc
=
waveInGetDevCapsA
(
ndev
+
1
,
&
capsA
,
sizeof
(
capsA
));
ok
(
rc
==
MMSYSERR_BADDEVICEID
,
...
...
dlls/winmm/tests/wave.c
View file @
d4560b0c
...
...
@@ -1420,10 +1420,12 @@ 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
);
ok
((
ndev
==
0
&&
(
preferred
==
-
1
||
broken
(
preferred
!=
-
1
)))
||
preferred
<
ndev
,
"Got invalid preferred device: 0x%x
\n
"
,
preferred
);
if
(
rc
!=
MMSYSERR_NOTSUPPORTED
)
ok
((
ndev
==
0
&&
(
preferred
==
-
1
||
broken
(
preferred
!=
-
1
)))
||
preferred
<
ndev
,
"Got invalid preferred device: 0x%x
\n
"
,
preferred
);
rc
=
waveOutGetDevCapsA
(
ndev
+
1
,
&
capsA
,
sizeof
(
capsA
));
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