Module: wine Branch: master Commit: ae610ef37e7b0970ba4c2acb83e468ca95027b0e URL: http://source.winehq.org/git/wine.git/?a=commit;h=ae610ef37e7b0970ba4c2acb83...
Author: Dmitry Timoshkov dmitry@baikal.ru Date: Thu Jun 21 13:30:43 2012 +0900
windowscodecs: Implement MetadataReaderInfo_GetFriendlyName.
---
dlls/windowscodecs/info.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/dlls/windowscodecs/info.c b/dlls/windowscodecs/info.c index 5b81702..a777276 100644 --- a/dlls/windowscodecs/info.c +++ b/dlls/windowscodecs/info.c @@ -1431,8 +1431,12 @@ static HRESULT WINAPI MetadataReaderInfo_GetSpecVersion(IWICMetadataReaderInfo * static HRESULT WINAPI MetadataReaderInfo_GetFriendlyName(IWICMetadataReaderInfo *iface, UINT length, WCHAR *name, UINT *actual_length) { - FIXME("(%p,%u,%p,%p): stub\n", iface, length, name, actual_length); - return E_NOTIMPL; + MetadataReaderInfo *This = impl_from_IWICMetadataReaderInfo(iface); + + TRACE("(%p,%u,%p,%p)\n", iface, length, name, actual_length); + + return ComponentInfo_GetStringValue(This->classkey, friendlyname_valuename, + length, name, actual_length); }
static HRESULT WINAPI MetadataReaderInfo_GetMetadataFormat(IWICMetadataReaderInfo *iface,