|
Packit Service |
fb6fa5 |
/*
|
|
Packit Service |
fb6fa5 |
* Copyright (C) 2003 Takuro Ashie
|
|
Packit Service |
fb6fa5 |
*
|
|
Packit Service |
fb6fa5 |
* This library is free software; you can redistribute it and/or
|
|
Packit Service |
fb6fa5 |
* modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
fb6fa5 |
* License as published by the Free Software Foundation; either
|
|
Packit Service |
fb6fa5 |
* version 2 of the License, or (at your option) any later version.
|
|
Packit Service |
fb6fa5 |
*
|
|
Packit Service |
fb6fa5 |
* This library is distributed in the hope that it will be useful,
|
|
Packit Service |
fb6fa5 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
fb6fa5 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
fb6fa5 |
* Lesser General Public License for more details.
|
|
Packit Service |
fb6fa5 |
*
|
|
Packit Service |
fb6fa5 |
* You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
fb6fa5 |
* License along with this library; if not, write to the
|
|
Packit Service |
fb6fa5 |
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
Packit Service |
fb6fa5 |
* Boston, MA 02111-1307, USA.
|
|
Packit Service |
fb6fa5 |
*
|
|
Packit Service |
fb6fa5 |
* $Id$
|
|
Packit Service |
fb6fa5 |
*/
|
|
Packit Service |
fb6fa5 |
|
|
Packit Service |
fb6fa5 |
#include <windows.h>
|
|
Packit Service |
fb6fa5 |
#include <imm.h>
|
|
Packit Service |
fb6fa5 |
|
|
Packit Service |
fb6fa5 |
|
|
Packit Service |
fb6fa5 |
/* these aren't defined in Cygwin's imm.h */
|
|
Packit Service |
fb6fa5 |
|
|
Packit Service |
fb6fa5 |
#ifndef WM_IME_REQUEST
|
|
Packit Service |
fb6fa5 |
# define WM_IME_REQUEST 0x0288
|
|
Packit Service |
fb6fa5 |
#endif /* WM_IME_REQUEST */
|
|
Packit Service |
fb6fa5 |
|
|
Packit Service |
fb6fa5 |
#ifndef IMR_COMPOSITIONWINDOW
|
|
Packit Service |
fb6fa5 |
# define IMR_COMPOSITIONWINDOW 0x0001
|
|
Packit Service |
fb6fa5 |
#endif /* IMR_COMPOSITIONWINDOW */
|
|
Packit Service |
fb6fa5 |
|
|
Packit Service |
fb6fa5 |
#ifndef IMR_CANDIDATEWINDOW
|
|
Packit Service |
fb6fa5 |
# define IMR_CANDIDATEWINDOW 0x0002
|
|
Packit Service |
fb6fa5 |
#endif /* IMR_CANDIDATEWINDOW */
|
|
Packit Service |
fb6fa5 |
|
|
Packit Service |
fb6fa5 |
#ifndef IMR_COMPOSITIONFONT
|
|
Packit Service |
fb6fa5 |
# define IMR_COMPOSITIONFONT 0x0003
|
|
Packit Service |
fb6fa5 |
#endif /* IMR_COMPOSITIONFONT */
|
|
Packit Service |
fb6fa5 |
|
|
Packit Service |
fb6fa5 |
#ifndef IMR_RECONVERTSTRING
|
|
Packit Service |
fb6fa5 |
# define IMR_RECONVERTSTRING 0x0004
|
|
Packit Service |
fb6fa5 |
#endif /* IMR_RECONVERTSTRING */
|
|
Packit Service |
fb6fa5 |
|
|
Packit Service |
fb6fa5 |
#ifndef IMR_CONFIRMRECONVERTSTRING
|
|
Packit Service |
fb6fa5 |
# define IMR_CONFIRMRECONVERTSTRING 0x0005
|
|
Packit Service |
fb6fa5 |
#endif /* IMR_CONFIRMRECONVERTSTRING */
|
|
Packit Service |
fb6fa5 |
|
|
Packit Service |
fb6fa5 |
#ifndef IMR_QUERYCHARPOSITION
|
|
Packit Service |
fb6fa5 |
# define IMR_QUERYCHARPOSITION 0x0006
|
|
Packit Service |
fb6fa5 |
typedef struct tagIMECHARPOSITION {
|
|
Packit Service |
fb6fa5 |
DWORD dwSize;
|
|
Packit Service |
fb6fa5 |
DWORD dwCharPos;
|
|
Packit Service |
fb6fa5 |
POINT pt;
|
|
Packit Service |
fb6fa5 |
UINT cLineHeight;
|
|
Packit Service |
fb6fa5 |
RECT rcDocument;
|
|
Packit Service |
fb6fa5 |
} IMECHARPOSITION, *PIMECHARPOSITION;
|
|
Packit Service |
fb6fa5 |
#endif /* IMR_QUERYCHARPOSITION */
|
|
Packit Service |
fb6fa5 |
|
|
Packit Service |
fb6fa5 |
#ifndef IMR_DOCUMENTFEED
|
|
Packit Service |
fb6fa5 |
# define IMR_DOCUMENTFEED 0x0007
|
|
Packit Service |
fb6fa5 |
#endif /* IMR_DOCUMENTFEED */
|