Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
The joyReleaseCapture function releases the specified captured joystick.
Syntax
MMRESULT joyReleaseCapture(
UINT uJoyID
);
Parameters
uJoyID
Identifier of the joystick to be released. Valid values for uJoyID range from zero (JOYSTICKID1) to 15.
Return value
Returns JOYERR_NOERROR if successful or one of the following error values.
Return code | Description |
---|---|
|
The joystick driver is not present. |
|
The specified joystick device identifier uJoyID is invalid. |
|
The specified joystick device identifier uJoyID is invalid. |
Remarks
This method returns JOYERR_NOERROR when passed a valid joystick identifier that has not been captured.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | joystickapi.h (include Windows.h) |
Library | Winmm.lib |
DLL | Winmm.dll |