dmime: Always set a minimum timeout in IDirectMusicPerformance8::SetNotificationHandle.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8de2369dcf
commit
955ac88849
|
@ -521,9 +521,13 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_SetNotificationHandle(IDirect
|
|||
{
|
||||
IDirectMusicPerformance8Impl *This = impl_from_IDirectMusicPerformance8(iface);
|
||||
|
||||
FIXME("(%p, %p, 0x%s): stub\n", This, hNotification, wine_dbgstr_longlong(rtMinimum));
|
||||
TRACE("(%p, %p, 0x%s)\n", This, hNotification, wine_dbgstr_longlong(rtMinimum));
|
||||
|
||||
This->hNotification = hNotification;
|
||||
if (rtMinimum) This->rtMinimum = rtMinimum;
|
||||
if (rtMinimum)
|
||||
This->rtMinimum = rtMinimum;
|
||||
else if (!This->rtMinimum)
|
||||
This->rtMinimum = 20000000; /* 2 seconds */
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue