The joyReleaseCapture function releases the specified captured joystick.
Returns JOYERR_NOERROR if successful or one of the following error values.
MMSYSERR_NODRIVER - The joystick driver is not present. MMSYSERR_INVALPARAM - Windows 95/98/Me: The specified joystick device identifier uJoyID is invalid. Windows NT/2000/XP: The specified joystick identifier is valid, but the joystick has not been captured. JOYERR_PARMS - Windows NT/2000/XP: The specified joystick device identifier uJoyID is invalid.
Windows 95/98/Me: This method returns JOYERR_NOERROR when passed a valid joystick identifier that has not been captured.
Winmm Class | Tao.Platform.Windows Namespace