commit | 6816bb40a3bf3e80eb7f86f4dd368f8be76667c5 | [log] [tgz] |
---|---|---|
author | a1exdandy <darkjedi.alex@yandex.ru> | Sun Feb 23 01:43:09 2020 +0300 |
committer | Chris Dickens <christopher.a.dickens@gmail.com> | Sat Feb 22 19:52:50 2020 -0800 |
tree | 3964474ba772e51cb46110c659214621fa6faaa9 | |
parent | 6e0028ccb07918fe10a3a77beb1bbd56d31d6d1e [diff] |
Windows: fix MAX_PATH_LENGTH The MAX_PATH_LENGTH in libusb Windows backend is used as size of dev_id buffer. This buffer used for retreiving Device Instance Id by SetupDiGetDeviceInstanceIdA function. Acording to Microsoft, Device Instance Id must be less than MAX_DEVICE_ID_LEN = 200. So, value of 128 maybe not enough. Closes #699 Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD and Haiku userspace. It is written in C (Haiku backend in C++) and licensed under the GNU Lesser General Public License version 2.1 or, at your option, any later version (see COPYING).
libusb is abstracted internally in such a way that it can hopefully be ported to other operating systems. Please see the PORTING file for more information.
libusb homepage: http://libusb.info/
Developers will wish to consult the API documentation: http://api.libusb.info
Use the mailing list for questions, comments, etc: http://mailing-list.libusb.info
(Please use the mailing list rather than mailing developers directly)