Menu

Tree [82e027] master /
 History

HTTPS access


File Date Author Commit
 NativeUsbLib 2013-10-05 Rick Rigby Rick Rigby [82e027] Initial commit
 UsbEnumeration 2013-10-05 Rick Rigby Rick Rigby [82e027] Initial commit
 packages 2013-10-05 Rick Rigby Rick Rigby [82e027] Initial commit
 ReadMe.txt 2013-10-05 Rick Rigby Rick Rigby [82e027] Initial commit
 UsbEnumeration.sln 2013-10-05 Rick Rigby Rick Rigby [82e027] Initial commit

Read Me

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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.