Take the 2-minute tour ×

Could someone help me with receiving device's image that depends on it's status. It should look like in Device Manager:


I received pointer to system ImageList using SetupDiGetClassImageList and all its icons were received as well. After that I determine that ImageList contains device's icons and three last icons are status' icons:


Which way can I receive device's statuses for icons selected in screenshot?

How can I receive index for the status' icons? I suppose that I have to know GUI n order to receive index from SetupDiGetClassImageIndex

share|improve this question

Your Answer



Browse other questions tagged or ask your own question.