Moved GetKeyboardLayoutName16 to windows/input.c.

This commit is contained in:
Ulrich Weigand 1998-11-14 18:26:59 +00:00 committed by Alexandre Julliard
parent 56d52aa198
commit 8bf078bfc8
2 changed files with 11 additions and 11 deletions

View File

@ -718,12 +718,22 @@ UINT32 WINAPI GetKBCodePage32(void)
return GetKBCodePage16(); return GetKBCodePage16();
} }
/****************************************************************************
* GetKeyboardLayoutName16 (USER.477)
*/
INT16 WINAPI GetKeyboardLayoutName16(LPSTR pwszKLID)
{
return GetKeyboardLayoutName32A(pwszKLID);
}
/**************************************************************************** /****************************************************************************
* GetKeyboardLayoutName32A (USER32.252) * GetKeyboardLayoutName32A (USER32.252)
*/ */
INT32 WINAPI GetKeyboardLayoutName32A(LPSTR pwszKLID) INT32 WINAPI GetKeyboardLayoutName32A(LPSTR pwszKLID)
{ {
return GetKeyboardLayoutName16(pwszKLID); FIXME(keyboard,"always returns primary U.S. English layout\n");
strcpy(pwszKLID,"00000409");
return 1;
} }
/**************************************************************************** /****************************************************************************

View File

@ -714,16 +714,6 @@ INT16 WINAPI GetKBCodePage16(void)
return 850; return 850;
} }
/****************************************************************************
* GetKeyboardLayoutName16 (USER.477)
*/
INT16 WINAPI GetKeyboardLayoutName16(LPSTR pwszKLID)
{
FIXME(keyboard,"always returns primary U.S. English layout\n");
strcpy(pwszKLID,"00000409");
return 1;
}
/**************************************************************************** /****************************************************************************
* GetKeyNameText16 (KEYBOARD.133) * GetKeyNameText16 (KEYBOARD.133)
*/ */