diff USBLib/Communication/IUsbDeviceRegistry.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 dcfec2be27c9
children
line wrap: on
line diff
--- a/USBLib/Communication/IUsbDeviceRegistry.cs	Sun Oct 13 18:43:45 2013 +0200
+++ b/USBLib/Communication/IUsbDeviceRegistry.cs	Sun Oct 13 20:03:05 2013 +0200
@@ -7,8 +7,8 @@
 namespace UCIS.USBLib.Communication {
 	public interface IUsbDeviceRegistry {
 		IDictionary<String, Object> DeviceProperties { get; }
-		Int32 Vid { get; }
-		Int32 Pid { get; }
+		UInt16 Vid { get; }
+		UInt16 Pid { get; }
 		Byte InterfaceID { get; }
 
 		String Name { get; } //Device product name (or null if not available)