chrome/browser/system_monitor/portable_device_watcher_win.cc
// Returns the portable device plug and play device ID string.
Returns the portable device plug and play device ID string.
Returns the portable device plug and play device ID string .
string16 GetPnpDeviceId(LPARAM data) {
  DEV_BROADCAST_DEVICEINTERFACE* dev_interface =
      reinterpret_cast<DEV_BROADCAST_DEVICEINTERFACE*>(data);
  if (!dev_interface)
    return string16();
  string16 device_id(dev_interface->dbcc_name);
  DCHECK(IsStringASCII(device_id));
  return StringToLowerASCII(device_id);
}
string16 GetPnpDeviceId ( LPARAM data ) { DEV_BROADCAST_DEVICEINTERFACE * dev_interface = reinterpret_cast < DEV_BROADCAST_DEVICEINTERFACE * > ( data ) ; if ( ! dev_interface ) return string16 ( ) ; string16 device_id ( dev_interface -> dbcc_name ) ; DCHECK ( IsStringASCII ( device_id ) ) ; return StringToLowerASCII ( device_id ) ; }
Returns the portable device plug and play device ID string.
Returns the portable device plug and play device ID string .