A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



joyGetDevCaps

The joyGetDevCaps function queries a joystick to determine its capabilities.

VB4-32,5,6
Declare Function joyGetDevCaps Lib "winmm.dll" Alias "joyGetDevCapsA" (ByVal id As Long, lpCaps As JOYCAPS, ByVal uSize As Long) As Long

Operating Systems Supported
Requires Windows NT 3.1 or later; Requires Windows 95 or later

Library
Winmm

Parameter Information
- 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:

Last update: 07 April 2006