Christian Costa : dmime: Make stub returns a error to avoid crashing.
Alexandre Julliard
julliard at winehq.org
Fri Nov 28 07:16:36 CST 2008
Module: wine
Branch: master
Commit: 12f5a308333745f89d461cc66b9e5d70debbc7ea
URL: http://source.winehq.org/git/wine.git/?a=commit;h=12f5a308333745f89d461cc66b9e5d70debbc7ea
Author: Christian Costa <titan.costa at wanadoo.fr>
Date: Thu Nov 27 22:26:57 2008 +0100
dmime: Make stub returns a error to avoid crashing.
---
dlls/dmime/performance.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dmime/performance.c b/dlls/dmime/performance.c
index 66b1a02..0523cd7 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) {
More information about the wine-cvs
mailing list