171 trace (
"Control %ld is out of range\n",
p->id);
179 trace (
"Control %ld is out of range\n",
p->id);
182 if (
hwnd[
p->id] != 0)
184 trace (
"Control %ld is used more than once\n",
p->id);
189 sprintf (ctrlname,
"ctrl%4.4ld",
p->id);
190 hwnd[
p->id] =
CreateWindowExA(
p->exstyle,
p->parent ?
"static" :
"GetNextDlgItemWindowClass", ctrlname,
p->style, 10, 10, 10, 10,
hwnd[
p->parent],
p->parent ? (
HMENU) (2000 +
p->id) : 0,
hinst, 0);
193 trace (
"Failed to create control %ld\n",
p->id);
205 if (
style !=
p->style || exstyle !=
p->exstyle)
207 trace (
"Style mismatch at %ld: %8.8x %8.8x cf %8.8x %8.8x\n",
p->id,
style, exstyle,
p->style,
p->exstyle);
219 return ((
repeat & 0x0000FFFF) | ((scancode & 0x00FF) << 16) |
220 (extended ? 0x01000000 : 0) | (wasdown ? 0x40000000 : 0));
354 { 1, 1, 6, 0, 0, 1, 0},
355 { 1, 2, 6, 0, 1, 1, 0},
356 { 1, 3, 6, 6, 0, 1, 0},
357 { 1, 4, 6, 6, 1, 1, 0},
358 { 1, 5, 6, 0, 0, 0, 66},
359 { 1, 6, 6, 0, 1, 0, 67},
360 { 1, 7, 6, 6, 0, 0, 66},
361 { 1, 8, 6, 6, 1, 0, 67},
363 { 1, 9, 4, 83, 1, 0, 84},
364 { 1, 10, 4, 83, 0, 0, 5},
365 { 1, 11, 5, 81, 1, 0, 67},
366 { 1, 12, 5, 81, 0, 0, 66},
367 { 1, 13, 5, 82, 1, 1, 78},
369 { 1, 14, 5, 82, 0, 1, 79},
370 { 1, 15, 6, 70, 0, 0, 72},
371 { 1, 16, 6, 72, 0, 0, 25},
372 { 1, 17, 6, 75, 0, 0, 26},
373 { 1, 18, 6, 77, 0, 0, 76},
374 { 1, 19, 6, 79, 0, 0, 66},
375 { 1, 20, 6, 71, 0, 0, 72},
376 { 1, 21, 6, 64, 0, 0, 66},
378 { 1, 22, 6, 25, 0, 0, 70},
379 { 1, 23, 6, 68, 0, 0, 68},
380 { 1, 24, 6, 25, 0, 1, 72},
381 { 1, 25, 1, 70, 0, 0, 72},
383 { 1, 27, 1, 70, 1, 0, 72},
386 { 1, 29, 6, 67, 1, 0, 72},
387 { 1, 30, 6, 72, 1, 1, 67},
389 { 1, 35, 2, 0, 0, 0, 60},
390 { 1, 36, 2, 0, 1, 0, 60},
392 { 0, 0, 0, 0, 0, 0, 0}
403 ok (
a ==
hwnd[
p->res],
"Test %d: %s %s item of %d in %d was %d instead of %d\n",
p->test,
p->prev ?
"Prev" :
"Next",
p->tab ?
"Tab" :
"Group",
p->ctl,
p->dlg,
id(
a),
p->res);
447 "button",
"Button &1",
557 static const short sample[] = { 10,1,2,3,4,5 };
559 short *
data =
cs->lpCreateParams;
560 ok(!
memcmp(
data, sample,
sizeof(sample)),
"data mismatch: %d,%d,%d,%d,%d\n",
data[0],
data[1],
data[2],
data[3],
data[4]);
606 HWND child1, child2, child3;
612 "WM_NEXTDLGCTLWndClass",
613 "WM_NEXTDLGCTL Message test window",
686 ok(child1 !=
NULL,
"failed to create first child\n");
689 ok(child2 !=
NULL,
"failed to create second child\n");
693 ok(child3 !=
NULL,
"failed to create subchild\n");
697 ok(
LOWORD(dwVal) == 200,
"expected 200, got %x\n", dwVal);
701 ok(
LOWORD(dwVal) == 300,
"expected 300, got %x\n", dwVal);
703 "expected child3 not to be marked as DLGC_DEFPUSHBUTTON\n");
718 ok(0,
"unexpected hook called, code %d\n",
code);
777 "Focus did not move to cancel button\n");
897 static HWND hChildDlg;
913 temp.tmplate.dwExtendedStyle = 0;
914 temp.tmplate.cdit = 0;
923 ok(hChildDlg != 0,
"Failed to create test dialog.\n");
939 return "a null handle";
941 return "the dialog handle";
943 return "the group box control";
945 return "the first button";
947 return "the second button";
949 return "the cancel button";
951 return "unknown handle";
977 "Error in wrc - Detected WS_TABSTOP as default style for GROUPBOX\n");
980 "Modal dialogs should not be shown until the message queue first goes empty\n");
983 "Error in initial focus when WM_INITDIALOG returned FALSE: "
984 "Expected NULL focus, got %s (%p).\n",
988 "Error after first SetFocus() when WM_INITDIALOG returned FALSE: "
989 "Expected the second button (%p), got %s (%p).\n",
1008 "Error in initial focus when WM_INITDIALOG returned TRUE: "
1009 "Expected the second button (%p), got %s (%p).\n",
1014 "Error after first SetFocus() when WM_INITDIALOG returned TRUE: "
1015 "Expected the second button (%p), got %s (%p).\n",
1027 DWORD selectionStart = 0xdead, selectionEnd = 0xbeef;
1035 ok (hDlg != 0,
"Failed to create test dialog.\n");
1046 ok(selectionStart == 0 && selectionEnd == 11,
"Text selection after WM_SETFOCUS is [%i, %i) expected [0, 11)\n", selectionStart, selectionEnd);
1052 ok(selectionStart == 0 && selectionEnd == 0,
"Text selection after WM_ACTIVATE is [%i, %i) expected [0, 0)\n", selectionStart, selectionEnd);
1071 ok(hDlg != 0,
"Failed to create test dialog.\n");
1074 ok(
GetFocus() == hLabel,
"Focus not set to label, focus=%p dialog=%p label=%p\n",
GetFocus(), hDlg, hLabel);
1080 ok(hDlg != 0,
"Failed to create test dialog.\n");
1085 ok(
GetFocus() ==
NULL,
"Focus set on WM_ACTIVATE, focus=%p dialog=%p label=%p\n",
GetFocus(), hDlg, hLabel);
1089 ok(
GetFocus() == hLabel,
"Focus not set to label on WM_SETFOCUS, focus=%p dialog=%p label=%p\n",
GetFocus(), hDlg, hLabel);
1102 DWORD selectionStart = 0xdead, selectionEnd = 0xbeef;
1109 ok(hDlg != 0,
"Failed to create test dialog.\n");
1112 ok(
GetFocus() == edit,
"Focus not set to edit, focus=%p, dialog=%p, edit=%p\n",
1115 ok(selectionStart == 0 && selectionEnd == 11,
1116 "Text selection after WM_SETFOCUS is [%i, %i) expected [0, 11)\n",
1117 selectionStart, selectionEnd);
1136 ok(hDlg != 0,
"Failed to create test dialog.\n");
1139 ok(
GetFocus() == edit,
"Focus not set to edit, focus=%p, dialog=%p, edit=%p\n",
1151 strcpy(
string,
"Overwrite Me");
1153 ok(!
ret,
"GetDlgItemText(NULL) shouldn't have succeeded\n");
1156 "string retrieved using GetDlgItemText should have been NULL terminated\n");
1176 ok(
val == -1,
"Unexpected id.\n");
1179 ok(
val == -1,
"Unexpected id %ld.\n",
val);
1185 ok(
val == -2,
"Unexpected id.\n");
1188 ok(
val == -2,
"Unexpected id %ld.\n",
val);
1202 hwnd =
CreateWindowA(
"button",
"parent",
WS_VISIBLE, 0, 0, 100, 100,
NULL, 0,
g_hinst,
NULL);
1203 ok(
hwnd !=
NULL,
"failed to created window\n");
1206 child1 =
CreateWindowA(
"button",
"child1",
WS_VISIBLE|
WS_CHILD, 0, 0, 10, 10,
hwnd, 0,
g_hinst,
NULL);
1207 ok(child1 !=
NULL,
"failed to create first child\n");
1208 child2 =
CreateWindowA(
"button",
"child2",
WS_VISIBLE|
WS_CHILD, 0, 0, 10, 10,
hwnd, 0,
g_hinst,
NULL);
1209 ok(child2 !=
NULL,
"failed to create second child\n");
1212 ok(hwnd2 == child1,
"expected first child, got %p\n", hwnd2);
1215 ok(hwnd2 == child1,
"expected first child to be top, got %p\n", hwnd2);
1220 ok(hwnd2 == child2,
"expected second child to be top, got %p\n", hwnd2);
1224 ok(hwnd2 == child2,
"expected second child, got %p\n", hwnd2);
1228 child2 =
CreateWindowA(
"button",
"child2",
WS_VISIBLE|
WS_CHILD, 0, 0, 10, 10, child1, 0,
g_hinst,
NULL);
1229 ok(child2 !=
NULL,
"failed to create second child\n");
1235 ok(!hwnd2,
"expected child to not be found, got %p\n", hwnd2);
1241 ok(!hwnd2,
"expected child to not be found, got %p\n", hwnd2);
1248 ok(
retval == 0xdead,
"Unexpected return value.\n");
1287 "Expected wParam to be the handle to the first tabstop control (%p), got %p\n",
1311 static int received_idok;
1321 ok(received_idok == 0xdead,
"WM_COMMAND/0xdead not received\n");
1325 ok(received_idok ==
IDOK,
"WM_COMMAND/IDOK not received\n");
1332 if (received_idok == -1)
1335 ok(!
hwnd,
"dialog item with ID 0xdead should not exist\n");
1359 ok(
control != 0,
"dialog control with id 7 not found\n");
1369 ok(
control != 0,
"dialog control with id 8 not found\n");
1560 ok(
ret,
"Failed to set window text.\n");
1565 ok(
ret,
"Failed to set window text.\n");
1569 ok(
buff[0] == 0 &&
buff[1] ==
'A' &&
len == 0,
"Unexpected window text %#x, %#x, len %d\n",
1572 memset(buffW, 0xff,
sizeof(buffW));
1596 ok(
ret,
"Failed to set window text.\n");
1601 ok(
ret,
"Failed to set window text.\n");
1605 ok(
buff[0] == 0 &&
buff[1] ==
'A' &&
len == 0,
"Unexpected window text %#x, %#x, len %d\n",
1608 memset(buffW, 0xff,
sizeof(buffW));
1610 ok(buffW[0] ==
'W' && buffW[1] == 0xffff &&
len == 0,
"Unexpected window text %#x, %#x, len %d\n",
1611 buffW[0], buffW[1],
len);
1667 ok(
ret,
"Failed to set window text.\n");
1672 ok(
ret,
"Failed to set window text.\n");
1678 memset(buffW, 0xff,
sizeof(buffW));
1680 ok(buffW[0] == 0 && buffW[1] == 0xffff &&
len == 0,
"Unexpected window text %s, len %d\n",
1703 ok(
ret,
"Failed to set window text.\n");
1708 ok(
ret,
"Failed to set window text.\n");
1714 memset(buffW, 0xff,
sizeof(buffW));
1716 ok(buffW[0] == 0 && buffW[1] == 0xffff &&
len == 0,
"Unexpected window text %#x, %#x, len %d\n",
1717 buffW[0], buffW[1],
len);
1767 ok(0,
"Unexpected test mode %d.\n",
mode);
1784 ok(is_unicode ==
IsWindowUnicode(hdlg),
"Unexpected unicode window property.\n");
1818 static const WCHAR nameW[] = {
'T',
'E',
'S',
'T',
'_',
'E',
'M',
'P',
'T',
'Y',
'_',
'D',
'I',
'A',
'L',
'O',
'G',0};
1823 ok(
ret == -7,
"expected -7, got %ld\n",
ret);
1827 ok(0 ==
ret ||
broken(
ret == -1),
"DialogBoxParamA returned %ld, expected 0\n",
ret);
1830 "got %d, expected ERROR_INVALID_WINDOW_HANDLE\n",
GetLastError());
1835 ok(-1 ==
ret,
"DialogBoxParamA returned %ld, expected -1\n",
ret);
1839 "got %d, expected ERROR_INVALID_WINDOW_HANDLE\n",
GetLastError());
1843 ok(0 ==
ret,
"DialogBoxParamA returned %ld, expected 0\n",
ret);
1847 ok(-1 ==
ret,
"DialogBoxParamA returned %ld, expected -1\n",
ret);
1850 "got %d, expected ERROR_RESOURCE_NAME_NOT_FOUND\n",
GetLastError());
1854 ok(
ret == -1,
"DialogBoxParamA returned %ld, expected -1\n",
ret);
1859 ok(
ret == 0,
"DefDlgProcA returned %ld, expected 0\n",
ret);
1862 "got %d, expected ERROR_INVALID_WINDOW_HANDLE\n",
GetLastError());
1871 ok(
ret == 0,
"Unexpected ret value %ld.\n",
ret);
1875 ok(
ret == -123,
"Unexpected ret value %ld.\n",
ret);
1878 ok(
ret == -123,
"Unexpected ret value %ld.\n",
ret);
1881 ok(
ret == -123,
"Unexpected ret value %ld.\n",
ret);
1884 ok(
ret == -123,
"Unexpected ret value %ld.\n",
ret);
1913 static unsigned char dlgTemplate[] =
1918 0x00,0x00,0x00,0x00,
1919 0x00,0x00,0x00,0x00,
1920 0xc0,0x00,0xc8,0x80,
1935 0x00,0x00,0x00,0x00,
1936 0x00,0x00,0x00,0x00,
1937 0x00,0x00,0x00,0x50,
1942 0x00,0x01,0x00,0x00,
1943 0xff,0xff,0x82,0x00,
1961 NONCLIENTMETRICSW ncMetrics;
1971 win_skip(
"dialog wasn't created\n");
1978 skip(
"dialog uses system font\n");
1984 ncMetrics.cbSize =
FIELD_OFFSET(NONCLIENTMETRICSW, iPaddedBorderWidth);
1988 "dialog doesn't use message box font\n");
1992static const char msgbox_title[] =
"%5!z9ZXw*ia;57n/FGl.bCH,Su\"mfKN;foCqAU\'j6AmoJgAc_D:Z0A\'E6PF_O/w";
1995'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n',
1996'%',
'5',
'!',
'z',
'9',
'Z',
'X',
'w',
'*',
'i',
'a',
';',
'5',
'7',
'n',
'/',
'F',
'G',
'l',
'.',
'b',
'C',
'H',
',',
'S',
'u',
'"',
'm',
'f',
1997'K',
'N',
';',
'f',
'o',
'C',
'q',
'A',
'U',
'\'',
'j',
'6',
'A',
'm',
'o',
'J',
'g',
'A',
'c',
'_',
'D',
':',
'Z',
'0',
'A',
'\'',
'E',
'6',
'P',
1998'F',
'_',
'O',
'/',
'w',
'\r',
'\n',
1999'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n',
2000'M',
'e',
's',
's',
'a',
'g',
'e',
'\r',
'\n',
2001'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n',
2002'O',
'K',
' ',
' ',
' ',
'\r',
'\n',
2003'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n', 0
2007'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n',
2008'%',
'5',
'!',
'z',
'9',
'Z',
'X',
'w',
'*',
'i',
'a',
';',
'5',
'7',
'n',
'/',
'F',
'G',
'l',
'.',
'b',
'C',
'H',
',',
'S',
'u',
'"',
'm',
'f',
2009'K',
'N',
';',
'f',
'o',
'C',
'q',
'A',
'U',
'\'',
'j',
'6',
'A',
'm',
'o',
'J',
'g',
'A',
'c',
'_',
'D',
':',
'Z',
'0',
'A',
'\'',
'E',
'6',
'P',
2010'F',
'_',
'O',
'/',
'w',
'\r',
'\n',
2011'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n',
2012'M',
'e',
's',
's',
'a',
'g',
'e',
'\r',
'\n',
2013'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n',
2014'O',
'K',
' ',
' ',
' ',
'C',
'a',
'n',
'c',
'e',
'l',
' ',
' ',
' ',
'\r',
'\n',
2015'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n', 0
2019'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n',
2020'%',
'5',
'!',
'z',
'9',
'Z',
'X',
'w',
'*',
'i',
'a',
';',
'5',
'7',
'n',
'/',
'F',
'G',
'l',
'.',
'b',
'C',
'H',
',',
'S',
'u',
'"',
'm',
'f',
2021'K',
'N',
';',
'f',
'o',
'C',
'q',
'A',
'U',
'\'',
'j',
'6',
'A',
'm',
'o',
'J',
'g',
'A',
'c',
'_',
'D',
':',
'Z',
'0',
'A',
'\'',
'E',
'6',
'P',
2022'F',
'_',
'O',
'/',
'w',
'\r',
'\n',
2023'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n',
2024'M',
'e',
's',
's',
'a',
'g',
'e',
'\r',
'\n',
2025'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n',
2026'A',
'b',
'o',
'r',
't',
' ',
' ',
' ',
'R',
'e',
't',
'r',
'y',
' ',
' ',
' ',
'I',
'g',
'n',
'o',
'r',
'e',
' ',
' ',
' ',
'\r',
'\n',
2027'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n', 0
2032'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n',
2033'%',
'5',
'!',
'z',
'9',
'Z',
'X',
'w',
'*',
'i',
'a',
';',
'5',
'7',
'n',
'/',
'F',
'G',
'l',
'.',
'b',
'C',
'H',
',',
'S',
'u',
'"',
'm',
'f',
2034'K',
'N',
';',
'f',
'o',
'C',
'q',
'A',
'U',
'\'',
'j',
'6',
'A',
'm',
'o',
'J',
'g',
'A',
'c',
'_',
'D',
':',
'Z',
'0',
'A',
'\'',
'E',
'6',
'P',
2035'F',
'_',
'O',
'/',
'w',
'\r',
'\n',
2036'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n',
2037'M',
'e',
's',
's',
'a',
'g',
'e',
'\r',
'\n',
2038'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n',
2039'Y',
'e',
's',
' ',
' ',
' ',
'N',
'o',
' ',
' ',
' ',
'\r',
'\n',
2040'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n', 0
2044'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n',
2045'%',
'5',
'!',
'z',
'9',
'Z',
'X',
'w',
'*',
'i',
'a',
';',
'5',
'7',
'n',
'/',
'F',
'G',
'l',
'.',
'b',
'C',
'H',
',',
'S',
'u',
'"',
'm',
'f',
2046'K',
'N',
';',
'f',
'o',
'C',
'q',
'A',
'U',
'\'',
'j',
'6',
'A',
'm',
'o',
'J',
'g',
'A',
'c',
'_',
'D',
':',
'Z',
'0',
'A',
'\'',
'E',
'6',
'P',
2047'F',
'_',
'O',
'/',
'w',
'\r',
'\n',
2048'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n',
2049'M',
'e',
's',
's',
'a',
'g',
'e',
'\r',
'\n',
2050'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n',
2051'Y',
'e',
's',
' ',
' ',
' ',
'N',
'o',
' ',
' ',
' ',
'C',
'a',
'n',
'c',
'e',
'l',
' ',
' ',
' ',
'\r',
'\n',
2052'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n', 0
2056'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n',
2057'%',
'5',
'!',
'z',
'9',
'Z',
'X',
'w',
'*',
'i',
'a',
';',
'5',
'7',
'n',
'/',
'F',
'G',
'l',
'.',
'b',
'C',
'H',
',',
'S',
'u',
'"',
'm',
'f',
2058'K',
'N',
';',
'f',
'o',
'C',
'q',
'A',
'U',
'\'',
'j',
'6',
'A',
'm',
'o',
'J',
'g',
'A',
'c',
'_',
'D',
':',
'Z',
'0',
'A',
'\'',
'E',
'6',
'P',
2059'F',
'_',
'O',
'/',
'w',
'\r',
'\n',
2060'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n',
2061'M',
'e',
's',
's',
'a',
'g',
'e',
'\r',
'\n',
2062'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n',
2063'R',
'e',
't',
'r',
'y',
' ',
' ',
' ',
'C',
'a',
'n',
'c',
'e',
'l',
' ',
' ',
' ',
'\r',
'\n',
2064'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n', 0
2068'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n',
2069'%',
'5',
'!',
'z',
'9',
'Z',
'X',
'w',
'*',
'i',
'a',
';',
'5',
'7',
'n',
'/',
'F',
'G',
'l',
'.',
'b',
'C',
'H',
',',
'S',
'u',
'"',
'm',
'f',
2070'K',
'N',
';',
'f',
'o',
'C',
'q',
'A',
'U',
'\'',
'j',
'6',
'A',
'm',
'o',
'J',
'g',
'A',
'c',
'_',
'D',
':',
'Z',
'0',
'A',
'\'',
'E',
'6',
'P',
2071'F',
'_',
'O',
'/',
'w',
'\r',
'\n',
2072'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n',
2073'M',
'e',
's',
's',
'a',
'g',
'e',
'\r',
'\n',
2074'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n',
2075'C',
'a',
'n',
'c',
'e',
'l',
' ',
' ',
' ',
'T',
'r',
'y',
' ',
'A',
'g',
'a',
'i',
'n',
' ',
' ',
' ',
'C',
'o',
'n',
't',
'i',
'n',
'u',
'e',
' ',
' ',
' ',
'\r',
'\n',
2076'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'-',
'\r',
'\n', 0
2127 ok(0,
"No text on clipboard.\n");
2133 trace(
"Clipboard error\n");
2188 ok (hDlg != 0,
"Failed to create test dialog.\n");
2191 ok (foundId == 1000,
"First edit box should have gained focus on dialog creation. Expected: %d, Found: %ld\n", 1000, foundId);
2196 ok (foundId == 1001,
"First edit box should have regained focus after dialog reactivation. Expected: %d, Found: %ld\n", 1001, foundId);
2204 ok (foundId == 1000,
"First edit box should have regained focus after dialog reactivation. Expected: %d, Found: %ld\n", 1000, foundId);
2210 ok (foundId == 1001,
"Second edit box should have gained focus. Expected: %d, Found: %ld\n", 1001, foundId);
2217 ok (foundId == 1001,
"Second edit box should have gained focus after dialog reactivation. Expected: %d, Found: %ld\n", 1001, foundId);
2223 ok (foundId == 1000,
"First edit box should have gained focus on dialog focus. Expected: %d, Found: %ld\n", 1000, foundId);
2229 ok (foundId == 1001,
"Second edit box should have gained focus. Expected: %d, Found: %ld\n", 1001, foundId);
2235 ok (foundId == 1001,
"Second edit box should have gained focus. Expected: %d, Found: %ld\n", 1001, foundId);
2241 ok (foundHwnd ==
NULL,
"Second edit box should have lost focus after being disabled. Expected: %p, Found: %p\n",
NULL, foundHwnd);
2248 ok (foundHwnd ==
NULL,
"No controls should have gained focus after dialog reactivation. Expected: %p, Found: %p\n",
NULL, foundHwnd);
2263 ok(!visible,
"Dialog should not be visible.\n");
2278 ok(!visible,
"Dialog should not be visible.\n");
2283 ok(visible,
"Dialog should be visible.\n");
2290 ok(visible,
"Dialog should be visible.\n");
2314 ok(!
strcmp(
text,
"MSGBOX caption"),
"Unexpected window text \"%s\"\n",
text);
2317 ok(msghwnd !=
NULL,
"Expected static control\n");
2345 owner =
CreateWindowExA(0,
"Static",
NULL,
WS_POPUP, 10, 10, 10, 10, 0, 0, 0,
NULL);
2346 ok(
owner != 0,
"failed to create owner window\n");
2370 ok(0,
"failed to wait for a window %s\n",
caption);
2409 for (
i = 0;
i <
sizeof(
test)/
sizeof(
test[0]);
i++)
2430 for (
i = 0;
i <
sizeof(
test)/
sizeof(
test[0]);
i++)
int strcmp(const char *String1, const char *String2)
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
static const WCHAR nameW[]
static void cleanup(void)
HMODULE WINAPI DECLSPEC_HOTPATCH GetModuleHandleA(LPCSTR lpModuleName)
HANDLE WINAPI DECLSPEC_HOTPATCH CreateThread(IN LPSECURITY_ATTRIBUTES lpThreadAttributes, IN DWORD dwStackSize, IN LPTHREAD_START_ROUTINE lpStartAddress, IN LPVOID lpParameter, IN DWORD dwCreationFlags, OUT LPDWORD lpThreadId)
HRSRC WINAPI FindResourceA(HMODULE hModule, LPCSTR name, LPCSTR type)
LPVOID WINAPI LockResource(HGLOBAL handle)
HGLOBAL WINAPI LoadResource(HINSTANCE hModule, HRSRC hRsrc)
int WINAPI lstrcmpW(LPCWSTR str1, LPCWSTR str2)
int WINAPI lstrcmpA(LPCSTR str1, LPCSTR str2)
LANGID WINAPI GetUserDefaultLangID(void)
static unsigned char buff[32768]
GLuint GLuint GLsizei count
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLenum const GLfloat * params
GLenum GLuint GLenum GLsizei const GLchar * buf
GLboolean GLboolean GLboolean GLboolean a
GLfloat GLfloat GLfloat GLfloat h
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
LPVOID NTAPI GlobalLock(HGLOBAL hMem)
BOOL NTAPI GlobalUnlock(HGLOBAL hMem)
REFIID LPVOID DWORD_PTR dw
#define sprintf(buf, format,...)
static const char textA[]
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
#define todo_wine_if(is_todo)
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
static unsigned int numwnds
static HWND g_hwndInitialFocusT1
static INT_PTR CALLBACK messageBoxFontDlgWinProc(HWND hDlg, UINT uiMsg, WPARAM wParam, LPARAM lParam)
static WCHAR expectedRetryCancel[]
static const char * testtext
static BOOL OnMainWindowCreate(HWND hwnd, LPCREATESTRUCTA lpcs)
static void test_MessageBox(void)
static LRESULT CALLBACK disabled_test_proc(HWND hwnd, UINT uiMsg, WPARAM wParam, LPARAM lParam)
static LRESULT CALLBACK hook_proc2(INT code, WPARAM wParam, LPARAM lParam)
static WCHAR expectedOkCancel[]
static void test_WM_NEXTDLGCTL(void)
static const char msgbox_title[]
static WCHAR expectedOK[]
static LONG g_styleInitialFocusT1
static void test_IsDialogMessage(void)
static INT_PTR CALLBACK EmptyProcUserTemplate(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static LRESULT CALLBACK hook_proc(INT code, WPARAM wParam, LPARAM lParam)
static void test_dialog_custom_data(void)
static WCHAR expectedCancelTryContinue[]
static HWND g_hwndTestDlg
static WCHAR expectedYesNo[]
static INT_PTR CALLBACK focusChildDlgWinProc(HWND hwnd, UINT uiMsg, WPARAM wParam, LPARAM lParam)
static INT_PTR CALLBACK test_aw_conversion_dlgprocW(HWND hdlg, UINT msg, WPARAM wparam, LPARAM lparam)
static void dlg_test_aw_message(HWND hdlg, UINT msg)
DWORD WINAPI WorkerThread(void *param)
static INT_PTR CALLBACK delayFocusDlgWinProc(HWND hDlg, UINT uiMsg, WPARAM wParam, LPARAM lParam)
static BOOL g_bInitialFocusInitDlgResult
static INT_PTR CALLBACK TestDefButtonDlgProc(HWND hDlg, UINT uiMsg, WPARAM wParam, LPARAM lParam)
static DWORD WINAPI create_window_thread(void *param)
static const char * testmodes[]
static INT_PTR CALLBACK timer_message_dlg_proc(HWND wnd, UINT msg, WPARAM wparam, LPARAM lparam)
static HWND g_hwndInitialFocusT2
static void test_focus(void)
static HWND g_hwndTestDlgBut1
static void test_GetDlgItemText(void)
static void test_GetNextDlgItem(void)
static BOOL OnTestDlgCreate(HWND hwnd, LPCREATESTRUCTA lpcs)
static INT_PTR CALLBACK focusDlgWinProc(HWND hDlg, UINT uiMsg, WPARAM wParam, LPARAM lParam)
static void test_SaveRestoreFocus(void)
static HWND g_hwndTestDlgBut2
static const WCHAR testtextW[]
static INT_PTR CALLBACK custom_test_dialog_proc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM lparam)
static HWND g_hwndButtonCancel
static DWORD get_button_style(HWND button)
static BOOL g_button1Clicked
static void test_GetDlgItem(void)
static void FormTabMsg(MSG *pMsg, HWND hwnd)
static HWND g_hwndButton1
static const char * GetHwndString(HWND hw)
static INT_PTR CALLBACK test_aw_conversion_dlgproc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM lparam)
static INT_PTR CALLBACK TestControlStyleDlgProc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM lparam)
static DWORD KeyDownData(int repeat, int scancode, int extended, int wasdown)
static WCHAR expectedAbortRetryIgnore[]
static LRESULT CALLBACK testDlgWinProc(HWND hwnd, UINT uiMsg, WPARAM wParam, LPARAM lParam)
static HWND g_hwndInitialFocusGroupBox
static void test_MessageBox_WM_COPY_Test(void)
static INT_PTR CALLBACK DestroyDlgWinProc(HWND hDlg, UINT uiMsg, WPARAM wParam, LPARAM lParam)
static BOOL CreateWindows(HINSTANCE hinst)
static HWND g_hwndTestDlgEdit
static HWND wait_for_window(const char *caption)
static INT_PTR CALLBACK TestInitDialogHandleProc(HWND hDlg, UINT uiMsg, WPARAM wParam, LPARAM lParam)
static BOOL g_bReceivedCommand
static INT_PTR CALLBACK test_aw_conversion_dlgproc3(HWND hdlg, UINT msg, WPARAM wparam, LPARAM lparam)
static void FormEnterMsg(MSG *pMsg, HWND hwnd)
static INT_PTR CALLBACK DestroyOnCloseDlgWinProc(HWND hDlg, UINT uiMsg, WPARAM wParam, LPARAM lParam)
static const h_entry hierarchy[]
static void test_DialogBoxParam(void)
static void test_MessageBoxFontTest(void)
static LRESULT CALLBACK test_control_procA(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
static void test_timer_message(void)
static INT_PTR CALLBACK TestReturnKeyDlgProc(HWND hDlg, UINT uiMsg, WPARAM wParam, LPARAM lParam)
static LONG g_styleInitialFocusT2
static BOOL RegisterWindowClasses(void)
static BOOL g_MSGF_DIALOGBOX
static LRESULT CALLBACK main_window_procA(HWND hwnd, UINT uiMsg, WPARAM wParam, LPARAM lParam)
static LRESULT CALLBACK test_aw_conversion_wndproc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
static LRESULT CALLBACK msgbox_hook_proc(INT code, WPARAM wParam, LPARAM lParam)
static INT_PTR CALLBACK test_aw_conversion_dlgprocA(HWND hdlg, UINT msg, WPARAM wparam, LPARAM lparam)
static WCHAR expectedYesNoCancel[]
static INT_PTR CALLBACK getdlgitem_test_dialog_proc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM lparam)
static void test_DisabledDialogTest(void)
static HWND g_hwndButton2
static INT_PTR CALLBACK test_aw_conversion_dlgproc2(HWND hdlg, UINT msg, WPARAM wparam, LPARAM lparam)
unsigned __int3264 UINT_PTR
#define WS_OVERLAPPEDWINDOW
#define WS_EX_NOPARENTNOTIFY
#define WS_EX_DLGMODALFRAME
#define WS_EX_TRANSPARENT
WCHAR lfFaceName[LF_FACESIZE]
DWORD WINAPI WaitForSingleObject(IN HANDLE hHandle, IN DWORD dwMilliseconds)
VOID WINAPI DECLSPEC_HOTPATCH Sleep(IN DWORD dwMilliseconds)
TW_UINT32 TW_UINT16 TW_UINT16 MSG
#define FIELD_OFFSET(t, f)
#define MB_CANCELTRYCONTINUE
UINT WINAPI GetDlgItemTextA(HWND hDlg, int nIDDlgItem, LPSTR lpString, int nMaxCount)
int WINAPI GetWindowTextA(HWND hWnd, LPSTR lpString, int nMaxCount)
int WINAPI GetWindowTextW(HWND hWnd, LPWSTR lpString, int nMaxCount)
DWORD WINAPI GetLastError(void)
DWORD WINAPI GetCurrentThreadId(void)
DWORD WINAPI GetCurrentProcessId(void)
#define ERROR_INVALID_WINDOW_HANDLE
#define ERROR_RESOURCE_NAME_NOT_FOUND
int WINAPI GetObjectW(_In_ HANDLE h, _In_ int c, _Out_writes_bytes_opt_(c) LPVOID pv)
HWND WINAPI GetFocus(void)
#define SetWindowLongPtrA
BOOL WINAPI IsWindow(_In_opt_ HWND)
BOOL WINAPI SetWindowTextA(_In_ HWND, _In_opt_ LPCSTR)
#define GetWindowLongPtrW
HWND WINAPI CreateWindowExA(_In_ DWORD dwExStyle, _In_opt_ LPCSTR lpClassName, _In_opt_ LPCSTR lpWindowName, _In_ DWORD dwStyle, _In_ int X, _In_ int Y, _In_ int nWidth, _In_ int nHeight, _In_opt_ HWND hWndParent, _In_opt_ HMENU hMenu, _In_opt_ HINSTANCE hInstance, _In_opt_ LPVOID lpParam)
HANDLE WINAPI GetPropA(_In_ HWND, _In_ LPCSTR)
HWND WINAPI GetForegroundWindow(void)
LRESULT WINAPI DefWindowProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
LONG WINAPI GetWindowLongA(_In_ HWND, _In_ int)
LRESULT WINAPI DefWindowProcA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI SetPropA(_In_ HWND, _In_ LPCSTR, _In_opt_ HANDLE)
LRESULT WINAPI DefDlgProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
#define WS_EX_RIGHTSCROLLBAR
#define CreateWindowA(a, b, c, d, e, f, g, h, i, j, k)
LONG WINAPI SetWindowLongA(_In_ HWND, _In_ int, _In_ LONG)
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
#define WS_EX_CONTROLPARENT
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
int WINAPI MessageBoxA(_In_opt_ HWND hWnd, _In_opt_ LPCSTR lpText, _In_opt_ LPCSTR lpCaption, _In_ UINT uType)
LONG WINAPI GetWindowLongW(_In_ HWND, _In_ int)
HWND WINAPI GetTopWindow(_In_opt_ HWND)
BOOL WINAPI CloseClipboard(void)
LRESULT WINAPI SendMessageA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
#define GetWindowLongPtrA
BOOL WINAPI OpenClipboard(_In_opt_ HWND)
LRESULT WINAPI DefDlgProcA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
HANDLE WINAPI GetClipboardData(_In_ UINT)
#define DLGC_DEFPUSHBUTTON
HWND WINAPI GetNextDlgTabItem(_In_ HWND, _In_opt_ HWND, _In_ BOOL)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
UINT_PTR WINAPI SetTimer(_In_opt_ HWND, _In_ UINT_PTR, _In_ UINT, _In_opt_ TIMERPROC)
#define DialogBoxA(i, t, p, f)
HHOOK WINAPI SetWindowsHookExA(_In_ int, _In_ HOOKPROC, _In_opt_ HINSTANCE, _In_ DWORD)
LRESULT WINAPI SendDlgItemMessageW(_In_ HWND, _In_ int, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI SetWindowTextW(_In_ HWND, _In_opt_ LPCWSTR)
BOOL WINAPI IsWindowUnicode(_In_ HWND)
HWND WINAPI GetNextDlgGroupItem(_In_ HWND, _In_opt_ HWND, _In_ BOOL)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
ATOM WINAPI RegisterClassA(_In_ CONST WNDCLASSA *)
#define MAKELRESULT(l, h)
HWND WINAPI SetFocus(_In_opt_ HWND)
BOOL WINAPI UnhookWindowsHookEx(_In_ HHOOK)
BOOL WINAPI IsDialogMessageA(_In_ HWND, _In_ LPMSG)
HWND WINAPI CreateDialogIndirectParamA(_In_opt_ HINSTANCE, _In_ LPCDLGTEMPLATE, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
#define MB_ABORTRETRYIGNORE
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)
BOOL WINAPI GetClassInfoA(_In_opt_ HINSTANCE, _In_ LPCSTR, _Out_ LPWNDCLASSA)
BOOL WINAPI SystemParametersInfoW(_In_ UINT uiAction, _In_ UINT uiParam, _Inout_opt_ PVOID pvParam, _In_ UINT fWinIni)
LRESULT WINAPI CallNextHookEx(_In_opt_ HHOOK, _In_ int, _In_ WPARAM, _In_ LPARAM)
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)
#define SetWindowLongPtrW
LRESULT WINAPI CallWindowProcW(_In_ WNDPROC, _In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
HWND WINAPI FindWindowA(_In_opt_ LPCSTR, _In_opt_ LPCSTR)
LRESULT WINAPI SendDlgItemMessageA(_In_ HWND, _In_ int, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI DestroyWindow(_In_ HWND)
BOOL WINAPI PostMessageA(_In_opt_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
HWND WINAPI CreateDialogIndirectParamW(_In_opt_ HINSTANCE, _In_ LPCDLGTEMPLATE, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
LRESULT WINAPI CallWindowProcA(_In_ WNDPROC, _In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI IsClipboardFormatAvailable(_In_ UINT)
INT_PTR WINAPI DialogBoxParamA(_In_opt_ HINSTANCE, _In_ LPCSTR, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
HCURSOR WINAPI LoadCursorA(_In_opt_ HINSTANCE, _In_ LPCSTR)
INT_PTR WINAPI DialogBoxParamW(_In_opt_ HINSTANCE, _In_ LPCWSTR, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)