mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:23:01 +00:00
[IMM32][IMM32_WINETEST] Re-implement ImmSetCompositionStringA/W (#4040)
- Modify ImmSetCompositionStringA and ImmSetCompositionStringW prototypes (removing const of two arguments). - Add Imm32OpenICAndCS helper function. - Implement Imm32SetCompositionStringAW function. - Modify imm32_winetest (due to removal of const). CORE-11700
This commit is contained in:
parent
e98684ed8b
commit
aa8fc872a0
3 changed files with 372 additions and 16 deletions
|
@ -293,7 +293,11 @@ static void cleanup(void) {
|
|||
}
|
||||
|
||||
static void test_ImmNotifyIME(void) {
|
||||
#ifdef __REACTOS__
|
||||
static char string[] = "wine";
|
||||
#else
|
||||
static const char string[] = "wine";
|
||||
#endif
|
||||
char resstr[16] = "";
|
||||
HIMC imc;
|
||||
BOOL ret;
|
||||
|
@ -422,7 +426,11 @@ static LRESULT WINAPI test_ime_wnd_proc(HWND hWnd, UINT msg, WPARAM wParam, LPAR
|
|||
static void test_ImmGetCompositionString(void)
|
||||
{
|
||||
HIMC imc;
|
||||
#ifdef __REACTOS__
|
||||
static WCHAR string[] = {'w','i','n','e',0x65e5,0x672c,0x8a9e};
|
||||
#else
|
||||
static const WCHAR string[] = {'w','i','n','e',0x65e5,0x672c,0x8a9e};
|
||||
#endif
|
||||
char cstring[20];
|
||||
WCHAR wstring[20];
|
||||
LONG len;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue