mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 22:00:55 +00:00
596f04be6b
- 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
27 lines
570 B
C
27 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);
|