user32: Rename GetKeyboardLayout param; it's a thread ID, not a layout.

This commit is contained in:
Ken Thomases 2011-02-09 22:41:34 -06:00 committed by Alexandre Julliard
parent cbbb4b8dbf
commit 9cb4c21f1a
2 changed files with 5 additions and 5 deletions

View File

@ -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 )

View File

@ -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);
} }
/**************************************************************************** /****************************************************************************