From 5a45076d1dfc2b0a437226854b60096bf0f9e56f Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Wed, 27 Jul 2011 15:54:07 -0500 Subject: [PATCH] windowscodecs: Implement GetContainerFormat for more components. --- dlls/windowscodecs/bmpencode.c | 4 ++-- dlls/windowscodecs/icoformat.c | 4 ++-- dlls/windowscodecs/tiffformat.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dlls/windowscodecs/bmpencode.c b/dlls/windowscodecs/bmpencode.c index 69148af2a0b..d9931d6a269 100644 --- a/dlls/windowscodecs/bmpencode.c +++ b/dlls/windowscodecs/bmpencode.c @@ -489,8 +489,8 @@ static HRESULT WINAPI BmpEncoder_Initialize(IWICBitmapEncoder *iface, static HRESULT WINAPI BmpEncoder_GetContainerFormat(IWICBitmapEncoder *iface, GUID *pguidContainerFormat) { - FIXME("(%p,%s): stub\n", iface, debugstr_guid(pguidContainerFormat)); - return E_NOTIMPL; + memcpy(pguidContainerFormat, &GUID_ContainerFormatBmp, sizeof(GUID)); + return S_OK; } static HRESULT WINAPI BmpEncoder_GetEncoderInfo(IWICBitmapEncoder *iface, diff --git a/dlls/windowscodecs/icoformat.c b/dlls/windowscodecs/icoformat.c index b4abac5f335..a49683a9fd2 100644 --- a/dlls/windowscodecs/icoformat.c +++ b/dlls/windowscodecs/icoformat.c @@ -527,8 +527,8 @@ end: static HRESULT WINAPI IcoDecoder_GetContainerFormat(IWICBitmapDecoder *iface, GUID *pguidContainerFormat) { - FIXME("(%p,%p): stub\n", iface, pguidContainerFormat); - return E_NOTIMPL; + memcpy(pguidContainerFormat, &GUID_ContainerFormatIco, sizeof(GUID)); + return S_OK; } static HRESULT WINAPI IcoDecoder_GetDecoderInfo(IWICBitmapDecoder *iface, diff --git a/dlls/windowscodecs/tiffformat.c b/dlls/windowscodecs/tiffformat.c index 65de4ff0bf3..fb4f65c8e84 100644 --- a/dlls/windowscodecs/tiffformat.c +++ b/dlls/windowscodecs/tiffformat.c @@ -1650,8 +1650,8 @@ exit: static HRESULT WINAPI TiffEncoder_GetContainerFormat(IWICBitmapEncoder *iface, GUID *pguidContainerFormat) { - FIXME("(%p,%s): stub\n", iface, debugstr_guid(pguidContainerFormat)); - return E_NOTIMPL; + memcpy(pguidContainerFormat, &GUID_ContainerFormatTiff, sizeof(GUID)); + return S_OK; } static HRESULT WINAPI TiffEncoder_GetEncoderInfo(IWICBitmapEncoder *iface,