Add the icon mask to the imagelist. The device manager icons now look correct
authorGed Murphy <gedmurphy@reactos.org>
Mon, 3 Sep 2007 15:40:24 +0000 (15:40 +0000)
committerGed Murphy <gedmurphy@reactos.org>
Mon, 3 Sep 2007 15:40:24 +0000 (15:40 +0000)
svn path=/trunk/; revision=28818

reactos/dll/win32/setupapi/devclass.c

index a640649..6cb2ed6 100644 (file)
@@ -1449,7 +1449,7 @@ SetupDiGetClassImageListExW(
 
         /* Prepare a HIMAGELIST */
         InitCommonControls();
-        ClassImageListData->ImageList = ImageList_Create(16, 16, ILC_COLOR32, 100, 10);
+        ClassImageListData->ImageList = ImageList_Create(16, 16, ILC_COLOR32 | ILC_MASK, 100, 10);
         if (!ClassImageListData->ImageList)
             goto cleanup;