[5/6] comctl32/tests: Add basic test for IImageList using SHGetImageList

Owen Rudge orudge at codeweavers.com
Mon Aug 10 12:21:00 CDT 2009


This patch adds a basic test for the IImageList interface that uses the
system image list, returned by SHGetImageList. At present, the required
Wine functionally is not implemented, but this test passes for me on
Windows Vista.

Further tests will be added, but before Windows Vista, it does not
appear to be actually possible to create an IImageList directly (there
is no way of initialising it; the IImageList2 interface and its
Initialize function were added in Vista), so it is simplest to use the
system image list for tests with IImageList.

---
   dlls/comctl32/tests/imagelist.c |   64
+++++++++++++++++++++++++++++++++++++++
   1 files changed, 64 insertions(+), 0 deletions(-)

-- 
Owen Rudge
orudge at codeweavers.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ee58ad522e9950d0898f2431f24ef39df9bf36be.diff
Type: text/x-patch
Size: 2971 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090810/0864eb9a/attachment.bin>


More information about the wine-patches mailing list