Mercurial > hg > ucis.core
comparison USBLib/Communication/LibUsb1/libusb1.cs @ 99:be17dd3f6927
Small fixes in HTTP server and libusb1 backend
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Sun, 17 Aug 2014 15:35:23 +0200 |
parents | 053cc617af54 |
children |
comparison
equal
deleted
inserted
replaced
98:c9bc014bdbe8 | 99:be17dd3f6927 |
---|---|
27 return true; | 27 return true; |
28 } | 28 } |
29 } | 29 } |
30 unsafe static class libusb1 { | 30 unsafe static class libusb1 { |
31 const CallingConvention LIBUSB1_CC = CallingConvention.Winapi; | 31 const CallingConvention LIBUSB1_CC = CallingConvention.Winapi; |
32 const String LIBUSB1_DLL = "libusb-1.0.dll"; | 32 const String LIBUSB1_DLL = "libusb-1.0"; |
33 | 33 |
34 [StructLayout(LayoutKind.Sequential, Pack = 1)] | 34 [StructLayout(LayoutKind.Sequential, Pack = 1)] |
35 public struct libusb_device_descriptor { | 35 public struct libusb_device_descriptor { |
36 public Byte bLength; | 36 public Byte bLength; |
37 public Byte bDescriptorType; | 37 public Byte bDescriptorType; |