[5/10] [try 2] comctl32/tests: Add basic test for IImageList using SHGetImageList

Owen Rudge orudge at codeweavers.com
Tue Aug 11 11:35:22 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, and is skipped gracefully on XP.

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 |   62
+++++++++++++++++++++++++++++++++++++++
   1 files changed, 62 insertions(+), 0 deletions(-)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: a45efaf01014fd38a384549f566ec8cd6715cc2f.diff
Type: text/x-patch
Size: 2940 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090811/a533bf9b/attachment.bin>


More information about the wine-patches mailing list