[PATCH v2 4/5] wmp: Fake success in IWMPMedia::getItemInfo.

Gijs Vermeulen gijsvrm at codeweavers.com
Thu Aug 1 08:07:57 CDT 2019


Signed-off-by: Gijs Vermeulen <gijsvrm at codeweavers.com>
---
 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 5673d0e75a..fc4439d6f0 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)
-- 
2.22.0




More information about the wine-devel mailing list