Dmitry Timoshkov : comctl32: Add semi-stub for ImageList_WriteEx.
Alexandre Julliard
julliard at winehq.org
Fri Nov 19 15:45:33 CST 2021
Module: wine
Branch: master
Commit: c692c59c2e2f1a61352b7f1b55807e3b84bd98ed
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c692c59c2e2f1a61352b7f1b55807e3b84bd98ed
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Fri Nov 19 15:58:33 2021 +0300
comctl32: Add semi-stub for ImageList_WriteEx.
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/comctl32/comctl32.spec | 1 +
dlls/comctl32/imagelist.c | 8 ++++++++
include/commctrl.h | 3 ++-
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/dlls/comctl32/comctl32.spec b/dlls/comctl32/comctl32.spec
index e3b889b9bd3..73f25906205 100644
--- a/dlls/comctl32/comctl32.spec
+++ b/dlls/comctl32/comctl32.spec
@@ -188,6 +188,7 @@
@ stdcall ImageList_SetImageCount(ptr long)
@ stdcall ImageList_SetOverlayImage(ptr long long)
@ stdcall ImageList_Write(ptr ptr)
+@ stdcall ImageList_WriteEx(ptr long ptr)
@ stdcall InitCommonControlsEx(ptr)
@ stdcall InitMUILanguage(long)
@ stdcall InitializeFlatSB(long)
diff --git a/dlls/comctl32/imagelist.c b/dlls/comctl32/imagelist.c
index 307ccc0336c..8da8beec1e0 100644
--- a/dlls/comctl32/imagelist.c
+++ b/dlls/comctl32/imagelist.c
@@ -3058,6 +3058,14 @@ failed:
return result;
}
+/*************************************************************************
+ * ImageList_WriteEx [COMCTL32.@]
+ */
+BOOL WINAPI ImageList_WriteEx(HIMAGELIST himl, DWORD flags, IStream *pstm)
+{
+ FIXME("%p %08x %p: semi-stub\n", himl, flags, pstm);
+ return ImageList_Write(himl, pstm);
+}
/*************************************************************************
* ImageList_Write [COMCTL32.@]
diff --git a/include/commctrl.h b/include/commctrl.h
index 41abceb0138..025eb328c32 100644
--- a/include/commctrl.h
+++ b/include/commctrl.h
@@ -601,7 +601,8 @@ BOOL WINAPI ImageList_SetOverlayImage(HIMAGELIST,INT,INT);
#ifdef __IStream_INTERFACE_DEFINED__
HIMAGELIST WINAPI ImageList_Read(LPSTREAM);
-BOOL WINAPI ImageList_Write(HIMAGELIST, LPSTREAM);
+BOOL WINAPI ImageList_Write(HIMAGELIST,IStream*);
+BOOL WINAPI ImageList_WriteEx(HIMAGELIST,DWORD,IStream*);
#endif
#define ImageList_AddIcon(himl,hicon) ImageList_ReplaceIcon(himl,-1,hicon)
More information about the wine-cvs
mailing list