12#define IGNORED 0xDEADFACE
13#define RAISED 0xBADBEEF
14#define DO_CHECK(i, value) CheckThreadState(__LINE__, (i), (DWORD_PTR)(value))
26 trace(
"__LINE__: %d\n", lineno);
32 trace(
"ImmGetDefaultIMEWnd(): %p\n", (
LPVOID)hImeWnd);
42 trace(
"ThreadState[%d]: exception\n",
i);
67 ok(dwValue == dwState,
"Line %d: Mismatch 0x%lX vs. 0x%lX\n",
94 PrintThreadState(__LINE__,
hWnd);
111 PrintThreadState(__LINE__,
hWnd);
128 PrintThreadState(__LINE__,
hWnd);
145 PrintThreadState(__LINE__,
hWnd);
162 PrintThreadState(__LINE__,
hWnd);
179 PrintThreadState(__LINE__,
hWnd);
218 PrintThreadState(__LINE__,
hWnd);
235 PrintThreadState(__LINE__,
hWnd);
252 PrintThreadState(__LINE__,
hWnd);
269 PrintThreadState(__LINE__,
hWnd);
286 PrintThreadState(__LINE__,
hWnd);
303 PrintThreadState(__LINE__,
hWnd);
static VOID DoTest_EDIT(VOID)
#define DO_CHECK(i, value)
static VOID DoTest_BUTTON(VOID)
static VOID CheckThreadState(INT lineno, INT i, DWORD_PTR dwState)
#define ok_int(expression, result)
HWND WINAPI ImmGetDefaultIMEWnd(HWND hWnd)
HIMC WINAPI ImmGetContext(HWND hWnd)
BOOL WINAPI ImmReleaseContext(HWND hWnd, HIMC hIMC)
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
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
DWORD_PTR NTAPI NtUserGetThreadState(DWORD Routine)
#define EXCEPTION_EXECUTE_HANDLER
#define _SEH2_EXCEPT(...)
HCURSOR WINAPI GetCursor(void)
HWND WINAPI GetFocus(void)
HWND WINAPI SetCapture(_In_ HWND hWnd)
HWND WINAPI GetActiveWindow(void)
BOOL WINAPI ReleaseCapture(void)
#define CreateWindowA(a, b, c, d, e, f, g, h, i, j, k)
HWND WINAPI GetCapture(void)
HWND WINAPI SetFocus(_In_opt_ HWND)
HWND WINAPI SetActiveWindow(_In_ HWND)
LONG WINAPI GetMessageTime(void)
LPARAM WINAPI GetMessageExtraInfo(void)
BOOL WINAPI DestroyWindow(_In_ HWND)