The joyGetDevCaps function queries a joystick to determine its capabilities.
Returns JOYERR_NOERROR if successful or one of the following error values:
MMSYSERR_NODRIVER - The joystick driver is not present. Windows NT/2000/XP: The specified joystick identifier is invalid. MMSYSERR_INVALPARAM - An invalid parameter was passed. Windows 95/98/Me: The specified joystick identifier is invalid.
Use the joyGetNumDevs function to determine the number of joystick devices supported by the driver.
Windows NT/2000/XP: This method fails when passed an invalid value for the cbjc parameter. Windows 95/98/Me: This method succeeds when passed an invalid value for the cbjc parameter.
Winmm Class | Tao.Platform.Windows Namespace | Winmm.JOYCAPS | joyGetNumDevs