20#define WM_PRESS_KEY_COMPLETE (WM_USER + 100)
39 'C',
'H',
'O',
'U',
'S',
'A',
'I',
'N',
'N',
VK_SPACE,
VK_RETURN
64 static CHAR s_sz[512];
76 case WM_IME_ENDCOMPOSITION:
80 LONG cbResult, cbBuffer;
86 trace(
"cbResult: %ld\n", cbResult);
89 ok(hIMC !=
NULL,
"hIMC was NULL\n");
92 cbBuffer = cbResult +
sizeof(
WCHAR);
94 ok(pszResult !=
NULL,
"pszResult was NULL\n");
163 static DWORD dwOldConversion, dwOldSentence;
174 ok(hIMC !=
NULL,
"hIMC was NULL");
207 ok(hIMC !=
NULL,
"hIMC was NULL");
220 if (s_cWM_IME_ENDCOMPOSITION < entry->cWM_IME_ENDCOMPOSITION)
222 skip(
"Some tests were skipped.\n");
262 skip(
"This testcase is for Japanese only.\n");
269 skip(
"SM_IMMENABLED is OFF.\n");
276 skip(
"The IME keyboard layout was not default\n");
283 skip(
"Some tests were skipped.\n");
static INT_PTR CALLBACK DialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static BOOL OnInitDialog(HWND hwnd, HWND hwndFocus, LPARAM lParam)
static const UINT s_keys2[]
static const TEST_ENTRY s_entries[]
static void OnTimer(HWND hwnd, UINT id)
struct tagTEST_ENTRY * PTEST_ENTRY
static WNDPROC s_fnOldEditWndProc
static INT s_cWM_IME_ENDCOMPOSITION
struct tagTEST_ENTRY TEST_ENTRY
#define WM_PRESS_KEY_COMPLETE
static void OnCommand(HWND hwnd, int id, HWND hwndCtl, UINT codeNotify)
static const UINT s_keys1[]
static VOID PressKey(UINT vk)
static LRESULT CALLBACK EditWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
#define ok_int(expression, result)
#define WideCharToMultiByte
BOOL WINAPI ImmIsIME(HKL hKL)
BOOL WINAPI ImmSetConversionStatus(HIMC hIMC, DWORD fdwConversion, DWORD fdwSentence)
BOOL WINAPI ImmGetConversionStatus(HIMC hIMC, LPDWORD lpfdwConversion, LPDWORD lpfdwSentence)
BOOL WINAPI ImmSetOpenStatus(HIMC hIMC, BOOL fOpen)
HIMC WINAPI ImmGetContext(HWND hWnd)
BOOL WINAPI ImmReleaseContext(HWND hWnd, HIMC hIMC)
LANGID WINAPI GetSystemDefaultLangID(void)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define ImmGetCompositionString
#define IME_SMODE_SINGLECONVERT
#define IME_CMODE_FULLSHAPE
INT cWM_IME_ENDCOMPOSITION
UINT WINAPI SendInput(UINT, LPINPUT, int)
#define HANDLE_MSG(hwnd, message, fn)
HWND WINAPI GetFocus(void)
HKL WINAPI GetKeyboardLayout(_In_ DWORD)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
UINT_PTR WINAPI SetTimer(_In_opt_ HWND, _In_ UINT_PTR, _In_ UINT, _In_opt_ TIMERPROC)
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)
BOOL WINAPI KillTimer(_In_opt_ HWND, _In_ UINT_PTR)
int WINAPI GetSystemMetrics(_In_ int)
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)