[win32] PeripheralBusUSB::PerformDeviceScan: rename parameter for clarity
[win32] PeripheralBusUSB: declare constant values as "const"
Values not supposed to be changed is better to declare as "const" to allow compiler optimize better.
[win32] PeripheralBusUSB::PerformDeviceScan: check for real memory allocation
[win32] PeripheralBusUSB::PerformDeviceScan: add check for presence of PID and VID
[win32] PeripheralBusUSB::PerformDeviceScan: Cosmetics
[win32] PeripheralBusUSB::PerformDeviceScan: optimization
[win32] PeripheralBusUSB::PerformDeviceScan: skip device on error and get rest of the devices; plus small optimization
[win32] PeripheralBusUSB::PerformDeviceScan: Allow reuse of buffer
instead of multiple frees/mallocs
[win32] PeripheralBusUSB::PerformDeviceScan: add fast detection of HID devices
[win32] PeripheralBusUSB::PerformDeviceScan: use function designed for device ID extraction
Merge pull request #1187 from Karlson2k/Win32_Fix_UsbScan

[win32] Some fixes for usb scan