Add the icon mask to the imagelist. The device manager icons now look correct

svn path=/trunk/; revision=28818
This commit is contained in:
Ged Murphy 2007-09-03 15:40:24 +00:00
parent 55fd514cf3
commit e35de311ed

View 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;