Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: SetupAPI.DLL to HID.DLL
04-06-2010, 07:16 AM #1
- Join Date
- Apr 2010
- Thanked 0 Times in 0 Posts
SetupAPI.DLL to HID.DLL
With the SetupAPI.DLL I exicute
Function SetupDiGetClassDevs and get a pointer
Then Begin a loop
Then I run
Return = Function SetupDiEnumDeviceInterfaces with SP_DEVICE_INTERFACE_DATA.cbSize = 0 to get my size of what SP_DEVICE_INTERFACE_DATA needs to be
Then I set size and execute again
SP_DEVICE_INTERFACE_DATA.cbSize = return (the size)
From the data structures I get
And a heap of information from the registry if I want it I beleave
What Iím realy wanting is to access the HID.DLL and call
HidD_GetAttributes to get VendorID, ProductID, and VersionNumber
To this patiular device one at this time so I can ID the device.
I expect this paticular info would come from the USB device its self.
Can any one show me how to do that.
By the way in my verion of windows XP Iím using the registroy path, I cannot find
I do not even get HKEY_LOCAL_MACHINE\Enum\
P.S. The internet has no help and Lake View Research realty do not know what they are doing in my eyes. The code is all over the place.
Thanks in advance,
J Lex Dean