Aric Stewart : imm32:
Additional constants needed for the IME implementation.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Aug 7 08:26:26 CDT 2007
Module: wine
Branch: master
Commit: 1262ba2c6255815bec20943f060f7fe30030655f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1262ba2c6255815bec20943f060f7fe30030655f
Author: Aric Stewart <aric at codeweavers.com>
Date: Mon Aug 6 11:36:09 2007 -0500
imm32: Additional constants needed for the IME implementation.
---
include/ddk/imm.h | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/include/ddk/imm.h b/include/ddk/imm.h
index 15bf7bc..57b6c7d 100644
--- a/include/ddk/imm.h
+++ b/include/ddk/imm.h
@@ -95,6 +95,32 @@ DWORD WINAPI ImmGetIMCCLockCount(HIMCC);
HIMCC WINAPI ImmReSizeIMCC(HIMCC, DWORD);
DWORD WINAPI ImmGetIMCCSize(HIMCC);
+/* IME Property bits */
+#define IME_PROP_END_UNLOAD 0x0001
+#define IME_PROP_KBD_CHAR_FIRST 0x0002
+#define IME_PROP_IGNORE_UPKEYS 0x0004
+#define IME_PROP_NEED_ALTKEY 0x0008
+#define IME_PROP_NO_KEYS_ON_CLOSE 0x0010
+
+/* for NI_CONTEXTUPDATED */
+#define IMC_SETCONVERSIONMODE 0x0002
+#define IMC_SETSENTENCEMODE 0x0004
+#define IMC_SETOPENSTATUS 0x0006
+
+/* dwAction for ImmNotifyIME */
+#define NI_CONTEXTUPDATED 0x0003
+#define NI_OPENCANDIDATE 0x0010
+#define NI_CLOSECANDIDATE 0x0011
+#define NI_SELECTCANDIDATESTR 0x0012
+#define NI_CHANGECANDIDATELIST 0x0013
+#define NI_FINALIZECONVERSIONRESULT 0x0014
+#define NI_COMPOSITIONSTR 0x0015
+#define NI_SETCANDIDATE_PAGESTART 0x0016
+#define NI_SETCANDIDATE_PAGESIZE 0x0017
+#define NI_IMEMENUSELECTED 0x0018
+
+BOOL WINAPI ImmGenerateMessage(HIMC);
+
#ifdef __cplusplus
} /* extern "C" */
#endif
More information about the wine-cvs
mailing list