Mercurial > hg > ucis.core
comparison USBLib/Windows/Devices/DeviceNode.cs @ 63:309c705d7460
Updates and cleanup in Windows USB enumeration code
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Sun, 13 Oct 2013 18:43:45 +0200 |
parents | d4778c3232ad |
children | 9096f62d18c4 |
comparison
equal
deleted
inserted
replaced
62:edc41c861d96 | 63:309c705d7460 |
---|---|
242 public String FriendlyName { get { return GetPropertyString(CMRDP.FRIENDLYNAME); } } | 242 public String FriendlyName { get { return GetPropertyString(CMRDP.FRIENDLYNAME); } } |
243 public String LocationInformation { get { return GetPropertyString(CMRDP.LOCATION_INFORMATION); } } | 243 public String LocationInformation { get { return GetPropertyString(CMRDP.LOCATION_INFORMATION); } } |
244 public String PhysicalDeviceObjectName { get { return GetPropertyString(CMRDP.PHYSICAL_DEVICE_OBJECT_NAME); } } | 244 public String PhysicalDeviceObjectName { get { return GetPropertyString(CMRDP.PHYSICAL_DEVICE_OBJECT_NAME); } } |
245 public Guid? BusTypeGuid { get { return SetupApi.GetAsGuid(GetProperty(CMRDP.BUSTYPEGUID)); } } | 245 public Guid? BusTypeGuid { get { return SetupApi.GetAsGuid(GetProperty(CMRDP.BUSTYPEGUID)); } } |
246 public Int32? BusNumber { get { return SetupApi.GetAsInt32(GetProperty(CMRDP.BUSNUMBER)); } } | 246 public Int32? BusNumber { get { return SetupApi.GetAsInt32(GetProperty(CMRDP.BUSNUMBER)); } } |
247 public Int32? Address { get { return SetupApi.GetAsInt32(GetProperty(CMRDP.ADDRESS)); } } | |
247 public String EnumeratorName { get { return GetPropertyString(CMRDP.ENUMERATOR_NAME); } } | 248 public String EnumeratorName { get { return GetPropertyString(CMRDP.ENUMERATOR_NAME); } } |
248 | 249 |
249 public String[] GetInterfaces(String classGuid) { | 250 public String[] GetInterfaces(String classGuid) { |
250 return GetInterfaces(new Guid(classGuid)); | 251 return GetInterfaces(new Guid(classGuid)); |
251 } | 252 } |