/*
* Declarations for IMM32
*
* Copyright (C) the Wine project
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/*
* Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
* other than GPL or LGPL is available it will apply instead, Oracle elects to use only
* the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
* a choice of LGPL license versions is made available with the language indicating
* that LGPLv2 or any later version may be used, or where a choice of which version
* of the LGPL is applied is otherwise unspecified.
*/
#ifndef __WINE_IMM_H
#define __WINE_IMM_H
#ifdef __cplusplus
extern "C" {
#endif
typedef struct tagREGISTERWORDA {
typedef struct tagREGISTERWORDW {
typedef struct tagCANDIDATEFORM
{
typedef struct tagCANDIDATELIST
{
typedef struct tagSTYLEBUFA
{
typedef struct tagSTYLEBUFW
{
typedef struct tagRECONVERTSTRING
{
typedef struct tagIMEMENUITEMINFOA
{
typedef struct tagIMEMENUITEMINFOW
{
typedef struct _tagCOMPOSITIONFORM
{
/* wParam for WM_IME_CONTROL */
/*
* wParam for WM_IME_CONTROL to the soft keyboard
* dwAction for ImmNotifyIME
*/
/* lParam for WM_IME_SETCONTEXT */
/* dwIndex for ImmNotifyIME/NI_COMPOSITIONSTR */
/* the modifiers of hot key */
/* Windows for Simplified Chinese Edition hot key ID from 0x10 - 0x2F */
/* Windows for Japanese Edition hot key ID from 0x30 - 0x4F */
/* Windows for Korean Edition hot key ID from 0x50 - 0x6F */
/* Windows for Tranditional Chinese Edition hot key ID from 0x70 - 0x8F */
/* direct switch hot key ID from 0x100 - 0x11F */
/* IME private hot key from 0x200 - 0x21F */
/*
* dwSystemInfoFlags bits
* parameter of ImmGetCompositionString
*/
/* style bit flags for WM_IME_COMPOSITION */
/*
* bits of fdwInit of INPUTCONTEXT
* IME version constants
*/
/* IME property bits */
/* IME UICapability bits */
/* ImmSetCompositionString Capability bits */
/* IME WM_IME_SELECT inheritance Capability bits */
/* ID for deIndex of ImmGetGuideLine */
/* ID for dwLevel of GUIDELINE Structure */
/* ID for dwIndex of GUIDELINE Structure */
/* ID for dwIndex of ImmGetProperty */
/* dwIndex for ImmSetCompositionString API */
/* attribute for COMPOSITIONSTRING Structure */
/* bit field for IMC_SETCOMPOSITIONWINDOW, IMC_SETCANDIDATEWINDOW */
/* conversion direction for ImmGetConversionList */
/* bit field for conversion mode */
/* IME_CMODE_HANGEUL is old name of IME_CMODE_HANGUL. It will be gone eventually. */
/* style of candidate */
/* wParam of report message WM_IME_NOTIFY */
/* wParam of report message WM_IME_REQUEST */
/* error code of ImmGetCompositionString */
/* dialog mode of ImmConfigureIME */
/* dialog mode of ImmEscape */
/* style of word registration */
/* dwFlags for ImmAssociateContextEx */
/* dwFlags for ImmGetImeMenuItems */
/* dwType for ImmGetImeMenuItems */
/* fType of IMEMENUITEMINFO structure */
/* fState of IMEMENUITEMINFO structure */
/*
* type of soft keyboard
* for Windows Tranditional Chinese Edition
*/
/* for Windows Simplified Chinese Edition */
#endif
DWORD WINAPI ImmGetImeMenuItemsA(HIMC, DWORD, DWORD, LPIMEMENUITEMINFOA, LPIMEMENUITEMINFOA, DWORD);
DWORD WINAPI ImmGetImeMenuItemsW(HIMC, DWORD, DWORD, LPIMEMENUITEMINFOW, LPIMEMENUITEMINFOW, DWORD);
#ifdef __cplusplus
}
#endif
#endif /* __WINE_IMM_H */