[1/2] windowscodecs: Implement MetadataReaderInfo_GetFriendlyName.
Dmitry Timoshkov
dmitry at baikal.ru
Wed Jun 20 23:30:43 CDT 2012
---
dlls/windowscodecs/info.c | 8 ++++++--
1 file 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,
--
1.7.11
More information about the wine-patches
mailing list