BOOLEAN
SetupDiGetClassImageList(
OUT PSP_CLASSIMAGELIST_DATA ClassImageListData
);
SetupDiGetClassImageList builds an image list that contains bitmaps for every installed class and returns the list in a data structure.
The function returns TRUE if it is successful. Otherwise it returns FALSE and the logged error can be retrieved by a call to GetLastError.
The image list built by this function should be destroyed by calling SetupDiDestroyClassImageList.