Mercurial > hg > ucis.core
comparison 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 |
comparison
equal
deleted
inserted
replaced
63:309c705d7460 | 64:99ed461509fe |
---|---|
270 DeviceNode = device; | 270 DeviceNode = device; |
271 DeviceID = device.DeviceID; | 271 DeviceID = device.DeviceID; |
272 DevicePath = interfacepath; | 272 DevicePath = interfacepath; |
273 } | 273 } |
274 | 274 |
275 public int Vid { get { return DeviceDescriptor.VendorID; } } | 275 public UInt16 Vid { get { return DeviceDescriptor.VendorID; } } |
276 public int Pid { get { return DeviceDescriptor.ProductID; } } | 276 public UInt16 Pid { get { return DeviceDescriptor.ProductID; } } |
277 public byte InterfaceID { get { return 0; } } | 277 public byte InterfaceID { get { return 0; } } |
278 | 278 |
279 public string Name { get { return DeviceNode.GetPropertyString(CMRDP.DEVICEDESC); } } | 279 public string Name { get { return DeviceNode.GetPropertyString(CMRDP.DEVICEDESC); } } |
280 public string Manufacturer { get { return DeviceNode.GetPropertyString(CMRDP.MFG); } } | 280 public string Manufacturer { get { return DeviceNode.GetPropertyString(CMRDP.MFG); } } |
281 public string FullName { | 281 public string FullName { |