Not
Bu sayfaya erişim yetkilendirme gerektiriyor. Oturum açmayı veya dizinleri değiştirmeyi deneyebilirsiniz.
Bu sayfaya erişim yetkilendirme gerektiriyor. Dizinleri değiştirmeyi deneyebilirsiniz.
The joyGetNumDevs function queries the joystick driver for the number of joysticks it supports.
Syntax
UINT joyGetNumDevs();
Return value
The joyGetNumDevs function returns the number of joysticks supported by the current driver or zero if no driver is installed.
Remarks
Use the joyGetPos function to determine whether a given joystick is physically attached to the system. If the specified joystick is not connected, joyGetPos returns a JOYERR_UNPLUGGED error value.
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 |