dmstyle: IDirectMusicStyle8 GetDefaultBand return S_FALSE.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48648
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:
Alistair Leslie-Hughes 2020-02-26 04:19:29 +00:00 committed by Alexandre Julliard
parent e2a0a99e14
commit 79b91eaf28
1 changed files with 10 additions and 4 deletions

View File

@ -151,11 +151,17 @@ static HRESULT WINAPI IDirectMusicStyle8Impl_EnumBand(IDirectMusicStyle8 *iface,
}
static HRESULT WINAPI IDirectMusicStyle8Impl_GetDefaultBand(IDirectMusicStyle8 *iface,
IDirectMusicBand **ppBand)
IDirectMusicBand **band)
{
IDirectMusicStyle8Impl *This = impl_from_IDirectMusicStyle8(iface);
FIXME("(%p, %p): stub\n", This, ppBand);
return S_OK;
IDirectMusicStyle8Impl *This = impl_from_IDirectMusicStyle8(iface);
FIXME("(%p, %p): stub\n", This, band);
if (!band)
return E_POINTER;
*band = NULL;
return S_FALSE;
}
static HRESULT WINAPI IDirectMusicStyle8Impl_EnumMotif(IDirectMusicStyle8 *iface, DWORD index,