mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[WIN32K] - Implement SPI_GETDEFAULTINPUTLANG.
svn path=/trunk/; revision=54225
This commit is contained in:
parent
0d2b2baf4d
commit
5d67b60839
3 changed files with 8 additions and 3 deletions
|
@ -92,3 +92,6 @@ extern BYTE gafAsyncKeyState[256 * 2 / 8]; // 2 bits per key
|
|||
((ks)[GET_KS_BYTE(vk)] | GET_KS_LOCK_BIT(vk)) : \
|
||||
((ks)[GET_KS_BYTE(vk)] & ~GET_KS_LOCK_BIT(vk)))
|
||||
|
||||
|
||||
extern PKL gspklBaseLayout;
|
||||
|
||||
|
|
|
@ -353,7 +353,7 @@ NTAPI
|
|||
UserSetDefaultInputLang(HKL hKl)
|
||||
{
|
||||
PKL pKl;
|
||||
|
||||
|
||||
pKl = UserHklToKbl(hKl);
|
||||
if (!pKl)
|
||||
return FALSE;
|
||||
|
|
|
@ -1163,8 +1163,10 @@ SpiGetSet(UINT uiAction, UINT uiParam, PVOID pvParam, FLONG fl)
|
|||
break;
|
||||
|
||||
case SPI_GETDEFAULTINPUTLANG:
|
||||
ERR("SPI_GETDEFAULTINPUTLANG is unimplemented\n");
|
||||
break;
|
||||
if (!gspklBaseLayout)
|
||||
return FALSE;
|
||||
|
||||
return SpiGet(pvParam, &gspklBaseLayout->hkl, sizeof(HKL), fl);
|
||||
|
||||
case SPI_SETDEFAULTINPUTLANG:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue