The JDD_GETNUMDEVS message requests the number of devices supported by the joystick driver.
Parameters
LPARAM lParam1
Not used.
LPARAM lParam2
Not used.
Return Value
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.