27 static char s_szText[1024];
31 trace(
"%s", s_szText);
34#define MSGDUMP_TPRINTF MsgDumpPrintf
35#define MSGDUMP_PREFIX s_prefix
43 if (
Flags & ISMEX_CALLBACK)
45 if (
Flags & ISMEX_NOTIFY)
47 if (
Flags & ISMEX_REPLIED)
49 if (
Flags & ISMEX_SEND)
87 for (
i = 0;
i < nCount - 1; ++
i)
91 ok(entry1->iFound < entry2->iFound,
92 "Line %d: message wrong order (%d >= %d): %s vs %s\n",
93 entry1->line, entry1->iFound, entry2->iFound,
94 entry1->name, entry2->name);
161 ok(iFound1 < entries2[0].iFound,
"%d vs %d\n", iFound1, entries2[0].iFound);
162 ok(iFound2 < entries3[0].iFound,
"%d vs %d\n", iFound2, entries3[0].iFound);
163 ok(iFound3 < entries4[0].iFound,
"%d vs %d\n", iFound3, entries4[0].iFound);
164 ok(iFound4 < entries5[0].iFound,
"%d vs %d\n", iFound4, entries5[0].iFound);
168 ok(entries4[
i].iFound != -1,
"entries4[%d].iFound was -1\n",
i);
323 skip(
"RegisterClassW failed.\n");
333 skip(
"CreateWindowW failed.\n");
static MSG s_Msgs[MAX_MSGS]
static VOID DoAnalyzeAllMessages(VOID)
static LRESULT CALLBACK ImeWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static WNDPROC s_fnOldEditWndProc
static void MD_build_prefix(void)
static LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static LRESULT CALLBACK InnerWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static VOID DoAnalyzeEntries(size_t nCount, PTEST_ENTRY pEntries)
static WNDPROC s_fnOldImeWndProc
struct TEST_ENTRY TEST_ENTRY
struct TEST_ENTRY * PTEST_ENTRY
static void MsgDumpPrintf(LPCSTR fmt,...)
static INT findMessage(INT iMsg, HWND hwnd, UINT uMsg)
static LRESULT CALLBACK EditWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static WCHAR s_szName[MAX_PATH]
HWND WINAPI ImmGetDefaultIMEWnd(HWND hWnd)
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
static __inline LRESULT MSGDUMP_API MD_msgdump(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static __inline LRESULT MSGDUMP_API MD_msgresult(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT lResult)
#define WS_OVERLAPPEDWINDOW
STRSAFEAPI StringCbVPrintfA(STRSAFE_LPSTR pszDest, size_t cbDest, STRSAFE_LPCSTR pszFormat, va_list argList)
STRSAFEAPI StringCbCopyA(STRSAFE_LPSTR pszDest, size_t cbDest, STRSAFE_LPCSTR pszSrc)
TW_UINT32 TW_UINT16 TW_UINT16 MSG
DWORD WINAPI InSendMessageEx(LPVOID lpReserved)
BOOL WINAPI TranslateMessage(_In_ const MSG *)
LRESULT WINAPI DefWindowProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI GetMessageW(_Out_ LPMSG, _In_opt_ HWND, _In_ UINT, _In_ UINT)
BOOL WINAPI PostMessageW(_In_opt_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
#define WM_WINDOWPOSCHANGING
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
ATOM WINAPI RegisterClassW(_In_ CONST WNDCLASSW *)
#define WM_IME_SETCONTEXT
HWND WINAPI SetFocus(_In_opt_ HWND)
#define CreateWindowW(a, b, c, d, e, f, g, h, i, j, k)
LRESULT WINAPI DispatchMessageW(_In_ const MSG *)
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)
#define SetWindowLongPtrW
#define WM_WINDOWPOSCHANGED
_Must_inspect_result_ _In_ ULONG Flags