Something went wrong. Try again.
Reactos
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677#pragma once
#include "input.h"#include "locale_list.h"#include "layout_list.h"
/* * INPUT_LIST_NODE_FLAG_EDITED * --- The modification flag. Since previous time, this entry is modified. */#define INPUT_LIST_NODE_FLAG_EDITED 0x0001
/* * INPUT_LIST_NODE_FLAG_ADDED * --- The addition flag. Since previous time, this entry is newly added. */#define INPUT_LIST_NODE_FLAG_ADDED 0x0002
/* * INPUT_LIST_NODE_FLAG_DELETED * --- The deletion flag. * The application should ignore the entry with this flag if necessary. */#define INPUT_LIST_NODE_FLAG_DELETED 0x0004
/* * INPUT_LIST_NODE_FLAG_DEFAULT * --- The default flag. The entry with this flag should be single in the list. */#define INPUT_LIST_NODE_FLAG_DEFAULT 0x0008
typedef struct _INPUT_LIST_NODE{ WORD wFlags;
LOCALE_LIST_NODE *pLocale; LAYOUT_LIST_NODE *pLayout;
HKL hkl; /* Only for loaded input methods */
LPWSTR pszIndicator;
struct _INPUT_LIST_NODE *pPrev; struct _INPUT_LIST_NODE *pNext;} INPUT_LIST_NODE;
VOIDInputList_Create(VOID);
BOOLInputList_Process(VOID);
BOOLInputList_Add(LOCALE_LIST_NODE *pLocale, LAYOUT_LIST_NODE *pLayout);
VOIDInputList_SetDefault(INPUT_LIST_NODE *pNode);
INTInputList_GetAliveCount(VOID);
BOOLInputList_Remove(INPUT_LIST_NODE *pNode);
BOOLInputList_RemoveByLang(LANGID wLangId);
VOIDInputList_Sort(VOID);
VOIDInputList_Destroy(VOID);
INPUT_LIST_NODE*InputList_GetFirst(VOID);