|
joyGetNumDevs
The joyGetNumDevs function queries the joystick driver for the number of joysticks it supports.
UINT joyGetNumDevs(VOID);
Parameters
This function takes no parameters.
Return Values
Returns the number of joysticks supported by the joystick driver or zero if no
driver is present.
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.
See Also
joyGetPos
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|