104 TRACE(
"(%p, %p, %s, 0x%lX, %s, %p)\n", hKL, lpfnEnumProc,
debugstr_a(lpszReading),
113 ret = pImeDpi->ImeEnumRegisterWord(lpfnEnumProc, lpszReading, dwStyle,
114 lpszRegister, lpData);
134 EnumDataW2A.
lpData = lpData;
138 pszRegisterW, &EnumDataW2A);
161 TRACE(
"(%p, %p, %s, 0x%lX, %s, %p)\n", hKL, lpfnEnumProc,
debugstr_w(lpszReading),
170 ret = pImeDpi->ImeEnumRegisterWord(lpfnEnumProc, lpszReading, dwStyle,
171 lpszRegister, lpData);
191 EnumDataA2W.
lpData = lpData;
195 pszRegisterA, &EnumDataA2W);
218 TRACE(
"(%p, %u, %p)\n", hKL, nItem, lpStyleBuf);
226 ret = pImeDpi->ImeGetRegisterWordStyle(nItem, lpStyleBuf);
237 ret = pImeDpi->ImeGetRegisterWordStyle(nItem, pNewStylesW);
242 for (iItem = 0; iItem <
ret; ++iItem)
244 pSrcW = &pNewStylesW[iItem];
245 pDestA = &lpStyleBuf[iItem];
277 TRACE(
"(%p, %u, %p)\n", hKL, nItem, lpStyleBuf);
285 ret = pImeDpi->ImeGetRegisterWordStyle(nItem, lpStyleBuf);
296 ret = pImeDpi->ImeGetRegisterWordStyle(nItem, pNewStylesA);
301 for (iItem = 0; iItem <
ret; ++iItem)
303 pSrcA = &pNewStylesA[iItem];
304 pDestW = &lpStyleBuf[iItem];
342 ret = pImeDpi->ImeRegisterWord(lpszReading, dwStyle, lpszRegister);
361 ret = pImeDpi->ImeRegisterWord(pszReadingW, dwStyle, pszRegisterW);
390 ret = pImeDpi->ImeRegisterWord(lpszReading, dwStyle, lpszRegister);
409 ret = pImeDpi->ImeRegisterWord(pszReadingA, dwStyle, pszRegisterA);
438 ret = pImeDpi->ImeUnregisterWord(lpszReading, dwStyle, lpszUnregister);
457 ret = pImeDpi->ImeUnregisterWord(pszReadingW, dwStyle, pszUnregisterW);
486 ret = pImeDpi->ImeUnregisterWord(lpszReading, dwStyle, lpszUnregister);
505 ret = pImeDpi->ImeUnregisterWord(pszReadingA, dwStyle, pszUnregisterA);
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define WideCharToMultiByte
#define MultiByteToWideChar
VOID WINAPI ImmUnlockImeDpi(PIMEDPI pImeDpi)
PIMEDPI APIENTRY Imm32FindOrLoadImeDpi(HKL hKL)
LPSTR APIENTRY Imm32AnsiFromWide(UINT uCodePage, LPCWSTR pszW)
LPVOID APIENTRY ImmLocalAlloc(DWORD dwFlags, DWORD dwBytes)
#define ImmLocalFree(lpData)
#define IS_NULL_UNEXPECTEDLY(p)
#define ImeDpi_IsUnicode(pImeDpi)
LPWSTR APIENTRY Imm32WideFromAnsi(UINT uCodePage, LPCSTR pszA)
INT(CALLBACK * REGISTERWORDENUMPROCA)(_In_ LPCSTR lpszReading, _In_ DWORD dwStyle, _In_ LPCSTR lpszRegister, _Inout_opt_ LPVOID lpData)
INT(CALLBACK * REGISTERWORDENUMPROCW)(_In_ LPCWSTR lpszReading, _In_ DWORD dwStyle, _In_ LPCWSTR lpszRegister, _Inout_opt_ LPVOID lpData)
struct ENUM_WORD_W2A * LPENUM_WORD_W2A
UINT WINAPI ImmEnumRegisterWordW(HKL hKL, REGISTERWORDENUMPROCW lpfnEnumProc, LPCWSTR lpszReading, DWORD dwStyle, LPCWSTR lpszRegister, LPVOID lpData)
UINT WINAPI ImmEnumRegisterWordA(HKL hKL, REGISTERWORDENUMPROCA lpfnEnumProc, LPCSTR lpszReading, DWORD dwStyle, LPCSTR lpszRegister, LPVOID lpData)
static INT CALLBACK Imm32EnumWordProcW2A(LPCWSTR pszReadingW, DWORD dwStyle, LPCWSTR pszRegisterW, LPVOID lpData)
BOOL WINAPI ImmRegisterWordW(HKL hKL, LPCWSTR lpszReading, DWORD dwStyle, LPCWSTR lpszRegister)
BOOL WINAPI ImmUnregisterWordA(HKL hKL, LPCSTR lpszReading, DWORD dwStyle, LPCSTR lpszUnregister)
UINT WINAPI ImmGetRegisterWordStyleA(HKL hKL, UINT nItem, LPSTYLEBUFA lpStyleBuf)
struct ENUM_WORD_A2W * LPENUM_WORD_A2W
BOOL WINAPI ImmRegisterWordA(HKL hKL, LPCSTR lpszReading, DWORD dwStyle, LPCSTR lpszRegister)
BOOL WINAPI ImmUnregisterWordW(HKL hKL, LPCWSTR lpszReading, DWORD dwStyle, LPCWSTR lpszUnregister)
UINT WINAPI ImmGetRegisterWordStyleW(HKL hKL, UINT nItem, LPSTYLEBUFW lpStyleBuf)
static INT CALLBACK Imm32EnumWordProcA2W(LPCSTR pszReadingA, DWORD dwStyle, LPCSTR pszRegisterA, LPVOID lpData)
STRSAFEAPI StringCchLengthA(STRSAFE_LPCSTR psz, size_t cchMax, size_t *pcchLength)
STRSAFEAPI StringCchLengthW(STRSAFE_LPCWSTR psz, size_t cchMax, size_t *pcchLength)
REGISTERWORDENUMPROCW lpfnEnumProc
REGISTERWORDENUMPROCA lpfnEnumProc