936{
940
943 {
945 return 0;
946 }
947
949 {
951 }
953 {
954 ERR(
"fnid was 0x%x\n", pWnd->
fnid);
955 return 0;
956 }
957
960 {
963 {
964 ERR(
"HeapAlloc failed\n");
967 return 0;
968 }
969
971 pimeui->
spwnd = pWnd;
972 }
973
975 {
979 }
980
982 {
984 {
991 case WM_IME_STARTCOMPOSITION:
992 case WM_IME_COMPOSITION:
993 case WM_IME_ENDCOMPOSITION:
994 return 0;
995
998 return 0;
999 break;
1000
1003 {
1004 case 0x03:
1005 case 0x10:
1006 case 0x13:
1007 break;
1008
1009 default:
1010 return 0;
1011 }
1012 break;
1013
1014 default:
1015 goto Finish;
1016 }
1017 }
1018
1020 {
1022 {
1026 break;
1027
1028 default:
1029 return 0;
1030 }
1031 }
1032
1034 {
1037
1040 return 0;
1041
1047 break;
1048
1051
1053 return 0;
1054
1055 case WM_IME_STARTCOMPOSITION:
1056 case WM_IME_COMPOSITION:
1057 case WM_IME_ENDCOMPOSITION:
1059
1062
1065
1067 return 0;
1068
1072
1075
1078
1079 default:
1080 break;
1081 }
1082
1083Finish:
1084 if (unicode)
1087}
LRESULT WINAPI CtfImmDispatchDefImeMessage(_In_ HWND hWnd, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam)
#define HeapFree(x, y, z)
#define ValidateHwnd(hwnd)
BOOL NTAPI NtUserSetWindowFNID(HWND hWnd, WORD fnID)
static VOID User32DestroyImeUIWindow(PIMEUI pimeui)
LRESULT ImeWnd_OnImeSetContext(PIMEUI pimeui, WPARAM wParam, LPARAM lParam)
static INT ImeWnd_OnCreate(PIMEUI pimeui, LPCREATESTRUCT lpCS)
static LRESULT User32SendImeUIMessage(PIMEUI pimeui, UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL unicode)
static LRESULT ImeWnd_OnImeSystem(PIMEUI pimeui, WPARAM wParam, LPARAM lParam)
static LRESULT ImeWnd_OnImeControl(PIMEUI pimeui, WPARAM wParam, LPARAM lParam, BOOL unicode)
static VOID ImeWnd_OnImeSelect(PIMEUI pimeui, WPARAM wParam, LPARAM lParam)
static LRESULT ImeWnd_OnImeNotify(PIMEUI pimeui, WPARAM wParam, LPARAM lParam)
#define GetWindowLongPtrW
LRESULT WINAPI DefWindowProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
LRESULT WINAPI DefWindowProcA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
#define WM_IME_SETCONTEXT
#define WM_IME_COMPOSITIONFULL
#define SetWindowLongPtrW
BOOL WINAPI DestroyWindow(_In_ HWND)