windowscodecs: Implement MetadataReaderInfo_GetFriendlyName.

This commit is contained in:
Dmitry Timoshkov 2012-06-21 13:30:43 +09:00 committed by Alexandre Julliard
parent 0016d8a2dd
commit ae610ef37e
1 changed files with 6 additions and 2 deletions

View File

@ -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,