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
f7a447ba
Commit
f7a447ba
authored
Feb 16, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm/tests: Fix a couple of incorrect casts.
parent
0e98500e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
midi.c
dlls/winmm/tests/midi.c
+4
-4
No files found.
dlls/winmm/tests/midi.c
View file @
f7a447ba
...
...
@@ -234,9 +234,9 @@ static void test_midiOut_device(UINT udev, HWND hwnd)
ok
(
!
rc
,
"midiOutSetVolume restore rc=%s
\n
"
,
mmsys_error
(
rc
));
}
}
rc
=
midiOutGetDevCapsA
((
UINT
)
hm
,
&
capsA
,
sizeof
(
capsA
));
rc
=
midiOutGetDevCapsA
((
UINT
_PTR
)
hm
,
&
capsA
,
sizeof
(
capsA
));
ok
(
!
rc
,
"midiOutGetDevCaps(dev=%d) by handle rc=%s
\n
"
,
udev
,
mmsys_error
(
rc
));
rc
=
midiInGetDevCapsA
((
UINT
)
hm
,
(
LPMIDIINCAPSA
)
&
capsA
,
sizeof
(
DWORD
));
rc
=
midiInGetDevCapsA
((
UINT
_PTR
)
hm
,
(
LPMIDIINCAPSA
)
&
capsA
,
sizeof
(
DWORD
));
ok
(
rc
==
MMSYSERR_BADDEVICEID
,
"midiInGetDevCaps(dev=%d) by out handle rc=%s
\n
"
,
udev
,
mmsys_error
(
rc
));
{
DWORD
e
=
0x006F4893
;
/* velocity, note (#69 would be 440Hz) channel */
...
...
@@ -365,8 +365,8 @@ static void test_midiStream(UINT udev, HWND hwnd)
Sleep
(
100
);
}
ok
(
mhdr
.
dwFlags
&
MHDR_DONE
,
"MHDR.dwFlags %x not DONE when out of queue
\n
"
,
mhdr
.
dwFlags
);
test_notification
(
hwnd
,
"midiStream callback"
,
MOM_POSITIONCB
,
(
DWORD
)
&
mhdr
);
test_notification
(
hwnd
,
"midiStreamOut"
,
MOM_DONE
,
(
DWORD
)
&
mhdr
);
test_notification
(
hwnd
,
"midiStream callback"
,
MOM_POSITIONCB
,
(
DWORD
_PTR
)
&
mhdr
);
test_notification
(
hwnd
,
"midiStreamOut"
,
MOM_DONE
,
(
DWORD
_PTR
)
&
mhdr
);
rc
=
midiOutUnprepareHeader
((
HMIDIOUT
)
hm
,
&
mhdr
,
sizeof
(
mhdr
));
ok
(
!
rc
,
"midiOutUnprepare rc=%s
\n
"
,
mmsys_error
(
rc
));
...
...
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