From 12f5a308333745f89d461cc66b9e5d70debbc7ea Mon Sep 17 00:00:00 2001 From: Christian Costa Date: Thu, 27 Nov 2008 22:26:57 +0100 Subject: [PATCH] dmime: Make stub returns a error to avoid crashing. --- dlls/dmime/performance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dmime/performance.c b/dlls/dmime/performance.c index 66b1a0270b1..0523cd7578e 100644 --- a/dlls/dmime/performance.c +++ b/dlls/dmime/performance.c @@ -787,7 +787,7 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_PlaySegmentEx (LPDIRECTMUSICP IDirectMusicPerformance8Impl *This = (IDirectMusicPerformance8Impl *)iface; FIXME("(%p, %p, %p, %p, %d, 0x%s, %p, %p, %p): stub\n", This, pSource, pwzSegmentName, pTransition, dwFlags, wine_dbgstr_longlong(i64StartTime), ppSegmentState, pFrom, pAudioPath); - return S_OK; + return DMUS_E_SEGMENT_INIT_FAILED; } static HRESULT WINAPI IDirectMusicPerformance8Impl_StopEx (LPDIRECTMUSICPERFORMANCE8 iface, IUnknown* pObjectToStop, __int64 i64StopTime, DWORD dwFlags) {