[Platform] DeviceCollection hardware id is long
[Win] Do not change device index when replugging