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
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