[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
[win32] PeripheralBusUSB::PerformDeviceScan: move variable declarations to limit scope
[win32] PeripheralBusUSB::PerformDeviceScan: refactoring
[win32] PeripheralBusUSB::PerformDeviceScan: fix indentations