JDD_GETDEVCAPS
lpJoycaps = (LPJOYCAPS) lParam1;
lsize = lParam2;
Fills a JOYCAPS structure with joystick capabilities information.
Compare the structure size value in lsize with the size of the JOYCAPS structure with which the driver was compiled. If lsize is larger than the expected structure size, fill the remaining data with zeros.
If lsize is 0, MMSYSERR_NOERROR is returned without updating the JOYCAPS structure.
JOYCAPS