Closed as not planned
Description
Typically calls to EnumerateDevices
which calls _DirectInput->EnumDevices
take about 85ms on average on my system.
Sometimes, this is orders of magnitude larger taking in the range of minutes instead of milliseconds.
This is due to device drivers on the system, in my case a Corsair K70 Keyboard, hanging and not replying to Window's request to query attached devices.
The issue has already been discussed on StackOverflow: https://stackoverflow.com/q/10967795