SPI_SETLANGTOGGLE top-level constant
int
const SPI_SETLANGTOGGLE
Sets the hot key set for switching between input languages.
The uiParam and pvParam parameters are not used. The value sets the shortcut keys in the keyboard property sheets by reading the registry again. The registry must be set before this flag is used.
The path in the registry is HKEY_CURRENT_USER\Keyboard Layout\Toggle. Valid values are "1" = ALT+SHIFT, "2" = CTRL+SHIFT, and "3" = none.
Implementation
const SPI_SETLANGTOGGLE = 0x005B;