WORD joyReleaseCapture(wId)
This function releases the capture set by joySetCapture on the specified joystick device.
WORD wId
Identifies the joystick device to be released. This value is either JOYSTICKID1 or JOYSTICK2.
Returns JOYERR_NOERROR if successful. Otherwise, returns one of the following error codes:
MMSYSERR_NODRIVER
The joystick driver is not present.
JOYERR_PARMS
The specified joystick device ID wId is invalid.
joySetCapture