windowscodecs: Implement IWICPixelFormatInfo::GetFormatGUID.
This commit is contained in:
parent
0648e09f3c
commit
c8fea25a33
|
@ -1241,8 +1241,15 @@ static HRESULT WINAPI PixelFormatInfo_GetFriendlyName(IWICPixelFormatInfo2 *ifac
|
||||||
static HRESULT WINAPI PixelFormatInfo_GetFormatGUID(IWICPixelFormatInfo2 *iface,
|
static HRESULT WINAPI PixelFormatInfo_GetFormatGUID(IWICPixelFormatInfo2 *iface,
|
||||||
GUID *pFormat)
|
GUID *pFormat)
|
||||||
{
|
{
|
||||||
FIXME("(%p,%p): stub\n", iface, pFormat);
|
PixelFormatInfo *This = impl_from_IWICPixelFormatInfo2(iface);
|
||||||
return E_NOTIMPL;
|
TRACE("(%p,%p)\n", iface, pFormat);
|
||||||
|
|
||||||
|
if (!pFormat)
|
||||||
|
return E_INVALIDARG;
|
||||||
|
|
||||||
|
*pFormat = This->clsid;
|
||||||
|
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI PixelFormatInfo_GetColorContext(IWICPixelFormatInfo2 *iface,
|
static HRESULT WINAPI PixelFormatInfo_GetColorContext(IWICPixelFormatInfo2 *iface,
|
||||||
|
|
Loading…
Reference in New Issue