dmsynth: Build with msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-06-03 10:30:44 +02:00
parent 33ec6fd86f
commit 51994cb64d
4 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,8 @@
MODULE = dmsynth.dll
IMPORTS = dxguid uuid ole32 advapi32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
dmsynth_main.c \
synth.c \

View File

@ -17,8 +17,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>

View File

@ -32,7 +32,6 @@
#include "wine/debug.h"
#include "wine/list.h"
#include "wine/unicode.h"
#include "winreg.h"
#include "objbase.h"

View File

@ -600,7 +600,7 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicSynthImpl(REFIID riid, void **ppobj)
obj->pCaps.dwMaxVoices = 1000;
obj->pCaps.dwMaxAudioChannels = 2;
obj->pCaps.dwEffectFlags = DMUS_EFFECT_REVERB;
strcpyW(obj->pCaps.wszDescription, descrW);
lstrcpyW(obj->pCaps.wszDescription, descrW);
DMSYNTH_LockModule();
hr = IDirectMusicSynth8_QueryInterface(&obj->IDirectMusicSynth8_iface, riid, ppobj);