Browse Source

fixup: add missing miniwin stubs

pull/4/head
nomdenom 8 years ago
parent
commit
f6e2020b17
  1. 3
      Stub/miniwin.h
  2. 5
      Stub/miniwin_dsound.h
  3. 4
      Stub/sound.cpp

3
Stub/miniwin.h

@ -378,6 +378,7 @@ typedef struct _WIN32_FIND_DATAA *LPWIN32_FIND_DATAA;
typedef void *LPOVERLAPPED;
#define OFS_MAXPATHNAME 128
#define MAX_PATH 260
typedef struct _OFSTRUCT {
BYTE cBytes;
@ -540,7 +541,7 @@ HFILE WINAPI OpenFile(LPCSTR lpFileName, LPOFSTRUCT lpReOpenBuff, UINT uStyle);
// Total fakes
//
typedef struct {
} SOCKADDR, GUID;
} SOCKADDR, GUID, *LPGUID;
typedef struct {
DWORD cb;

5
Stub/miniwin_dsound.h

@ -2,7 +2,10 @@
#include "miniwin.h"
typedef void *LPDSBCAPS, *LPDIRECTSOUND, *LPCDSBUFFERDESC;
typedef void *LPDSBCAPS, *LPCDSBUFFERDESC;
struct IDirectSound;
typedef IDirectSound *LPDIRECTSOUND;
DECLARE_INTERFACE_(IDirectSoundBuffer, IUnknown)
{

4
Stub/sound.cpp

@ -23,7 +23,7 @@ void __cdecl music_stop()
DUMMY();
}
bool __fastcall snd_playing(TSnd *pSnd)
BOOL __fastcall snd_playing(TSnd *pSnd)
{
UNIMPLEMENTED();
}
@ -60,7 +60,7 @@ int __fastcall sound_get_or_set_music_volume(int volume)
return volume;
}
void __fastcall snd_update(bool bStopAll)
void __fastcall snd_update(BOOL bStopAll)
{
DUMMY_PRINT("stopall: %d", bStopAll);
}

Loading…
Cancel
Save