Go to the source code of this file.
|
| WINE_DEFAULT_DEBUG_CHANNEL (imm) |
|
DWORD APIENTRY | CandidateListWideToAnsi (const CANDIDATELIST *pWideCL, LPCANDIDATELIST pAnsiCL, DWORD dwBufLen, UINT uCodePage) |
|
DWORD APIENTRY | CandidateListAnsiToWide (const CANDIDATELIST *pAnsiCL, LPCANDIDATELIST pWideCL, DWORD dwBufLen, UINT uCodePage) |
|
static DWORD APIENTRY | ImmGetCandidateListAW (HIMC hIMC, DWORD dwIndex, LPCANDIDATELIST lpCandList, DWORD dwBufLen, BOOL bAnsi) |
|
DWORD APIENTRY | ImmGetCandidateListCountAW (HIMC hIMC, LPDWORD lpdwListCount, BOOL bAnsi) |
|
DWORD WINAPI | ImmGetCandidateListA (HIMC hIMC, DWORD dwIndex, LPCANDIDATELIST lpCandList, DWORD dwBufLen) |
|
DWORD WINAPI | ImmGetCandidateListCountA (HIMC hIMC, LPDWORD lpdwListCount) |
|
DWORD WINAPI | ImmGetCandidateListCountW (HIMC hIMC, LPDWORD lpdwListCount) |
|
DWORD WINAPI | ImmGetCandidateListW (HIMC hIMC, DWORD dwIndex, LPCANDIDATELIST lpCandList, DWORD dwBufLen) |
|
BOOL WINAPI | ImmGetCandidateWindow (HIMC hIMC, DWORD dwIndex, LPCANDIDATEFORM lpCandidate) |
|
BOOL WINAPI | ImmSetCandidateWindow (HIMC hIMC, LPCANDIDATEFORM lpCandidate) |
|
◆ CandidateListAnsiToWide()
Definition at line 84 of file candidate.c.
86{
91
92
94 {
96 for (dwIndex = 0; dwIndex < pAnsiCL->
dwCount; ++dwIndex)
97 {
98 pbAnsi = (
const BYTE *)pAnsiCL + pAnsiCL->
dwOffset[dwIndex];
101 }
102 }
103 else
104 {
106 }
107
112 return 0;
113
114
121
124 {
127
128 for (dwIndex = 0; dwIndex < pAnsiCL->
dwCount; ++dwIndex)
129 {
130 pbAnsi = (
const BYTE *)pAnsiCL + pAnsiCL->
dwOffset[dwIndex];
131 pbWide = (
LPBYTE)pWideCL + pibOffsets[dwIndex];
132
133
136 cbGot = cchGot *
sizeof(
WCHAR);
137 cbLeft -= cbGot;
138
139 if (dwIndex + 1 < pAnsiCL->
dwCount)
140 pibOffsets[dwIndex + 1] = pibOffsets[dwIndex] + cbGot;
141 }
142 }
143 else
144 {
146 }
147
149}
#define MultiByteToWideChar
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
DWORD dwOffset[ANYSIZE_ARRAY]
_In_ HCRYPTHASH _In_ BOOL _In_ DWORD _Inout_ DWORD _In_ DWORD dwBufLen
Referenced by ImmGetCandidateListAW(), ImmGetCandidateListCountAW(), ImmGetConversionListW(), and ImmGetGuideLineAW().
◆ CandidateListWideToAnsi()
◆ ImmGetCandidateListA()
◆ ImmGetCandidateListAW()
Definition at line 153 of file candidate.c.
155{
162
165 return 0;
166
170 {
172 return 0;
173 }
174
177 {
180 return 0;
181 }
182
184 {
186 goto Quit;
187 }
188
190 {
191 ERR(
"Out of boundary\n");
192 goto Quit;
193 }
194
195
197 if (bAnsi)
198 {
201 else
203 }
204 else
205 {
208 else
210 }
211
213 {
215 goto Quit;
216
217
218 if (bAnsi)
219 {
222 else
224 }
225 else
226 {
229 else
231 }
232 }
233
235
236Quit:
242}
DWORD APIENTRY CandidateListAnsiToWide(const CANDIDATELIST *pAnsiCL, LPCANDIDATELIST pWideCL, DWORD dwBufLen, UINT uCodePage)
DWORD APIENTRY CandidateListWideToAnsi(const CANDIDATELIST *pWideCL, LPCANDIDATELIST pAnsiCL, DWORD dwBufLen, UINT uCodePage)
BOOL WINAPI ImmUnlockIMC(HIMC hIMC)
VOID WINAPI ImmUnlockClientImc(PCLIENTIMC pClientImc)
PCLIENTIMC WINAPI ImmLockClientImc(HIMC hImc)
LPINPUTCONTEXT WINAPI ImmLockIMC(HIMC hIMC)
#define IS_NULL_UNEXPECTEDLY(p)
BOOL WINAPI ImmUnlockIMCC(HIMCC imcc)
LPVOID WINAPI ImmLockIMCC(HIMCC imcc)
struct tagCANDIDATELIST * LPCANDIDATELIST
#define RtlCopyMemory(Destination, Source, Length)
Referenced by ImmGetCandidateListA(), and ImmGetCandidateListW().
◆ ImmGetCandidateListCountA()
◆ ImmGetCandidateListCountAW()
Definition at line 246 of file candidate.c.
247{
255 const DWORD *pdwOffsets;
256
258 return 0;
259
260 *lpdwListCount = 0;
261
264 return 0;
265
268 {
270 return 0;
271 }
272
274
277 {
280 return 0;
281 }
282
284 {
286 goto Quit;
287 }
288
290
291
292 if (bAnsi)
293 {
295 {
298 for (dwIndex = 0; dwIndex < pCI->
dwCount; ++dwIndex)
299 {
300 pb = (
const BYTE *)pCI + pdwOffsets[dwIndex];
304 }
305 }
306 else
307 {
309 }
310 }
311 else
312 {
314 {
316 }
317 else
318 {
321 for (dwIndex = 0; dwIndex < pCI->
dwCount; ++dwIndex)
322 {
323 pb = (
const BYTE *)pCI + pdwOffsets[dwIndex];
327 }
328 }
329 }
330
331Quit:
337}
Referenced by ImmGetCandidateListCountA(), and ImmGetCandidateListCountW().
◆ ImmGetCandidateListCountW()
◆ ImmGetCandidateListW()
◆ ImmGetCandidateWindow()
◆ ImmSetCandidateWindow()
Definition at line 410 of file candidate.c.
411{
414
415 TRACE(
"(%p, %p)\n", hIMC, lpCandidate);
416
418 {
419 ERR(
"Out of boundary\n");
421 }
422
425
429
432
434
438}
BOOL APIENTRY Imm32MakeIMENotify(HIMC hIMC, HWND hwnd, DWORD dwAction, DWORD_PTR dwIndex, DWORD_PTR dwValue, DWORD_PTR dwCommand, DWORD_PTR dwData)
#define IS_CROSS_THREAD_HIMC(hIMC)
#define IMC_SETCANDIDATEPOS
#define IMN_SETCANDIDATEPOS
#define NI_CONTEXTUPDATED
Referenced by ActiveIMMApp_SetCandidateWindow(), ImeWnd_OnImeControl(), ImeWnd_OnImeSystem(), ImmGetContextThreadFunc(), and test_ImmThreads().
◆ WINE_DEFAULT_DEBUG_CHANNEL()
WINE_DEFAULT_DEBUG_CHANNEL |
( |
imm |
| ) |
|