Mercurial > hg > ucis.core
diff USBLib/Communication/VBoxUSB.cs @ 64:99ed461509fe
Fixed data type for USB vendor and product IDs
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Sun, 13 Oct 2013 20:03:05 +0200 |
parents | 3424fa5a12c9 |
children | 2d16447eff12 |
line wrap: on
line diff
--- a/USBLib/Communication/VBoxUSB.cs Sun Oct 13 18:43:45 2013 +0200 +++ b/USBLib/Communication/VBoxUSB.cs Sun Oct 13 20:03:05 2013 +0200 @@ -272,8 +272,8 @@ DevicePath = interfacepath; } - public int Vid { get { return DeviceDescriptor.VendorID; } } - public int Pid { get { return DeviceDescriptor.ProductID; } } + public UInt16 Vid { get { return DeviceDescriptor.VendorID; } } + public UInt16 Pid { get { return DeviceDescriptor.ProductID; } } public byte InterfaceID { get { return 0; } } public string Name { get { return DeviceNode.GetPropertyString(CMRDP.DEVICEDESC); } }