diff --git a/Stub/miniwin.h b/Stub/miniwin.h index f873623fa..7d8671930 100644 --- a/Stub/miniwin.h +++ b/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; diff --git a/Stub/miniwin_dsound.h b/Stub/miniwin_dsound.h index a21f722e2..bda043796 100644 --- a/Stub/miniwin_dsound.h +++ b/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) { diff --git a/Stub/sound.cpp b/Stub/sound.cpp index 32676a3ec..262f87cb1 100644 --- a/Stub/sound.cpp +++ b/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); }