WMI Class for wireless mouse
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 connec开发者_开发知识库ted via USB. But I want to distinguish between these mouses.
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.
精彩评论