Getting the Printer Friendly name from the Device Center shell folder

If you are writing a context menu for the device center, you will probably need to get the “canonical” or “friendly” name of the printer or device that the user has right-clicked on. While your context menu extension gets passed a data object that should contain this information, it unfortunately doesn’t. However, here’s some code…

0