joyConfigChanged function (joystickapi.h)

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

Syntax

MMRESULT joyConfigChanged(
  DWORD dwFlags
);

Parameters

dwFlags

Reserved for future use. Must equal zero.

Return value

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

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header joystickapi.h (include Dinput.h)
Library Winmm.lib
DLL Winmm.dll

See also

Joysticks

Multimedia Joystick Functions