windowscodecs: Implement GetContainerFormat for more components.
This commit is contained in:
parent
41f9ca2abf
commit
5a45076d1d
|
@ -489,8 +489,8 @@ static HRESULT WINAPI BmpEncoder_Initialize(IWICBitmapEncoder *iface,
|
||||||
static HRESULT WINAPI BmpEncoder_GetContainerFormat(IWICBitmapEncoder *iface,
|
static HRESULT WINAPI BmpEncoder_GetContainerFormat(IWICBitmapEncoder *iface,
|
||||||
GUID *pguidContainerFormat)
|
GUID *pguidContainerFormat)
|
||||||
{
|
{
|
||||||
FIXME("(%p,%s): stub\n", iface, debugstr_guid(pguidContainerFormat));
|
memcpy(pguidContainerFormat, &GUID_ContainerFormatBmp, sizeof(GUID));
|
||||||
return E_NOTIMPL;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI BmpEncoder_GetEncoderInfo(IWICBitmapEncoder *iface,
|
static HRESULT WINAPI BmpEncoder_GetEncoderInfo(IWICBitmapEncoder *iface,
|
||||||
|
|
|
@ -527,8 +527,8 @@ end:
|
||||||
static HRESULT WINAPI IcoDecoder_GetContainerFormat(IWICBitmapDecoder *iface,
|
static HRESULT WINAPI IcoDecoder_GetContainerFormat(IWICBitmapDecoder *iface,
|
||||||
GUID *pguidContainerFormat)
|
GUID *pguidContainerFormat)
|
||||||
{
|
{
|
||||||
FIXME("(%p,%p): stub\n", iface, pguidContainerFormat);
|
memcpy(pguidContainerFormat, &GUID_ContainerFormatIco, sizeof(GUID));
|
||||||
return E_NOTIMPL;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IcoDecoder_GetDecoderInfo(IWICBitmapDecoder *iface,
|
static HRESULT WINAPI IcoDecoder_GetDecoderInfo(IWICBitmapDecoder *iface,
|
||||||
|
|
|
@ -1650,8 +1650,8 @@ exit:
|
||||||
static HRESULT WINAPI TiffEncoder_GetContainerFormat(IWICBitmapEncoder *iface,
|
static HRESULT WINAPI TiffEncoder_GetContainerFormat(IWICBitmapEncoder *iface,
|
||||||
GUID *pguidContainerFormat)
|
GUID *pguidContainerFormat)
|
||||||
{
|
{
|
||||||
FIXME("(%p,%s): stub\n", iface, debugstr_guid(pguidContainerFormat));
|
memcpy(pguidContainerFormat, &GUID_ContainerFormatTiff, sizeof(GUID));
|
||||||
return E_NOTIMPL;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI TiffEncoder_GetEncoderInfo(IWICBitmapEncoder *iface,
|
static HRESULT WINAPI TiffEncoder_GetEncoderInfo(IWICBitmapEncoder *iface,
|
||||||
|
|
Loading…
Reference in New Issue