joyConfigChanged

The joyConfigChanged function informs the joystick driver that the configuration has changed and should be reloaded from the registry.

MMRESULT joyConfigChanged(
  DWORD dwFlags
);

Parameters

dwFlags

Reserved for future use. Must equal zero.

Return Values

Returns JOYERR_NOERROR if successful. Returns JOYERR_PARMS if the parameter is non-zero.

Remarks

This function causes a window message to be sent to all top-level windows. This message may be defined by applications that need to respond to changes in joystick calibration by using RegisterWindowMessage with the following message ID:

#define JOY_CONFIGCHANGED_MSGSTRING     "MSJSTICK_VJOYD_MSGSTR"

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in dinput.h.
**  Library:** Use Winmm.lib.

See Also

Joysticks, Multimedia Joystick Functions