https://git.reactos.org/?p=reactos.git;a=commitdiff;h=88f105e184b8b12394384…
commit 88f105e184b8b1239438441d001f1ad31f3ffefb
Author: Whindmar Saksit <whindsaks(a)proton.me>
AuthorDate: Tue Feb 18 13:24:51 2025 +0100
Commit: GitHub <noreply(a)github.com>
CommitDate: Tue Feb 18 13:24:51 2025 +0100
[GDIPLUS] Identify .ico codec format as ImageFormatIcon (#7714)
---
dll/win32/gdiplus/image.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dll/win32/gdiplus/image.c b/dll/win32/gdiplus/image.c
index e9fd781a1be..8240a41ad42 100644
--- a/dll/win32/gdiplus/image.c
+++ b/dll/win32/gdiplus/image.c
@@ -4969,7 +4969,11 @@ static const struct image_codec codecs[NUM_CODECS] = {
{
{ /* ICO */
/* Clsid */ { 0x557cf407, 0x1a04, 0x11d3, { 0x9a, 0x73, 0x0,
0x0, 0xf8, 0x1e, 0xf3, 0x2e } },
+#ifdef __REACTOS__
+ /* FormatID */ { 0xb96b3cb5U, 0x0728U, 0x11d3U, {0x9d, 0x7b, 0x00,
0x00, 0xf8, 0x1e, 0xf3, 0x2e} }, /* ImageFormatIcon */
+#else
/* FormatID */ { 0xb96b3cabU, 0x0728U, 0x11d3U, {0x9d, 0x7b, 0x00,
0x00, 0xf8, 0x1e, 0xf3, 0x2e} },
+#endif
/* CodecName */ ico_codecname,
/* DllName */ NULL,
/* FormatDescription */ ico_format,