reactos/dll/cpl/input/layout_list.h
Katayama Hirofumi MZ 596f04be6b
[USER32][INPUT] Support various keyboard layouts (#4666)
- Fix IntLoadKeyboardLayout function to return the correct HKL value.
- Modify LAYOUT_LIST_NODE structure to add more information.
- Fix LayoutList_GetByHkl function to choose the IME HKLs correctly.
- Ignore DELETED entries correctly.
- Improve UI/UX.
CORE-11700, CORE-13244, CORE-18364
2022-09-16 08:09:37 +09:00

28 lines
570 B
C

#pragma once
#include "input.h"
typedef struct _LAYOUT_LIST_NODE
{
DWORD dwKLID; /* The physical KLID */
WORD wSpecialId; /* The special ID */
LPWSTR pszName; /* The layout text */
LPWSTR pszFile; /* The layout file */
LPWSTR pszImeFile; /* The IME file */
struct _LAYOUT_LIST_NODE *pPrev;
struct _LAYOUT_LIST_NODE *pNext;
} LAYOUT_LIST_NODE;
VOID
LayoutList_Create(VOID);
VOID
LayoutList_Destroy(VOID);
LAYOUT_LIST_NODE*
LayoutList_GetByHkl(HKL hkl);
LAYOUT_LIST_NODE*
LayoutList_GetFirst(VOID);