#include "precomp.h"
Go to the source code of this file.
Classes | |
struct | _IMEMENU_BMP_HEADER |
struct | IMEMENU_ITEM |
struct | IMEMENU_HEADER |
Defines | |
#define | D(x) |
#define | IME_MENU_FILE_NAME L"ImmMenuInfo" |
#define | IME_MENU_MAXMEM (128 * 1024) |
#define | CONVTO_OFFSET(x) ((x) = (LPVOID)((x) ? ((LPBYTE)(x) - offset) : NULL)) |
#define | CONVTO_PTR(x) ((x) = (LPVOID)((x) ? ((LPBYTE)(x) + offset) : NULL)) |
#define | CHK_OFFSET(x) |
#define | CHK_PTR(x) |
#define | DumpBytes(a, b) |
Typedefs | |
typedef _IMEMENU_BMP_HEADER | IMEMENU_BMP_HEADER |
Functions | |
void | ConvertImeMenuItemInfoAtoW (LPIMEMENUITEMINFOA lpA, LPIMEMENUITEMINFOW lpW, int nCP, BOOL copyBmp) |
void | ConvertImeMenuItemInfoWtoA (LPIMEMENUITEMINFOW lpW, LPIMEMENUITEMINFOA lpA, int nCP) |
IMEMENU_BMP_HEADER * | SaveBitmapToMemory (HDC hDC, HBITMAP hBmp, IMEMENU_BMP_HEADER *lpBH, IMEMENU_HEADER *pHeader) |
IMEMENU_BMP_HEADER * | DecompileBitmap (IMEMENU_HEADER *pHeader, HBITMAP hBitmap) |
LRESULT | ImmPutImeMenuItemsIntoMappedFile (HIMC hImc) |
HBITMAP | InternalImeMenuCreateBitmap (IMEMENU_BMP_HEADER *lpBH) |
DWORD | ImmGetImeMenuItemsInterProcess (HIMC hImc, DWORD dwFlags, DWORD dwType, LPIMEMENUITEMINFOW lpParentMenu, LPIMEMENUITEMINFOW lpMenu, DWORD dwSize) |
DWORD | ImmGetImeMenuItemsWorker (HIMC hIMC, DWORD dwFlags, DWORD dwType, LPVOID lpImeParentMenu, LPVOID lpImeMenu, DWORD dwSize, BOOL bAnsiOrigin) |
DWORD WINAPI | ImmGetImeMenuItemsA (HIMC hIMC, DWORD dwFlags, DWORD dwType, LPIMEMENUITEMINFOA lpImeParentMenu, LPIMEMENUITEMINFOA lpImeMenu, DWORD dwSize) |
DWORD WINAPI | ImmGetImeMenuItemsW (HIMC hIMC, DWORD dwFlags, DWORD dwType, LPIMEMENUITEMINFOW lpImeParentMenu, LPIMEMENUITEMINFOW lpImeMenu, DWORD dwSize) |
|
Definition at line 82 of file imemenu.c. Referenced by ImmPutImeMenuItemsIntoMappedFile(). |
|
Value: Definition at line 83 of file imemenu.c. Referenced by DecompileBitmap(), ImmGetImeMenuItemsInterProcess(), and ImmPutImeMenuItemsIntoMappedFile(). |
|
Definition at line 68 of file imemenu.c. Referenced by ImmGetImeMenuItemsInterProcess(), and ImmPutImeMenuItemsIntoMappedFile(). |
|
Definition at line 69 of file imemenu.c. Referenced by ImmGetImeMenuItemsInterProcess(), and ImmPutImeMenuItemsIntoMappedFile(). |
|
Definition at line 17 of file imemenu.c. Referenced by ImmIsUIMessageWorker(), and ImmPutImeMenuItemsIntoMappedFile(). |
|
Definition at line 155 of file imemenu.c. Referenced by SaveBitmapToMemory(). |
|
Definition at line 20 of file imemenu.c. Referenced by ImmGetImeMenuItemsInterProcess(), and ImmPutImeMenuItemsIntoMappedFile(). |
|
Definition at line 21 of file imemenu.c. Referenced by ImmGetImeMenuItemsInterProcess(). |
|
|
|
Definition at line 90 of file imemenu.c. References L. Referenced by ImmGetImeMenuItemsWorker().
|
|
Definition at line 115 of file imemenu.c. Referenced by ImmGetImeMenuItemsWorker().
|
|
Definition at line 254 of file imemenu.c. References CHK_PTR, GetDC, GetDesktopWindow(), _IMEMENU_BMP_HEADER::hBitmap, IMEMENU_HEADER::lpBmp, IMEMENU_HEADER::lpBmpNext, _IMEMENU_BMP_HEADER::lpNext, NULL, ReleaseDC(), and SaveBitmapToMemory(). Referenced by ImmPutImeMenuItemsIntoMappedFile().
|
|
Definition at line 953 of file imemenu.c. References dwFlags, DWORD, ImmGetImeMenuItemsWorker(), LPVOID, and TRUE.
|
|
Definition at line 560 of file imemenu.c. References IMEMENU_ITEM::cbSize, CHK_PTR, CONVTO_OFFSET, CONVTO_PTR, dwFlags, DWORD, gcsImeDpi, _IMEMENU_BMP_HEADER::hBitmap, IME_MENU_FILE_NAME, IME_MENU_MAXMEM, InputContextDefaultImeWindow, InternalImeMenuCreateBitmap(), IsWindow(), IMEMENU_ITEM::lpBmpChecked, IMEMENU_ITEM::lpBmpItem, IMEMENU_ITEM::lpBmpUnchecked, _IMEMENU_BMP_HEADER::lpNext, LPVOID, NtUserQueryInputContext(), NULL, _IMEMENU_BMP_HEADER::pBits, and SendMessage(). Referenced by ImmGetImeMenuItemsWorker().
|
|
Definition at line 967 of file imemenu.c. References dwFlags, DWORD, FALSE, ImmGetImeMenuItemsWorker(), and LPVOID. Referenced by ImmPutImeMenuItemsIntoMappedFile().
|
|
Definition at line 759 of file imemenu.c. References BOOL, ConvertImeMenuItemInfoAtoW(), ConvertImeMenuItemInfoWtoA(), tagIMEDPI::dwCodePage, dwFlags, DWORD, GetCurrentProcessId, GetInputContextProcess, GetInputContextThread, GetKeyboardLayout(), tagIMEDPI::_tagImeFunctions::ImeGetImeMenuItems, ImmGetImeMenuItemsInterProcess(), ImmLocalAlloc(), ImmLocalFree, ImmLockIMC(), ImmLockImeDpi(), ImmUnlockIMC(), ImmUnlockImeDpi(), IsAnsiIMC(), LPVOID, NULL, tagIMEDPI::pfn, TRACE, and TRUE. Referenced by ImmGetImeMenuItemsA(), and ImmGetImeMenuItemsW().
|
|
Definition at line 325 of file imemenu.c. References CHK_OFFSET, CHK_PTR, CONVTO_OFFSET, CONVTO_PTR, D, DecompileBitmap(), IMEMENU_HEADER::dwFlags, DWORD, IMEMENU_HEADER::dwSize, IMEMENU_HEADER::dwType, IMEMENU_HEADER::dwVersion, FALSE, IME_MENU_FILE_NAME, ImmGetImeMenuItemsW(), ImmLocalAlloc(), ImmLocalFree, L, IMEMENU_HEADER::lpBmp, IMEMENU_ITEM::lpBmpChecked, IMEMENU_ITEM::lpBmpItem, IMEMENU_HEADER::lpBmpNext, IMEMENU_ITEM::lpBmpUnchecked, IMEMENU_HEADER::lpImeMenu, IMEMENU_HEADER::lpImeParentMenu, _IMEMENU_BMP_HEADER::lpNext, LPVOID, NULL, _IMEMENU_BMP_HEADER::pBits, and TRACE. Referenced by _InitializeImmEntryTable().
|
|
Definition at line 508 of file imemenu.c. References _IMEMENU_BMP_HEADER::bmi, DWORD, GetDC, GetDesktopWindow(), _IMEMENU_BMP_HEADER::hBitmap, NULL, _IMEMENU_BMP_HEADER::pBits, ReleaseDC(), and TRACE. Referenced by ImmGetImeMenuItemsInterProcess().
|
|
Definition at line 161 of file imemenu.c. References _IMEMENU_BMP_HEADER::bmi, DumpBytes, IMEMENU_HEADER::dwMemSize, DWORD, FALSE, NULL, and _IMEMENU_BMP_HEADER::pBits. Referenced by DecompileBitmap().
|