Go to the source code of this file.
◆ MSGLST_CMP_ALL
◆ MSGLST_CMP_LP
◆ MSGLST_CMP_RES
◆ MSGLST_CMP_WP
◆ TEST_MAX_MSG
◆ CmpMsgList()
Definition at line 75 of file CreateDialog.c.
84 ok(
FALSE,
"%d messages expected, %d messages received!\n",
90 for (i1 = 0; i1 < recvd->
msgCount; i1++)
107 ok(
FALSE,
"Message #%.3d not equal\n", i1);
tagMsgInfo msgList[TEST_MAX_MSG]
void DumpMsgList(const char *lstName, const tagMsgList *ml)
#define expect(expected, got)
Referenced by Test_CreateDialogW().
◆ DumpMsgList()
Definition at line 56 of file CreateDialog.c.
58 const char *dlgProcName;
62 for (i1 = 0; i1 < ml->
msgCount; i1++)
65 printf(
"#%.3d %s, msg 0x%x, wParam 0x%Ix, lParam 0x%Ix, result %d\n",
tagMsgInfo msgList[TEST_MAX_MSG]
Referenced by CmpMsgList().
◆ START_TEST()
◆ Test_CreateDialogW()
void Test_CreateDialogW |
( |
| ) |
|
Definition at line 159 of file CreateDialog.c.
183 ok(
FALSE,
"Error registering Window-Class\n");
192 ok(exstyle != 0x50010,
"ExStyle wrong, got %#08lX, expected 0x50010.\n", exstyle);
const tagMsgList t1msgList
LRESULT CALLBACK Test_CreateDialogW_WNDPROC(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
DWORD WINAPI GetLastError(VOID)
BOOL CmpMsgList(const tagMsgList *recvd, const tagMsgList *expect)
ATOM WINAPI RegisterClassW(_In_ CONST WNDCLASSW *)
LONG WINAPI GetWindowLongW(_In_ HWND, _In_ int)
#define CreateDialogW(h, n, w, f)
static tagMsgList msglist
INT_PTR CALLBACK Test_CreateDialogW_DLGPROC(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
Referenced by START_TEST().
◆ Test_CreateDialogW_DLGPROC()
◆ Test_CreateDialogW_WNDPROC()
Definition at line 140 of file CreateDialog.c.
154 trace(
"WndProc: msg 0x%x, wParam 0x%x, lParam 0x%Ix, result %Id\n",
tagMsgInfo msgList[TEST_MAX_MSG]
LRESULT WINAPI DefDlgProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
static tagMsgList msglist
Referenced by Test_CreateDialogW().
◆ msglist
◆ t1msgList