Gijs Vermeulen : wmp: Fake success in IWMPMedia::getItemInfo.

Alexandre Julliard julliard at winehq.org
Thu Aug 1 17:16:47 CDT 2019


Module: wine
Branch: master
Commit: eccd8c5424c16a70e3fec9efeaf73a60364f4062
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=eccd8c5424c16a70e3fec9efeaf73a60364f4062

Author: Gijs Vermeulen <gijsvrm at codeweavers.com>
Date:   Thu Aug  1 15:07:57 2019 +0200

wmp: Fake success in IWMPMedia::getItemInfo.

Signed-off-by: Gijs Vermeulen <gijsvrm at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wmp/player.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/wmp/player.c b/dlls/wmp/player.c
index 5673d0e..fc4439d 100644
--- a/dlls/wmp/player.c
+++ b/dlls/wmp/player.c
@@ -1874,11 +1874,11 @@ static HRESULT WINAPI WMPMedia_getAttributeName(IWMPMedia *iface, LONG lIndex, B
     return E_NOTIMPL;
 }
 
-static HRESULT WINAPI WMPMedia_getItemInfo(IWMPMedia *iface, BSTR bstrItemName, BSTR *pbstrVal)
+static HRESULT WINAPI WMPMedia_getItemInfo(IWMPMedia *iface, BSTR item_name, BSTR *value)
 {
     WMPMedia *This = impl_from_IWMPMedia(iface);
-    FIXME("(%p)->(%s, %p)\n", This, debugstr_w(bstrItemName), pbstrVal);
-    return E_NOTIMPL;
+    FIXME("(%p)->(%s, %p)\n", This, debugstr_w(item_name), value);
+    return return_bstr(NULL, value);
 }
 
 static HRESULT WINAPI WMPMedia_setItemInfo(IWMPMedia *iface, BSTR bstrItemName, BSTR bstrVal)




More information about the wine-cvs mailing list