comctl32: Implement ImageList_GetFlags

Dmitry Timoshkov dmitry at codeweavers.com
Tue Feb 13 02:25:02 CST 2007


Hello,

while working on an imagelist regression I noticed a not implemented
ImageList_GetFlags, it seems that it's easy enough to implement.

Changelog:
    comctl32: Implement ImageList_GetFlags.

---
 dlls/comctl32/imagelist.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/comctl32/imagelist.c b/dlls/comctl32/imagelist.c
index 972a84a..b24c4e7 100644
--- a/dlls/comctl32/imagelist.c
+++ b/dlls/comctl32/imagelist.c
@@ -1423,8 +1423,9 @@ ImageList_GetDragImage (POINT *ppt, POINT *pptHotspot)
 DWORD WINAPI
 ImageList_GetFlags(HIMAGELIST himl)
 {
-    FIXME("(%p):empty stub\n", himl);
-    return 0;
+    TRACE("%p\n", himl);
+
+    return is_valid(himl) ? himl->flags : 0;
 }
 
 
-- 
1.4.4.4






More information about the wine-patches mailing list