If the function cannot retrieve a device-specific icon, it will then attempt to retrieve the class icon for the device. For information about class icons, seeSetupDiLoadClassIcon. If the function cannot retrieve the class icon for the device, it will then attempt to retrieve the icon for th...
If the LargeIcon parameter is specified, but the ClassGuid parameter does not supply a valid class GUID or the Icon registry value of the class is not valid, SetupDiLoadClassIcon loads the default large icon, returns the handle for the large icon, and, if the MiniIconIndex parameter is ...