windowscodecs: Implement GetContainerFormat for more components.

This commit is contained in:
Vincent Povirk 2011-07-27 15:54:07 -05:00 committed by Alexandre Julliard
parent 41f9ca2abf
commit 5a45076d1d
3 changed files with 6 additions and 6 deletions

View File

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

View File

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

View File

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