#include "precomp.h"
Go to the source code of this file.
Defines | |
#define | LockConsoleTable() RtlEnterCriticalSection(&ConsoleTableLock) |
#define | UnlockConsoleTable() RtlLeaveCriticalSection(&ConsoleTableLock) |
#define | InputExceptionFilter(pexi) EXCEPTION_EXECUTE_HANDLER |
Functions | |
int APIENTRY | WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) |
BOOL | InitConsoleIME (HINSTANCE hInstance) |
LRESULT FAR PASCAL | WndProc (HWND hWnd, UINT Message, WPARAM wParam, LPARAM lParam) |
VOID | ExitList (HWND hWnd) |
BOOL | InsertConsole (HWND hWnd, HANDLE hConsole, HWND hWndConsole) |
BOOL | GrowConsoleTable (VOID) |
PCONSOLE_TABLE | SearchConsole (HANDLE hConsole) |
BOOL | RemoveConsole (HWND hwnd, HANDLE hConsole) |
BOOL | RemoveConsoleWorker (HWND hwnd, PCONSOLE_TABLE ConTbl) |
BOOL | InsertNewConsole (HWND hWnd, HANDLE hConsole, HWND hWndConsole) |
BOOL | ConsoleSetFocus (HWND hWnd, HANDLE hConsole, HKL hKL) |
BOOL | ConsoleKillFocus (HWND hWnd, HANDLE hConsole) |
BOOL | ConsoleScreenBufferSize (HWND hWnd, HANDLE hConsole, COORD ScreenBufferSize) |
BOOL | ConImeInputLangchangeRequest (HWND hWnd, HANDLE hConsole, HKL hkl, int Direction) |
BOOL | ConImeInputLangchange (HWND hWnd, HANDLE hConsole, HKL hkl) |
BOOL | InputLangchange (HWND hWnd, DWORD CharSet, HKL hkl) |
LRESULT | ConsoleImeSendMessage (HWND hWndConsoleIME, WPARAM wParam, LPARAM lParam) |
Variables | |
HANDLE | LastConsole |
HIMC | ghDefaultIMC |
PCONSOLE_TABLE * | ConsoleTable |
ULONG | NumberOfConsoleTable |
CRITICAL_SECTION | ConsoleTableLock |
BOOL | gfDoNotKillFocus |
DWORD | dwConsoleThreadId |
|
Definition at line 56 of file ntcon/conime/conime.c. Referenced by ConsoleInputThread(), WinMain(), and WndProc(). |
|
Definition at line 33 of file ntcon/conime/conime.c. Referenced by ExitList(), InsertNewConsole(), RemoveConsole(), SearchConsole(), and WndProc(). |
|
Definition at line 34 of file ntcon/conime/conime.c. Referenced by ExitList(), InsertNewConsole(), RemoveConsole(), SearchConsole(), and WndProc(). |
|
Definition at line 1094 of file ntcon/conime/conime.c. References ActivateKeyboardLayout, ASSERT, CI_CONIMEMODEINFO, CONIME_UIMODEINFO, ConsoleImeSendMessage(), DBGPRINT, _HKL_TABLE::dwConversion, _CONSOLE_TABLE::dwConversion, FALSE, _CONSOLE_TABLE::fOpen, GetIMEName(), _HKL_TABLE::hkl, HKL_TABLE, HKL_TABLE_INCREMENT, _CONSOLE_TABLE::hklActive, _CONSOLE_TABLE::hklListMax, hWnd, _CONSOLE_TABLE::hWndCon, IME_CMODE_OPEN, ImeUIMakeInfoString(), ImeUIOpenStatusWindow(), _CONSOLE_TABLE::ImmGetProperty, ImmGetProperty(), INT, IS_IME_KBDLAYOUT, LastConsole, LPCONIME_UIMODEINFO, _CONSOLE_TABLE::lphklList, _CONIME_UIMODEINFO::ModeStringLen, NULL, _CONIME_UIMODEINFO::Position, SearchConsole(), SetNLSMode(), TRUE, and VIEW_RIGHT. Referenced by WndProc().
|
|
Definition at line 1000 of file ntcon/conime/conime.c. References CM_CONIME_KL_ACTIVATE, CONIME_DIRECT, _CONSOLE_TABLE::ConsoleOutputCP, DBGPRINT, DWORD, FALSE, HKL_TO_LANGID, _CONSOLE_TABLE::hklActive, _CONSOLE_TABLE::hWndCon, IS_IME_KBDLAYOUT, JAPAN_CODEPAGE, KOREA_CODEPAGE, LANG_ID_JAPAN, LANG_ID_KOREA, LANG_ID_PRC, LANG_ID_TAIWAN, NULL, PostMessage(), PRC_CODEPAGE, SearchConsole(), TAIWAN_CODEPAGE, and TRUE. Referenced by WndProc().
|
|
Definition at line 1227 of file ntcon/conime/conime.c. References CONIME_SENDMSG_TIMEOUT, FALSE, NULL, SendMessageTimeout(), and TRUE. Referenced by CloseCandidateJapan(), CloseCandidateKorea(), CloseCandidatePRC(), CloseCandidateTaiwan(), ConImeInputLangchange(), GetCompStrJapan(), GetCompStrKorea(), GetCompStrPRC(), GetCompStrTaiwan(), ImeSysPropertyWindow(), ImeUIGuideLine(), ImeUIOpenStatusWindow(), ImeUISetConversionMode(), ImeUISetOpenStatus(), OpenCandidateJapan(), OpenCandidateKorea(), OpenCandidatePRC(), OpenCandidateTaiwan(), ReDisplayCompStrJapan(), ReDisplayCompStrKorea(), ReDisplayCompStrPRC(), and ReDisplayCompStrTaiwan().
|
|
Definition at line 950 of file ntcon/conime/conime.c. References DBGPRINT, FALSE, gfDoNotKillFocus, ghDefaultIMC, hWnd, ImmAssociateContext(), ImmSetActiveContextConsoleIME(), NULL, SearchConsole(), and TRUE. Referenced by WndProc().
|
|
Definition at line 981 of file ntcon/conime/conime.c. References DBGPRINT, FALSE, NULL, _CONSOLE_TABLE::ScreenBufferSize, SearchConsole(), and TRUE. Referenced by WndProc().
|
|
Definition at line 903 of file ntcon/conime/conime.c. References ActivateKeyboardLayout, DBGPRINT, FALSE, GetIMEName(), gfDoNotKillFocus, _CONSOLE_TABLE::hIMC_Current, _CONSOLE_TABLE::hklActive, hWnd, ImeUISetOpenStatus(), ImmAssociateContext(), _CONSOLE_TABLE::ImmGetProperty, ImmGetProperty(), ImmSetActiveContextConsoleIME(), LastConsole, _CONSOLE_TABLE::lpCompStrMem, NULL, ReDisplayCompositionStr(), SearchConsole(), and TRUE. Referenced by WndProc().
|
|
Definition at line 611 of file ntcon/conime/conime.c. References _CONSOLE_TABLE::CandListMemAllocSize, _CONSOLE_TABLE::CandSep, _CONSOLE_TABLE::CandSepAllocSize, ConsoleTable, DBGPRINT, dwConsoleThreadId, _CONSOLE_TABLE::Enable, FALSE, ghDefaultIMC, _CONSOLE_TABLE::hConsole, _CONSOLE_TABLE::hIMC_Original, hWnd, ImmAssociateContext(), ImmDestroyContext(), _CONSOLE_TABLE::LateRemove, LockConsoleTable, _CONSOLE_TABLE::lpCandListMem, _CONSOLE_TABLE::lpCompStrMem, MAX_LISTCAND, NULL, NumberOfConsoleTable, TRUE, and UnlockConsoleTable. Referenced by WndProc().
|
|
Definition at line 742 of file ntcon/conime/conime.c. References CONSOLE_CONSOLE_TABLE_INCREMENT, ConsoleTable, FALSE, NULL, NumberOfConsoleTable, PCONSOLE_TABLE, and TRUE. Referenced by InsertConsole().
|
|
Definition at line 109 of file ntcon/conime/conime.c. References CONSOLE_INITIAL_TABLE, CONSOLEIME_EVENT, ConsoleTable, ConsoleTableLock, CVMAX, DBGPRINT, DestroyWindow, dwConsoleThreadId, ErrorExit(), FALSE, GetSystemMetrics(), hWnd, ID_CONSOLEIME_ICON, IDS_APPNAME, IDS_CLASSNAME, IDS_MENUNAME, IDS_TITLE, L, LPVOID, NULL, NumberOfConsoleTable, PCONSOLE_TABLE, RegisterClass, RtlInitializeCriticalSection(), SetWindowText(), ShowWindow, szTitle, TRUE, UNICODE_SPACE, UnregisterClass(), UpdateWindow(), and WndProc(). Referenced by WinMain().
|
|
Definition at line 1202 of file ntcon/conime/conime.c. References ActivateKeyboardLayout, DBGPRINT, FALSE, GetIMEName(), _CONSOLE_TABLE::hklActive, hWnd, ImeUIOpenStatusWindow(), LastConsole, NULL, SearchConsole(), and TRUE. Referenced by WndProc().
|
|
Definition at line 664 of file ntcon/conime/conime.c. References _CONSOLE_TABLE::CompAttrColor, CONSOLE_TABLE, ConsoleTable, DBGPRINT, DEFAULT_COMP_ALREADY_CONVERTED, DEFAULT_COMP_CONVERSION, DEFAULT_COMP_ENTERED, DEFAULT_COMP_INPUT_ERROR, DEFAULT_COMP_YET_CONVERTED, DEFAULT_TEMP_WIDTH, _CONSOLE_TABLE::Enable, FALSE, GetIMEName(), GrowConsoleTable(), _CONSOLE_TABLE::hConsole, _CONSOLE_TABLE::hIMC_Current, _CONSOLE_TABLE::hIMC_Original, HKL_INITIAL_TABLE, HKL_TABLE, _CONSOLE_TABLE::hklListMax, hWnd, _CONSOLE_TABLE::hWndCon, ImmCreateContext(), _CONSOLE_TABLE::LateRemove, _CONSOLE_TABLE::lphklList, NULL, NumberOfConsoleTable, RemoveConsoleWorker(), _CONSOLE_TABLE::ScreenBufferSize, and TRUE. Referenced by InsertNewConsole().
|
|
Definition at line 869 of file ntcon/conime/conime.c. References FALSE, hWnd, ImeUISetOpenStatus(), InsertConsole(), LockConsoleTable, NULL, SearchConsole(), TRUE, and UnlockConsoleTable. Referenced by WndProc().
|
|
Definition at line 801 of file ntcon/conime/conime.c.
|
|
Definition at line 824 of file ntcon/conime/conime.c. References _CONSOLE_TABLE::CandSep, _CONSOLE_TABLE::ConsoleCP, _CONSOLE_TABLE::ConsoleOutputCP, DWORD, _CONSOLE_TABLE::Enable, FALSE, _CONSOLE_TABLE::hConsole, _CONSOLE_TABLE::hIMC_Original, _CONSOLE_TABLE::hklActive, ImmDestroyContext(), _CONSOLE_TABLE::LateRemove, _CONSOLE_TABLE::lpCandListMem, _CONSOLE_TABLE::lpCompStrMem, _CONSOLE_TABLE::lphklList, MAX_LISTCAND, NULL, _CONSOLE_TABLE::ScreenBufferSize, and TRUE. Referenced by InsertConsole(), and RemoveConsole().
|
|
|
Definition at line 62 of file ntcon/conime/conime.c.
|
|
Definition at line 288 of file ntcon/conime/conime.c. Referenced by InitConsoleIME(), and InitializeInstance().
|
|
Definition at line 29 of file ntcon/conime/conime.c. Referenced by ExitList(), GrowConsoleTable(), InitConsoleIME(), InsertConsole(), SearchConsole(), and WndProc(). |
|
Definition at line 32 of file ntcon/conime/conime.c. Referenced by InitConsoleIME(). |
|
Definition at line 40 of file ntcon/conime/conime.c. Referenced by AllocateConsole(), ExitList(), InitConsoleIME(), WinMain(), and WndProc(). |
|
Definition at line 37 of file ntcon/conime/conime.c. Referenced by ConsoleKillFocus(), ConsoleSetFocus(), and WndProc(). |
|
Definition at line 27 of file ntcon/conime/conime.c. Referenced by ConsoleKillFocus(), Create(), and ExitList(). |
|
|
Definition at line 30 of file ntcon/conime/conime.c. Referenced by ExitList(), GrowConsoleTable(), InitConsoleIME(), InsertConsole(), SearchConsole(), and WndProc(). |