windowscodecs: Implement IWICPixelFormatInfo::GetFormatGUID.

This commit is contained in:
Vincent Povirk 2012-06-13 10:20:48 -05:00 committed by Alexandre Julliard
parent 0648e09f3c
commit c8fea25a33
1 changed files with 9 additions and 2 deletions

View File

@ -1241,8 +1241,15 @@ static HRESULT WINAPI PixelFormatInfo_GetFriendlyName(IWICPixelFormatInfo2 *ifac
static HRESULT WINAPI PixelFormatInfo_GetFormatGUID(IWICPixelFormatInfo2 *iface,
GUID *pFormat)
{
FIXME("(%p,%p): stub\n", iface, pFormat);
return E_NOTIMPL;
PixelFormatInfo *This = impl_from_IWICPixelFormatInfo2(iface);
TRACE("(%p,%p)\n", iface, pFormat);
if (!pFormat)
return E_INVALIDARG;
*pFormat = This->clsid;
return S_OK;
}
static HRESULT WINAPI PixelFormatInfo_GetColorContext(IWICPixelFormatInfo2 *iface,