libaltos: Use more SetupDi API to get Windows 7 listing devices
authorKeith Packard <keithp@keithp.com>
Fri, 6 Feb 2015 09:29:56 +0000 (01:29 -0800)
committerKeith Packard <keithp@keithp.com>
Fri, 6 Feb 2015 09:34:00 +0000 (01:34 -0800)
commit7a7d60d72e2e742fbc364489721f356806966c03
tree503e68c5b3035288d7e18be9af6a52cb29d7cf15
parent98db372758470cdaf7b517d670a7ce9186c787bc
libaltos: Use more SetupDi API to get Windows 7 listing devices

My Windows 7 box doesn't include 'SymbolicName' in the registry, but
SetupDiGetDeviceInstanceId *does* return something that includes
vid/pid/serial, so use that in preference.

Signed-off-by: Keith Packard <keithp@keithp.com>
libaltos/libaltos.c