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
00046b81
Commit
00046b81
authored
Jan 27, 2017
by
Bruno Jesus
Committed by
Alexandre Julliard
Jan 30, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: Fix the ordinal number for function PlaySound.
Signed-off-by:
Bruno Jesus
<
00cpxxx@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2a37605e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
wave.c
dlls/winmm/tests/wave.c
+6
-0
winmm.spec
dlls/winmm/winmm.spec
+1
-1
No files found.
dlls/winmm/tests/wave.c
View file @
00046b81
...
...
@@ -1656,6 +1656,12 @@ static void test_PlaySound(void)
{
BOOL
br
;
char
test_file
[
MAX_PATH
],
temp
[
MAX_PATH
],
*
exts
;
void
*
psound_ordinal
,
*
psound_name
;
HMODULE
dll
=
GetModuleHandleA
(
"winmm.dll"
);
psound_name
=
GetProcAddress
(
dll
,
"PlaySound"
);
psound_ordinal
=
GetProcAddress
(
dll
,
(
LPCSTR
)
2
);
ok
(
psound_name
==
psound_ordinal
,
"Expected ordinal 2 to be PlaySound function
\n
"
);
if
(
waveOutGetNumDevs
()
==
0
)
{
skip
(
"No output devices available
\n
"
);
...
...
dlls/winmm/winmm.spec
View file @
00046b81
# ordinal exports
1
stdcall @(ptr long long) PlaySoundA
2
stdcall @(ptr long long) PlaySoundA
3 stub @
4 stub @
...
...
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