How To Get A List Of Available ASIO Devices

I have an instance of ASIOAudioIODevice and am calling getDeviceNames() to get the list of available ASIO drivers. How do I filter this list down to only the drivers that correspond to devices that are currently connected and available for use?

AFAIK the only way to find out whether a device is available is to try to open it and see what happens…