如何提取打印机或设备图标
我试图弄清楚如何获取与已安装的打印机或设备关联的图标。例如,在 Windows 7 上,如果您转到“设备和打印机”对话框,您将看到打印机、鼠标、HDD、显示器等的列表。所有这些都分配有图标。我如何使用 C# 检索这些图标。如果我需要的话,P/Invoke 就可以了。
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?.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论