user32: Rename GetKeyboardLayout param; it's a thread ID, not a layout.
This commit is contained in:
parent
cbbb4b8dbf
commit
9cb4c21f1a
|
@ -176,7 +176,7 @@ static INT CDECL nulldrv_GetKeyNameText( LONG lparam, LPWSTR buffer, INT size )
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HKL CDECL nulldrv_GetKeyboardLayout( DWORD layout )
|
static HKL CDECL nulldrv_GetKeyboardLayout( DWORD thread_id )
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -529,9 +529,9 @@ static INT CDECL loaderdrv_GetKeyNameText( LONG lparam, LPWSTR buffer, INT size
|
||||||
return load_driver()->pGetKeyNameText( lparam, buffer, size );
|
return load_driver()->pGetKeyNameText( lparam, buffer, size );
|
||||||
}
|
}
|
||||||
|
|
||||||
static HKL CDECL loaderdrv_GetKeyboardLayout( DWORD layout )
|
static HKL CDECL loaderdrv_GetKeyboardLayout( DWORD thread_id )
|
||||||
{
|
{
|
||||||
return load_driver()->pGetKeyboardLayout( layout );
|
return load_driver()->pGetKeyboardLayout( thread_id );
|
||||||
}
|
}
|
||||||
|
|
||||||
static BOOL CDECL loaderdrv_GetKeyboardLayoutName( LPWSTR name )
|
static BOOL CDECL loaderdrv_GetKeyboardLayoutName( LPWSTR name )
|
||||||
|
|
|
@ -688,9 +688,9 @@ UINT WINAPI GetKBCodePage(void)
|
||||||
* the language id. This is the way Windows default works.
|
* the language id. This is the way Windows default works.
|
||||||
* - the thread identifier (dwLayout) is also ignored.
|
* - the thread identifier (dwLayout) is also ignored.
|
||||||
*/
|
*/
|
||||||
HKL WINAPI GetKeyboardLayout(DWORD dwLayout)
|
HKL WINAPI GetKeyboardLayout(DWORD thread_id)
|
||||||
{
|
{
|
||||||
return USER_Driver->pGetKeyboardLayout(dwLayout);
|
return USER_Driver->pGetKeyboardLayout(thread_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|
Loading…
Reference in New Issue