JDD_GETDEVCAPS

JDD_GETDEVCAPS
lpJoycaps = (LPJOYCAPS) lParam1;
lsize = lParam2;
 

Fills a JOYCAPS structure with joystick capabilities information.

lpJoycaps
Address of the JOYCAPS structure to hold the joystick capabilities information.
lsize
Size, in bytes, of JOYCAPS referenced by lpJoycaps.

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.

See Also

JOYCAPS