mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 00:54:40 +00:00
Added more stubbs for bochs
svn path=/trunk/; revision=4053
This commit is contained in:
parent
834dbc5fd5
commit
24ed00435b
4 changed files with 112 additions and 15 deletions
|
@ -11,7 +11,7 @@
|
|||
#include <ddk/ntddk.h>
|
||||
#include <windows.h>
|
||||
|
||||
#define NDEBUG
|
||||
//#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
INT STDCALL
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*
|
||||
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
|
||||
|
||||
*/
|
||||
* 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 <windows.h>
|
||||
|
||||
|
@ -15,7 +15,7 @@ UINT
|
|||
WINAPI
|
||||
waveOutReset(HWAVEOUT hWaveOut)
|
||||
{
|
||||
DbgPrint("waveOutReset unimplemented\n");
|
||||
DbgPrint("waveOutReset stub\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,7 @@ waveOutReset(HWAVEOUT hWaveOut)
|
|||
UINT WINAPI waveOutWrite(HWAVEOUT hWaveOut, LPCSTR pszSoundA,
|
||||
UINT uSize)
|
||||
{
|
||||
DbgPrint("waveOutWrite unimplemented\n");
|
||||
DbgPrint("waveOutWrite stub\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,7 @@ WINBOOL
|
|||
STDCALL
|
||||
sndPlaySoundA(LPCSTR pszSoundA, UINT uFlags)
|
||||
{
|
||||
DbgPrint("sndPlaySoundA unimplemented\n");
|
||||
DbgPrint("sndPlaySoundA stub\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -40,7 +40,7 @@ WINBOOL
|
|||
STDCALL
|
||||
sndPlaySoundW(LPCSTR pszSoundA, UINT uFlags)
|
||||
{
|
||||
DbgPrint("sndPlaySoundW unimplemented\n");
|
||||
DbgPrint("sndPlaySoundW stub\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -48,6 +48,87 @@ WINBOOL
|
|||
STDCALL
|
||||
midiOutReset(HWAVEOUT hWaveOut)
|
||||
{
|
||||
DbgPrint("midiOutReset unimplemented\n");
|
||||
DbgPrint("midiOutReset stub\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
WINBOOL
|
||||
STDCALL
|
||||
waveOutPrepareHeader(HWAVEOUT hWaveOut, LPCSTR pszSoundA,
|
||||
UINT uSize)
|
||||
{
|
||||
DbgPrint("waveOutPrepareHeader stub\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
WINBOOL
|
||||
STDCALL
|
||||
waveOutGetErrorTextA(HWAVEOUT hWaveOut, LPCSTR pszSoundA,
|
||||
UINT uSize)
|
||||
{
|
||||
DbgPrint("waveOutGetErrorTextA stub\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
WINBOOL
|
||||
STDCALL
|
||||
waveOutOpen(HWAVEOUT* lphWaveOut, UINT uDeviceID,
|
||||
const lpFormat, DWORD dwCallback,
|
||||
DWORD dwInstance, DWORD dwFlags)
|
||||
{
|
||||
DbgPrint("waveOutOpen stub\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
UINT
|
||||
WINAPI
|
||||
waveOutClose(HWAVEOUT hWaveOut)
|
||||
{
|
||||
DbgPrint("waveOutClose stub\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
WINBOOL
|
||||
STDCALL
|
||||
midiOutClose(HWAVEOUT hWaveOut)
|
||||
{
|
||||
DbgPrint("midiOutClose stub\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
WINBOOL
|
||||
STDCALL
|
||||
midiOutUnprepareHeader(HWAVEOUT hWaveOut, LPCSTR pszSoundA,
|
||||
UINT uSize)
|
||||
{
|
||||
DbgPrint("midiOutUnprepareHeader stub\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
WINBOOL
|
||||
STDCALL
|
||||
waveOutUnprepareHeader(HWAVEOUT hWaveOut, LPCSTR pszSoundA,
|
||||
UINT uSize)
|
||||
{
|
||||
DbgPrint("waveOutUnprepareHeader stub\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
WINBOOL
|
||||
STDCALL
|
||||
midiOutPrepareHeader(HWAVEOUT hWaveOut, LPCSTR pszSoundA,
|
||||
UINT uSize)
|
||||
{
|
||||
DbgPrint("midiOutPrepareHeader stub\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
WINBOOL
|
||||
STDCALL
|
||||
midiOutLongMsg(HWAVEOUT hWaveOut, LPCSTR pszSoundA,
|
||||
UINT uSize)
|
||||
{
|
||||
DbgPrint("midiOutLongMsg stub\n");
|
||||
return 1;
|
||||
}
|
||||
|
|
|
@ -1,8 +1,16 @@
|
|||
LIBRARY WINMM.DLL
|
||||
EXPORTS
|
||||
; add more exports as needed
|
||||
midiOutReset@4
|
||||
midiOutClose@4
|
||||
midiOutUnprepareHeader@12
|
||||
sndPlaySoundA@8
|
||||
sndPlaySoundW@8
|
||||
waveOutReset@4
|
||||
waveOutWrite@12
|
||||
waveOutPrepareHeader@12
|
||||
waveOutGetErrorTextA@12
|
||||
waveOutOpen@24
|
||||
waveOutClose@4
|
||||
waveOutUnprepareHeader@12
|
||||
midiOutPrepareHeader@12
|
||||
midiOutLongMsg@12
|
|
@ -1,8 +1,16 @@
|
|||
LIBRARY WINMM.DLL
|
||||
EXPORTS
|
||||
; add more exports as needed
|
||||
midiOutReset=midiOutReset@4
|
||||
midiOutClose=midiOutClose@4
|
||||
midiOutUnprepareHeader=midiOutUnprepareHeader@12
|
||||
sndPlaySoundA=sndPlaySoundA@8
|
||||
sndPlaySoundW=sndPlaySoundW@8
|
||||
waveOutReset=waveOutReset@4
|
||||
waveOutWrite=waveOutWrite@12
|
||||
waveOutPrepareHeader=waveOutPrepareHeader@12
|
||||
waveOutGetErrorTextA=waveOutGetErrorTextA@12
|
||||
waveOutOpen=waveOutOpen@24
|
||||
waveOutClose=waveOutClose@4
|
||||
waveOutUnprepareHeader=waveOutUnprepareHeader@12
|
||||
midiOutPrepareHeader=midiOutPrepareHeader@12
|
||||
midiOutLongMsg=midiOutLongMsg@12
|
Loading…
Reference in a new issue