I am trying to figure out how to get the icon that is associated with an installed printer or device. For example, on Windows 7 if you goto the Devices and Printers dialog you will see a list of printers, mouses, HDDs, monitors, etc. All of these have icons assigned to them. How do I go about retrieving those icons using C#. P/Invoke is fine if I need to.
This is not duplicate of Can I get the icon associated with an installed printer through .Net?.