windows - Identifying consistently physical usb slots where devices are plugged in -
i have applicattion in windows 7 uses 2 usb handsets plugged specific physical external usb slots in pc (eg: left side usb slot , right-side usb slot in tablet).
the application needs handle differently handsets, based on physical external usb slots plugged in. far have got find location info via setupdigetdeviceregistryproperty() parameter spdrp_location_information.
that gives me string "port_#0004_hub_#0006" can manually , inspection associate external physical usb slots given hardware system. isn't reliable , persistent, since varies many things windows version installed, variability between units of same model of pc, etc.
is there consistent procedure of identification : 1. stable across restarts of scheme 3. stable across installations of new devices, windows or drivers updates, or reinstallations of windows. 2. stable across plugging of additional usb hubs 4. stable across different units of same computer model
i have been warned knowledgeable guys unachievable, still hope improve luck!
many help.
windows usb device slots
No comments:
Post a Comment