winmm: sndPlaySound can play resource sounds
Aric Stewart
aric at codeweavers.com
Tue Mar 17 08:04:09 CDT 2015
despite what MSDN says, SND_RESOURCE is valid for sndPlaySound and it plays the sounds.
Manual testing was done to confirm sound playing in addition to the successfully return
codes on all OS versions other than Vista64 and w2008s64
---
dlls/winmm/playsound.c | 4 ++--
dlls/winmm/tests/Makefile.in | 2 ++
dlls/winmm/tests/bing.wav | Bin 0 -> 8418 bytes
dlls/winmm/tests/resource.rc | 24 ++++++++++++++++++++++++
dlls/winmm/tests/wave.c | 8 ++++++++
5 files changed, 36 insertions(+), 2 deletions(-)
create mode 100644 dlls/winmm/tests/bing.wav
create mode 100644 dlls/winmm/tests/resource.rc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0013-winmm-sndPlaySound-can-play-resource-sounds.txt
Type: text/x-patch
Size: 7824 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150317/38a06aa8/attachment.bin>
More information about the wine-patches
mailing list