2 * Copyright (C) 2003 Takuro Ashie
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
24 /* these aren't defined in Cygwin's imm.h */
26 #ifndef WM_IME_REQUEST
27 # define WM_IME_REQUEST 0x0288
28 #endif /* WM_IME_REQUEST */
30 #ifndef IMR_COMPOSITIONWINDOW
31 # define IMR_COMPOSITIONWINDOW 0x0001
32 #endif /* IMR_COMPOSITIONWINDOW */
34 #ifndef IMR_CANDIDATEWINDOW
35 # define IMR_CANDIDATEWINDOW 0x0002
36 #endif /* IMR_CANDIDATEWINDOW */
38 #ifndef IMR_COMPOSITIONFONT
39 # define IMR_COMPOSITIONFONT 0x0003
40 #endif /* IMR_COMPOSITIONFONT */
42 #ifndef IMR_RECONVERTSTRING
43 # define IMR_RECONVERTSTRING 0x0004
44 #endif /* IMR_RECONVERTSTRING */
46 #ifndef IMR_CONFIRMRECONVERTSTRING
47 # define IMR_CONFIRMRECONVERTSTRING 0x0005
48 #endif /* IMR_CONFIRMRECONVERTSTRING */
50 #ifndef IMR_QUERYCHARPOSITION
51 # define IMR_QUERYCHARPOSITION 0x0006
52 typedef struct tagIMECHARPOSITION {
58 } IMECHARPOSITION, *PIMECHARPOSITION;
59 #endif /* IMR_QUERYCHARPOSITION */
61 #ifndef IMR_DOCUMENTFEED
62 # define IMR_DOCUMENTFEED 0x0007
63 #endif /* IMR_DOCUMENTFEED */