The JDD_GETNUMDEVS message requests the number of devices supported by the joystick driver.
JDD_GETNUMDEVS returns the maximum number of devices supported by the driver. This value might not match the number of physical devices actually connected to the computer.