It would if I was only working with HID but I also have to get the interface guid for USB, printers, etc... Seems like there should be a similar call for USB etc in the setupapi.dll but I can't find it if it exists...
>>Yes you are correct. It turns out that device class guids are stored in devguid.h and device interface guids are stored in ntddkbd.h
>
>I don't have the later one on my PC. Wouldn't be safer to use HidD_GetHidGuid to get it?
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"