~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Wine Cross Reference
wine/include/ddk/imm.h

Version: ~ [ wine-1.1.0 ] ~ [ wine-1.0 ] ~ [ wine-1.0-rc5 ] ~ [ wine-1.0-rc4 ] ~ [ wine-1.0-rc3 ] ~ [ wine-1.0-rc2 ] ~ [ wine-1.0-rc1 ] ~ [ wine-0.9.61 ] ~ [ wine-0.9.60 ] ~ [ wine-0.9.59 ] ~ [ wine-0.9.58 ] ~ [ wine-0.9.57 ] ~ [ wine-0.9.56 ] ~ [ wine-0.9.55 ] ~ [ wine-0.9.54 ] ~ [ wine-0.9.53 ] ~ [ wine-0.9.52 ] ~ [ wine-0.9.51 ] ~ [ wine-0.9.50 ] ~ [ wine-0.9.49 ] ~ [ wine-0.9.48 ] ~ [ wine-0.9.47 ] ~ [ wine-0.9.46 ] ~ [ wine-0.9.45 ] ~ [ wine-0.9.44 ] ~ [ wine-0.9.43 ] ~ [ wine-0.9.42 ] ~ [ wine-0.9.41 ] ~ [ wine-0.9.40 ] ~ [ wine-0.9.39 ] ~ [ wine-0.9.38 ] ~ [ wine-0.9.37 ] ~ [ wine-0.9.36 ] ~ [ wine-0.9.35 ] ~ [ wine-0.9.34 ] ~ [ wine-0.9.33 ] ~ [ wine-0.9.32 ] ~ [ wine-0.9.31 ] ~ [ wine-0.9.30 ] ~ [ wine-0.9.29 ] ~ [ wine-0.9.28 ] ~ [ wine-0.9.27 ] ~ [ wine-0.9.26 ] ~ [ wine-0.9.25 ] ~ [ wine-0.9.24 ] ~ [ wine-0.9.23 ] ~ [ wine-0.9.22 ] ~ [ wine-0.9.21 ] ~ [ wine-0.9.20 ] ~ [ wine-0.9.19 ] ~ [ wine-0.9.18 ] ~ [ wine-0.9.17 ] ~ [ wine-0.9.16 ] ~ [ wine-0.9.15 ] ~ [ wine-0.9.14 ] ~ [ wine-0.9.13 ] ~ [ wine-0.9.12 ] ~ [ wine-0.9.11 ] ~ [ wine-0.9.10 ] ~ [ wine-0.9.9 ] ~ [ wine-0.9.8 ] ~ [ wine-0.9.7 ] ~ [ wine-0.9.6 ] ~ [ wine-0.9.5 ] ~ [ wine-0.9.4 ] ~ [ wine-0.9.3 ] ~ [ wine-0.9.2 ] ~ [ wine-0.9.1 ] ~ [ wine-0.9 ] ~ [ wine20050930 ] ~ [ wine20050830 ] ~ [ wine20050725 ] ~ [ wine20050628 ] ~ [ wine20050524 ] ~ [ wine20050419 ] ~ [ wine20050310 ] ~ [ wine20050211 ] ~ [ wine20050111 ] ~ [ wine20041201 ] ~ [ wine20041019 ] ~ [ wine20040914 ] ~ [ wine20040813 ] ~ [ wine20040716 ] ~ [ wine20040615 ] ~ [ wine20040505 ] ~ [ wine20040408 ] ~ [ wine20040309 ] ~ [ wine20040213 ] ~ [ wine20040121 ] ~ [ wine20031212 ] ~ [ wine20031118 ] ~ [ wine20031016 ] ~ [ wine20030911 ] ~ [ wine20030813 ] ~ [ wine20030709 ] ~ [ wine20030618 ] ~ [ wine20030508 ] ~ [ wine20030408 ] ~ [ wine20030318 ] ~ [ wine20030219 ] ~ [ wine20030115 ] ~ [ wine20021219 ] ~ [ wine20021125 ] ~ [ wine20021031 ] ~ [ wine20021007 ] ~ [ wine20020904 ] ~ [ wine20020804 ] ~ [ wine20020710 ] ~ [ wine20020605 ] ~ [ wine20020509 ] ~ [ wine20020411 ] ~ [ wine20020310 ] ~ [ wine20020228 ] ~ [ wine20011226 ] ~ [ wine20011108 ] ~ [ wine20011004 ] ~ [ wine20010824 ] ~ [ wine20010731 ] ~ [ wine20010629 ] ~ [ wine20010510 ] ~ [ wine20010418 ] ~ [ wine20010326 ] ~ [ wine20010305 ] ~ [ wine20010216 ] ~ [ wine20010112 ] ~ [ wine20001222 ] ~ [ wine20001202 ] ~ [ wine20001026 ] ~ [ wine20001002 ] ~ [ wine20000909 ] ~ [ wine20000821 ] ~ [ wine20000801 ] ~ [ wine20000716 ] ~ [ wine20000326 ] ~ [ wine20000227 ] ~ [ wine20000130 ] ~ [ wine20000109 ] ~

  1 /*
  2  * Copyright (C) 2007 CodeWeavers, Aric Stewart
  3  *
  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.1 of the License, or (at your option) any later version.
  8  *
  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.
 13  *
 14  * You should have received a copy of the GNU Lesser General Public
 15  * License along with this library; if not, write to the Free Software
 16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 17  */
 18 
 19 #ifndef _DDKIMM_H_
 20 #define _DDKIMM_H_
 21 
 22 #ifdef __cplusplus
 23 extern "C" {
 24 #endif
 25 
 26 typedef struct _tagINPUTCONTEXT {
 27     HWND                hWnd;
 28     BOOL                fOpen;
 29     POINT               ptStatusWndPos;
 30     POINT               ptSoftKbdPos;
 31     DWORD               fdwConversion;
 32     DWORD               fdwSentence;
 33     union   {
 34         LOGFONTA        A;
 35         LOGFONTW        W;
 36     } lfFont;
 37     COMPOSITIONFORM     cfCompForm;
 38     CANDIDATEFORM       cfCandForm[4];
 39     HIMCC               hCompStr;
 40     HIMCC               hCandInfo;
 41     HIMCC               hGuideLine;
 42     HIMCC               hPrivate;
 43     DWORD               dwNumMsgBuf;
 44     HIMCC               hMsgBuf;
 45     DWORD               fdwInit;
 46     DWORD               dwReserve[3];
 47 } INPUTCONTEXT, *LPINPUTCONTEXT;
 48 
 49 typedef struct _tagIMEINFO {
 50     DWORD       dwPrivateDataSize;
 51     DWORD       fdwProperty;
 52     DWORD       fdwConversionCaps;
 53     DWORD       fdwSentenceCaps;
 54     DWORD       fdwUICaps;
 55     DWORD       fdwSCSCaps;
 56     DWORD       fdwSelectCaps;
 57 } IMEINFO, *LPIMEINFO;
 58 
 59 typedef struct tagCOMPOSITIONSTRING {
 60     DWORD dwSize;
 61     DWORD dwCompReadAttrLen;
 62     DWORD dwCompReadAttrOffset;
 63     DWORD dwCompReadClauseLen;
 64     DWORD dwCompReadClauseOffset;
 65     DWORD dwCompReadStrLen;
 66     DWORD dwCompReadStrOffset;
 67     DWORD dwCompAttrLen;
 68     DWORD dwCompAttrOffset;
 69     DWORD dwCompClauseLen;
 70     DWORD dwCompClauseOffset;
 71     DWORD dwCompStrLen;
 72     DWORD dwCompStrOffset;
 73     DWORD dwCursorPos;
 74     DWORD dwDeltaStart;
 75     DWORD dwResultReadClauseLen;
 76     DWORD dwResultReadClauseOffset;
 77     DWORD dwResultReadStrLen;
 78     DWORD dwResultReadStrOffset;
 79     DWORD dwResultClauseLen;
 80     DWORD dwResultClauseOffset;
 81     DWORD dwResultStrLen;
 82     DWORD dwResultStrOffset;
 83     DWORD dwPrivateSize;
 84     DWORD dwPrivateOffset;
 85 } COMPOSITIONSTRING, *LPCOMPOSITIONSTRING;
 86 
 87 typedef struct tagGUIDELINE {
 88     DWORD dwSize;
 89     DWORD dwLevel;
 90     DWORD dwIndex;
 91     DWORD dwStrLen;
 92     DWORD dwStrOffset;
 93     DWORD dwPrivateSize;
 94     DWORD dwPrivateOffset;
 95 } GUIDELINE, *LPGUIDELINE;
 96 
 97 typedef struct tagCANDIDATEINFO {
 98     DWORD               dwSize;
 99     DWORD               dwCount;
100     DWORD               dwOffset[32];
101     DWORD               dwPrivateSize;
102     DWORD               dwPrivateOffset;
103 } CANDIDATEINFO, *LPCANDIDATEINFO;
104 
105 LPINPUTCONTEXT WINAPI ImmLockIMC(HIMC);
106 BOOL  WINAPI ImmUnlockIMC(HIMC);
107 DWORD WINAPI ImmGetIMCLockCount(HIMC);
108 HIMCC  WINAPI ImmCreateIMCC(DWORD);
109 HIMCC  WINAPI ImmDestroyIMCC(HIMCC);
110 LPVOID WINAPI ImmLockIMCC(HIMCC);
111 BOOL   WINAPI ImmUnlockIMCC(HIMCC);
112 DWORD  WINAPI ImmGetIMCCLockCount(HIMCC);
113 HIMCC  WINAPI ImmReSizeIMCC(HIMCC, DWORD);
114 DWORD  WINAPI ImmGetIMCCSize(HIMCC);
115 
116 #define IMMGWL_IMC                      0
117 #define IMMGWL_PRIVATE                  (sizeof(LONG))
118 
119 /* IME Property bits */
120 #define IME_PROP_END_UNLOAD             0x0001
121 #define IME_PROP_KBD_CHAR_FIRST         0x0002
122 #define IME_PROP_IGNORE_UPKEYS          0x0004
123 #define IME_PROP_NEED_ALTKEY            0x0008
124 #define IME_PROP_NO_KEYS_ON_CLOSE       0x0010
125 
126 /* for NI_CONTEXTUPDATED */
127 #define IMC_SETCONVERSIONMODE           0x0002
128 #define IMC_SETSENTENCEMODE             0x0004
129 #define IMC_SETOPENSTATUS               0x0006
130 
131 /* dwAction for ImmNotifyIME */
132 #define NI_CONTEXTUPDATED               0x0003
133 #define NI_OPENCANDIDATE                0x0010
134 #define NI_CLOSECANDIDATE               0x0011
135 #define NI_SELECTCANDIDATESTR           0x0012
136 #define NI_CHANGECANDIDATELIST          0x0013
137 #define NI_FINALIZECONVERSIONRESULT     0x0014
138 #define NI_COMPOSITIONSTR               0x0015
139 #define NI_SETCANDIDATE_PAGESTART       0x0016
140 #define NI_SETCANDIDATE_PAGESIZE        0x0017
141 #define NI_IMEMENUSELECTED              0x0018
142 
143 BOOL WINAPI ImmGenerateMessage(HIMC);
144 LRESULT WINAPI ImmRequestMessageA(HIMC, WPARAM, LPARAM);
145 LRESULT WINAPI ImmRequestMessageW(HIMC, WPARAM, LPARAM);
146 #define ImmRequestMessage WINELIB_NAME_AW(ImmRequestMessage);
147 BOOL WINAPI ImmTranslateMessage(HWND, UINT, WPARAM, LPARAM);
148 HWND WINAPI ImmCreateSoftKeyboard(UINT, UINT, int, int);
149 BOOL WINAPI ImmDestroySoftKeyboard(HWND);
150 BOOL WINAPI ImmShowSoftKeyboard(HWND, int);
151 
152 BOOL WINAPI ImeInquire(LPIMEINFO, LPWSTR, LPCWSTR lpszOptions);
153 BOOL WINAPI ImeConfigure (HKL, HWND, DWORD, LPVOID);
154 DWORD WINAPI ImeConversionList(HIMC, LPCWSTR, LPCANDIDATELIST,DWORD,UINT);
155 BOOL WINAPI ImeDestroy(UINT);
156 LRESULT WINAPI ImeEscape(HIMC, UINT, LPVOID);
157 BOOL WINAPI ImeProcessKey(HIMC, UINT, LPARAM, CONST LPBYTE);
158 BOOL WINAPI ImeSelect(HIMC, BOOL);
159 BOOL WINAPI ImeSetActiveContext(HIMC, BOOL);
160 UINT WINAPI ImeToAsciiEx(UINT, UINT, CONST LPBYTE, LPDWORD, UINT, HIMC);
161 BOOL WINAPI NotifyIME(HIMC, DWORD, DWORD, DWORD);
162 BOOL WINAPI ImeRegisterWord(LPCWSTR, DWORD, LPCWSTR);
163 BOOL WINAPI ImeUnregisterWord(LPCWSTR, DWORD, LPCWSTR);
164 UINT WINAPI ImeGetRegisterWordStyle(UINT, LPSTYLEBUFW);
165 UINT WINAPI ImeEnumRegisterWord(REGISTERWORDENUMPROCW, LPCWSTR, DWORD, LPCWSTR, LPVOID);
166 BOOL WINAPI ImeSetCompositionString(HIMC, DWORD, LPCVOID, DWORD, LPCVOID, DWORD);
167 DWORD WINAPI ImeGetImeMenuItems(HIMC, DWORD, DWORD, LPIMEMENUITEMINFOW, LPIMEMENUITEMINFOW, DWORD);
168 
169 #ifdef __cplusplus
170 } /* extern "C" */
171 #endif
172 
173 #endif  /* _DDKIMM_H_ */
174 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.