10#define TEST_MAX_MSG 50
13#define MSGLST_CMP_WP 0x1
14#define MSGLST_CMP_LP 0x2
15#define MSGLST_CMP_RES 0x4
16#define MSGLST_CMP_ALL (MSGLST_CMP_WP | MSGLST_CMP_LP | MSGLST_CMP_RES)
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",
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);
135 trace(
"DlgProc: msg 0x%x, wParam 0x%x, lParam 0x%Ix\n",
154 trace(
"WndProc: msg 0x%x, wParam 0x%x, lParam 0x%Ix, result %Id\n",
183 ok(
FALSE,
"Error registering Window-Class\n");
192 ok(exstyle != 0x50010,
"ExStyle wrong, got %#08lX, expected 0x50010.\n", exstyle);
LRESULT CALLBACK Test_CreateDialogW_WNDPROC(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
const tagMsgList t1msgList
void Test_CreateDialogW()
void DumpMsgList(const char *lstName, const tagMsgList *ml)
BOOL CmpMsgList(const tagMsgList *recvd, const tagMsgList *expect)
INT_PTR CALLBACK Test_CreateDialogW_DLGPROC(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
static tagMsgList msglist
tagMsgInfo msgList[TEST_MAX_MSG]
DWORD WINAPI GetLastError(void)
LRESULT WINAPI DefDlgProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
LONG WINAPI GetWindowLongW(_In_ HWND, _In_ int)
ATOM WINAPI RegisterClassW(_In_ CONST WNDCLASSW *)
#define CreateDialogW(h, n, w, f)