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, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
26 /* these aren't defined in Cygwin's imm.h */
28 #ifndef WM_IME_REQUEST
29 # define WM_IME_REQUEST 0x0288
30 #endif /* WM_IME_REQUEST */
32 #ifndef IMR_COMPOSITIONWINDOW
33 # define IMR_COMPOSITIONWINDOW 0x0001
34 #endif /* IMR_COMPOSITIONWINDOW */
36 #ifndef IMR_CANDIDATEWINDOW
37 # define IMR_CANDIDATEWINDOW 0x0002
38 #endif /* IMR_CANDIDATEWINDOW */
40 #ifndef IMR_COMPOSITIONFONT
41 # define IMR_COMPOSITIONFONT 0x0003
42 #endif /* IMR_COMPOSITIONFONT */
44 #ifndef IMR_RECONVERTSTRING
45 # define IMR_RECONVERTSTRING 0x0004
46 #endif /* IMR_RECONVERTSTRING */
48 #ifndef IMR_CONFIRMRECONVERTSTRING
49 # define IMR_CONFIRMRECONVERTSTRING 0x0005
50 #endif /* IMR_CONFIRMRECONVERTSTRING */
52 #ifndef IMR_QUERYCHARPOSITION
53 # define IMR_QUERYCHARPOSITION 0x0006
54 typedef struct tagIMECHARPOSITION {
60 } IMECHARPOSITION, *PIMECHARPOSITION;
61 #endif /* IMR_QUERYCHARPOSITION */
63 #ifndef IMR_DOCUMENTFEED
64 # define IMR_DOCUMENTFEED 0x0007
65 #endif /* IMR_DOCUMENTFEED */