wmp: Implement IWMPPlaylist::[get|put]_name.

Signed-off-by: Gijs Vermeulen <gijsvrm@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Gijs Vermeulen 2019-08-03 17:45:57 +02:00 committed by Alexandre Julliard
parent 8f1d707737
commit a3fe1f20c6
1 changed files with 11 additions and 4 deletions

View File

@ -2049,15 +2049,22 @@ static HRESULT WINAPI WMPPlaylist_get_count(IWMPPlaylist *iface, LONG *count)
static HRESULT WINAPI WMPPlaylist_get_name(IWMPPlaylist *iface, BSTR *name)
{
WMPPlaylist *This = impl_from_IWMPPlaylist(iface);
FIXME("(%p)->(%p)\n", This, name);
return E_NOTIMPL;
TRACE("(%p)->(%p)\n", This, name);
return return_bstr(This->name, name);
}
static HRESULT WINAPI WMPPlaylist_put_name(IWMPPlaylist *iface, BSTR name)
{
WMPPlaylist *This = impl_from_IWMPPlaylist(iface);
FIXME("(%p)->(%s)\n", This, debugstr_w(name));
return E_NOTIMPL;
TRACE("(%p)->(%s)\n", This, debugstr_w(name));
if (!name) return E_POINTER;
This->name = heap_strdupW(name);
return S_OK;
}
static HRESULT WINAPI WMPPlaylist_get_attributeCount(IWMPPlaylist *iface, LONG *count)