Reputation: 11
I want to access the hardware properties (e.g. the driver key) of the connected USB device. How to do that?
I am able to detect whether the USB device is connected to the port or not using the TComponentUSB class properties.
Upvotes: 1
Views: 527
Reputation: 11
You have to use SetupAPI functions. Recently, I had to detect Topaz USB Signature pads for a specific project using Reported Bus Description key and I achieved that using SetupAPI.
Check MSDN for documentation and JediVCL has some setupapi.pas unit that should help you. Some functions are not included in this unit though.
Upvotes: 1