From f10756010cd1fd45c1d624a4978e5b26d9e27a42 Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Thu, 3 Oct 2002 19:32:05 +0000 Subject: [PATCH] 1. stub sndPlaySnd[A/W] to keep notepad from bitching 2. gcc 3.x end of line fix svn path=/trunk/; revision=3617 --- reactos/lib/winmm/dllmain.c | 2 +- reactos/lib/winmm/misc/stubs.c | 21 +++++++++++++++++++-- reactos/lib/winmm/winmm.def | 4 +++- reactos/lib/winmm/winmm.edf | 4 +++- 4 files changed, 26 insertions(+), 5 deletions(-) diff --git a/reactos/lib/winmm/dllmain.c b/reactos/lib/winmm/dllmain.c index f045b926f62..2eb5093cb28 100644 --- a/reactos/lib/winmm/dllmain.c +++ b/reactos/lib/winmm/dllmain.c @@ -33,4 +33,4 @@ DllMain(PVOID hinstDll, DbgPrint("WINMM: DllMain() done\n"); return TRUE; -} \ No newline at end of file +} diff --git a/reactos/lib/winmm/misc/stubs.c b/reactos/lib/winmm/misc/stubs.c index 6322ccf618a..9af5d8a2cc5 100644 --- a/reactos/lib/winmm/misc/stubs.c +++ b/reactos/lib/winmm/misc/stubs.c @@ -7,9 +7,26 @@ DECLARE_HANDLE(HWAVEOUT); // mmsystem.h -UINT WINAPI +UINT +WINAPI waveOutReset(HWAVEOUT hWaveOut) { DbgPrint("waveOutReset unimplemented\n"); return 1; -} \ No newline at end of file +} + +WINBOOL +STDCALL +sndPlaySoundA(LPCSTR pszSoundA, UINT uFlags) +{ + DbgPrint("waveOutReset unimplemented\n"); + return 1; +} + +WINBOOL +STDCALL +sndPlaySoundW(LPCSTR pszSoundA, UINT uFlags) +{ + DbgPrint("waveOutReset unimplemented\n"); + return 1; +} diff --git a/reactos/lib/winmm/winmm.def b/reactos/lib/winmm/winmm.def index efc2ea7303b..7d36f1f1dd1 100644 --- a/reactos/lib/winmm/winmm.def +++ b/reactos/lib/winmm/winmm.def @@ -1,4 +1,6 @@ LIBRARY WINMM.DLL EXPORTS ; add more exports as needed -waveOutReset@4 \ No newline at end of file +waveOutReset@4 +sndPlaySoundA@8 +sndPlaySoundW@8 \ No newline at end of file diff --git a/reactos/lib/winmm/winmm.edf b/reactos/lib/winmm/winmm.edf index 87bd441d795..fee70d292da 100644 --- a/reactos/lib/winmm/winmm.edf +++ b/reactos/lib/winmm/winmm.edf @@ -1,4 +1,6 @@ LIBRARY WINMM.DLL EXPORTS ; add more exports as needed -waveOutReset=waveOutReset@4 \ No newline at end of file +waveOutReset=waveOutReset@4 +sndPlaySoundA=sndPlaySoundA@8 +sndPlaySoundW=sndPlaySoundW@8 \ No newline at end of file