The MMSYSTEM.H file defines new data types and function prototypes for joystick functions. MMSYSTEM.H defines the following new data types:
JOYCAPS
A data structure that contains joystick capability information.
JOYINFO
A data structure that contains joystick position and button information.