Index   Commented   Search   About

joyGetDevCaps

The joyGetDevCaps function queries a joystick to determine its capabilities.

MMRESULT joyGetDevCaps(

UINT uJoyID,

LPJOYCAPS pjc,

UINT cbjc

);

Parameters

uJoyID

Identifier of the joystick (JOYSTICKID1 or JOYSTICKID2) to be queried.

pjc

Address of a JOYCAPS structure to contain the capabilities of the joystick.

cbjc

Size, in bytes, of the JOYCAPS structure.

Return Values

Returns JOYERR_NOERROR if successful or one of the following error values:

Remarks

Use the joyGetNumDevs function to determine the number of joystick devices supported by the driver.

MMSYSERR_NODRIVER
The joystick driver is not present.
MMSYSERR_INVALPARAM
An invalid parameter was passed.

See Also

JOYCAPS
, joyGetNumDevs

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
TMS Scripter Studio Pro components for Delphi/C++Builder

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

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun