dmime: Make stub returns a error to avoid crashing.

This commit is contained in:
Christian Costa 2008-11-27 22:26:57 +01:00 committed by Alexandre Julliard
parent 0409ff6269
commit 12f5a30833

View file

@ -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) {