diff --git a/reactos/lib/winmm/misc/stubs.c b/reactos/lib/winmm/misc/stubs.c index 9af5d8a2cc5..e5265d74b31 100644 --- a/reactos/lib/winmm/misc/stubs.c +++ b/reactos/lib/winmm/misc/stubs.c @@ -1,6 +1,10 @@ /* The stubs here are totaly wrong so please help a brother out and fix this shit. sedwards 9-24-02 + + Added more stubs for bochs 1.3 once again still mostly wrong + but bochs gets further now. 12-14-02 + */ #include @@ -15,11 +19,20 @@ waveOutReset(HWAVEOUT hWaveOut) return 1; } + +UINT WINAPI waveOutWrite(HWAVEOUT hWaveOut, LPCSTR pszSoundA, + UINT uSize) +{ + DbgPrint("waveOutWrite unimplemented\n"); + return 1; +} + + WINBOOL STDCALL sndPlaySoundA(LPCSTR pszSoundA, UINT uFlags) { - DbgPrint("waveOutReset unimplemented\n"); + DbgPrint("sndPlaySoundA unimplemented\n"); return 1; } @@ -27,6 +40,14 @@ WINBOOL STDCALL sndPlaySoundW(LPCSTR pszSoundA, UINT uFlags) { - DbgPrint("waveOutReset unimplemented\n"); + DbgPrint("sndPlaySoundW unimplemented\n"); + return 1; +} + +WINBOOL +STDCALL +midiOutReset(HWAVEOUT hWaveOut) +{ + DbgPrint("midiOutReset unimplemented\n"); return 1; } diff --git a/reactos/lib/winmm/winmm.def b/reactos/lib/winmm/winmm.def index 7d36f1f1dd1..3cc61e9b4d1 100644 --- a/reactos/lib/winmm/winmm.def +++ b/reactos/lib/winmm/winmm.def @@ -1,6 +1,8 @@ LIBRARY WINMM.DLL EXPORTS ; add more exports as needed -waveOutReset@4 +midiOutReset@4 sndPlaySoundA@8 -sndPlaySoundW@8 \ No newline at end of file +sndPlaySoundW@8 +waveOutReset@4 +waveOutWrite@12 diff --git a/reactos/lib/winmm/winmm.edf b/reactos/lib/winmm/winmm.edf index fee70d292da..9f52b59f3f9 100644 --- a/reactos/lib/winmm/winmm.edf +++ b/reactos/lib/winmm/winmm.edf @@ -1,6 +1,8 @@ LIBRARY WINMM.DLL EXPORTS ; add more exports as needed -waveOutReset=waveOutReset@4 +midiOutReset=midiOutReset@4 sndPlaySoundA=sndPlaySoundA@8 -sndPlaySoundW=sndPlaySoundW@8 \ No newline at end of file +sndPlaySoundW=sndPlaySoundW@8 +waveOutReset=waveOutReset@4 +waveOutWrite=waveOutWrite@12