summaryrefslogtreecommitdiff
path: root/libusb/os/windows_usb.h
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-01-14 01:44:36 +0000
committerPete Batard <pbatard@gmail.com>2010-01-14 01:44:36 +0000
commit6cc0e6afc4ee0f66ff355ec76bee4f1828118b6e (patch)
tree62cf8f5857278cc85aee310b4cbddef018a308ed /libusb/os/windows_usb.h
parent48c56e26825928679057563d154283405aa84764 (diff)
downloadlibusb-6cc0e6afc4ee0f66ff355ec76bee4f1828118b6e.tar.gz
svn r70 (last import from svn): - fixed the non retrieval of interface #0 on some specific conditions (PROPER)
Diffstat (limited to 'libusb/os/windows_usb.h')
-rw-r--r--libusb/os/windows_usb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libusb/os/windows_usb.h b/libusb/os/windows_usb.h
index 1452224..5da4b9a 100644
--- a/libusb/os/windows_usb.h
+++ b/libusb/os/windows_usb.h
@@ -65,6 +65,7 @@ void inline upperize(char* str) {
#define MAX_PATH_LENGTH 128
#define MAX_KEY_LENGTH 256
#define ERR_BUFFER_SIZE 256
+#define GUID_STRING_LENGTH 40
#define wchar_to_utf8_ms(wstr, str, strlen) WideCharToMultiByte(CP_UTF8, 0, wstr, -1, str, strlen, NULL, NULL)
#define ERRNO GetLastError()