Logo Ask the Experts!

Go Back Technology & Computer Troubleshooting Forums > Tech Support Archives > Microsoft > Microsoft Device Drivers

GetRawInputDeviceInfo() and Vendor ID

Microsoft Device Drivers

Thread Tools Display Modes
Unread 02-12-2007, 04:28 AM   #1
Posts: n/a
GetRawInputDeviceInfo() and Vendor ID

Hi All,

I have 2 USB keyboard and 2 USB mice connected to the system. All these
extra once are special keyboard and Mouse for my specific
application. From my application I need to distinguish these devices
from standard input devices in the system. I can differentiate my
devices by the Product and vendor ID.

So, I thought of using the raw input method and functions. But the
GetRawInputDeviceInfo() returns the type as RIM_TYPEKEYBOARD and
RIM_TYPEMOUSE, which don't have any Vendor or Product ID related
information. But the RIM_TYPEHID has this information. So

1) How do I find out the product ID and vendor ID for the type

2) Is there any other information other than RID_DEVICE_INFO_MOUSE ,and
RID_DEVICE_INFO_KEYBOARD, which tells this info

3)Any other API sets available to extract this information from User

Thanks in advance

Sponsored Links

Thread Tools
Display Modes

< Home - Windows Help - MS Office Help - Hardware Support >

New To Site? Need Help?

All times are GMT. The time now is 12:01 PM.

vBulletin, Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © 2005-2016, All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional