无线鼠标的 WMI 类
用于获取无线鼠标信息的 WMI 类是什么?
编辑:如何区分 USB 鼠标和无线鼠标(通过 USB Doggle 连接)。 Win32_PointingDevice 类中的 DeviceInterface 值对于两者都显示为 162,因为两者都是通过 USB 连接的。但我想区分这些鼠标。
What is the WMI class to get information about Wireless mouse?
EDIT: How do I distinguish USB mouse from Wireless mouse(Connected via USB Doggle). DeviceInterface value from Win32_PointingDevice class shows as 162 for both because both are connected via USB. But I want to distinguish between these mouses.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只要注册为鼠标,就应该在 Win32_PointingDevice 类,位于 CIMV2 WMI 命名空间下。
获取免费的 Microsoft WMI 代码创建者工具用于浏览类及其属性,您还可以生成代码并在类上执行方法,这对于任何类型的 WMI 东西都非常有用。
As long as it is registered as a mouse, it should be in the Win32_PointingDevice class, which is under the CIMV2 WMI namespace.
Get the free Microsoft WMI Code Creator tool to browse the classes and their properties, you can also generate code and execute methods on the classes, really useful for any kind of WMI stuff.