Name | Modified | Size | Downloads / Week |
---|---|---|---|
UsbEnumerationProject | 2013-10-05 | ||
ReadMe.txt | 2013-10-05 | 1.1 kB | |
USB Enumeration Project.zip | 2013-10-05 | 3.4 MB | |
Totals: 3 Items | 3.4 MB | 0 |
04-Oct-2013 Rick Rigby rmrigby@gmail.com USB enumeration project based on "C# UsbViewer" SourceForge project by Nick Vetter That project is licensed under the Lesser Gnu Public License, version 2.1 This project is available free from any additional restrictions whatsoever. No user interface in this project, enhancements were added to access usb hub and port number, and the USB and HID DevicePath parameter suitable for use with CreateFile() to access your USB device. Beware:Calling RefreshTree() to enumerate the USB will close any open USB devices. This behavior is the same as the Microsoft C++ UsbViewer program. RefreshTree() will enumerate the USB and call the Action<> routine if the specified VID and list of PID's are found. The Action<> routine will be called for the specific USB DevicePath passed in. This is intended to work with the WM_DEVICECHANGE message, which gives the DevicePath of any USB device plugged in. You have to cast the WM_DEVICECHANGE args to certain structs to get at the DevicePath.