38#define DF_DIALOGACTIVE 0x4000
39#define GETDLGINFO(hwnd) DIALOG_get_info(hwnd, FALSE)
40#define GET_WORD(ptr) (*(WORD *)(ptr))
41#define GET_DWORD(ptr) (*(DWORD *)(ptr))
42#define GET_LONG(ptr) (*(const LONG *)(ptr))
203 static const WCHAR class_names[6][10] =
205 {
'B',
'u',
't',
't',
'o',
'n', },
206 {
'E',
'd',
'i',
't', },
207 {
'S',
't',
'a',
't',
'i',
'c', },
208 {
'L',
'i',
's',
't',
'B',
'o',
'x', },
209 {
'S',
'c',
'r',
'o',
'l',
'l',
'B',
'a',
'r', },
210 {
'C',
'o',
'm',
'b',
'o',
'B',
'o',
'x', }
214 if ((
id >= 0x80) && (
id <= 0x85))
id -= 0x80;
217 info->className = class_names[
id];
223 ERR(
"Unknown built-in class id %04x\n",
id );
255 TRACE(
" %s %s %ld, %d, %d, %d, %d, %08x, %08x, %08x\n",
283 HWND hwndCtrl, hwndDefButton = 0;
293 info.style &= ~WS_POPUP;
298 info.style &= ~WS_BORDER;
334 if (
class !=
NULL && caption !=
NULL)
351 if (
info.windowNameFree)
373 hwndDefButton = hwndCtrl;
408 while (
p !=
NULL &&
p[1] ==
'&');
434 while (!hwndNext && hwndControl)
437 if (hwndControl == hwndDlg)
449 hwndControl = hwndNext;
451 while (hwndControl && (hwndControl !=
hwnd));
504 if (!pWnd)
return -1;
603 TRACE(
"DIALOG%s %d, %d, %d, %d, %d\n",
671 if (
result->pointSize == 0x7fff)
677 TRACE(
" FONT: Using message box font\n");
689 TRACE(
" FONT %d, %s, %d, %s\n",
721 if (!hwndFocus || !
IsChild(
hwnd, hwndFocus ))
return;
740 if (justActivate)
return;
785 if (!dlgTemplate)
return 0;
790 if (
template.menuName) hMenu =
LoadMenuW(
hInst,
template.menuName );
798 if (
template.pointSize == 0x7fff)
801 NONCLIENTMETRICSW ncMetrics;
803 ncMetrics.cbSize =
sizeof(NONCLIENTMETRICSW);
805 sizeof(NONCLIENTMETRICSW), &ncMetrics, 0))
828 xBaseUnit = charSize.
cx;
829 yBaseUnit = charSize.
cy;
834 TRACE(
"units = %d,%d\n", xBaseUnit, yBaseUnit );
862 mon_info.
cbSize =
sizeof(mon_info);
906 if (modal_owner && owner)
931 disabled_owner = owner;
940 *modal_owner = owner;
968 caption = caption_tmp;
1000 dlgInfo->
hMenu = hMenu;
1067 {
ERR(
"DIALOG_CreateIndirect 1\n");
1070 {
ERR(
"DIALOG_CreateIndirect SFW\n");
1087 HWND hwndChild, hwndTmp;
1130 if (hwndOld && hwndOld != hwndNew)
1168 if (hwndOld && hwndOld != hwndNew)
1180static void DEFDLG_Reposition(
HWND hwnd)
1253 if (dlgInfo !=
NULL)
1302 DEFDLG_Reposition(
hwnd);
1349 if (fResult)
return fResult;
1373 HWND hChildFirst = 0;
1382 hChildFirst =
GetWindow(hwndCtrl,wndSearch);
1401 if (retWnd)
return (retWnd);
1405 return (hChildFirst);
1407 hChildFirst =
GetWindow(hChildFirst,wndSearch);
1422 return retWnd ? retWnd : hwndCtrl;
1436 WCHAR any[] = {
'*',
'.',
'*',0};
1439#define SENDMSG(msg,wparam,lparam) \
1440 ((attrib & DDL_POSTMSGS) ? PostMessageW( hwnd, msg, wparam, lparam ) \
1441 : SendMessageW( hwnd, msg, wparam, lparam ))
1443 TRACE(
"%p %s %d %d %04x\n", hDlg,
debugstr_w(spec), idLBox, idStatic, attrib );
1457 if ((p2 =
strchrW(
p,
':' )))
p = p2 + 1;
1473 TRACE(
"mask=%s\n", spec );
1510 if (orig_spec && (spec != orig_spec))
1514 while ((*orig_spec++ = *
p++));
1559 if (!listbox)
return FALSE;
2095 ERR(
"got invalid window handle (%p); buggy app !?\n",
hwnd);
2123 if (wasActive && owner)
2189 if (!hDlg)
return 0;
2192 if (!
list)
return 0;
2217 if (lpTranslated) *lpTranslated =
FALSE;
2223 if (!endptr || (endptr ==
str))
2231 if (!endptr || (endptr ==
str))
2235 if (lpTranslated) *lpTranslated =
TRUE;
2285 HWND hwnd, hwndNext, retvalue, hwndLastGroup = 0;
2289 if (hDlg == hCtl) hCtl =
NULL;
2290 if (!hCtl && bPrevious)
return 0;
2297 if (!
IsChild (hDlg, hCtl))
return 0;
2331 if (fLooped)
goto end;
2356 hwndLastGroup =
hwnd;
2366 if (!fSkipping)
break;
2367 if (hwndLastGroup ==
hwnd)
break;
2368 hwnd = hwndLastGroup;
2378 if (!bPrevious)
break;
2399 if (!pWindow)
return NULL;
2403 if (!pWindow)
return NULL;
2407 if (hDlg == hCtl) hCtl =
NULL;
2413 if (!hCtl && bPrevious)
return 0;
2508 if (!
list)
return 0;
2554 switch(lpMsg->wParam)
2584 hwndFocus == hDlg ?
NULL : hwndFocus,
2589 lpMsg->wParam, (
LPARAM)lpMsg);
2622 HWND hwndNext, hwndFirst = lpMsg->hwnd;
2624 hwndNext && hwndFirst != hwndNext;
2656 if (
IsChild( hDlg, hwndFocus ) &&
2682 if (lpMsg->wParam ==
'\t' && (dlgCode &
DLGC_WANTTAB))
break;
2859 if((lChildID >= lpRadioGroup->
firstID) &&
2860 (lChildID <= lpRadioGroup->
lastID))
2862 if (lChildID == lpRadioGroup->
checkID)
2888 radioGroup.
firstID = nIDFirstButton;
2889 radioGroup.
lastID = nIDLastButton;
2890 radioGroup.
checkID = nIDCheckButton;
UINT32 strtoul(const char *String, char **Terminator, UINT32 Base)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define GetCurrentDirectoryW(x, y)
#define HeapFree(x, y, z)
#define WideCharToMultiByte
#define MultiByteToWideChar
#define ValidateHwnd(hwnd)
BOOL WINAPI SetCurrentDirectoryW(IN LPCWSTR lpPathName)
HRSRC WINAPI FindResourceW(HINSTANCE hModule, LPCWSTR name, LPCWSTR type)
HRSRC WINAPI FindResourceA(HMODULE hModule, LPCSTR name, LPCSTR type)
HGLOBAL WINAPI LoadResource(HINSTANCE hModule, HRSRC hRsrc)
GLint GLint GLint GLint GLint x
GLint GLint GLsizei GLsizei GLsizei GLint GLenum GLenum const GLvoid * pixels
GLint GLint GLint GLint GLint GLint y
GLuint GLsizei GLsizei * length
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
_Check_return_ long __cdecl strtol(_In_z_ const char *_Str, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix)
DWORD_PTR NTAPI NtUserCallNoParam(DWORD Routine)
#define PUSIF_KEYBOARDCUES
@ THREADSTATE_FOREGROUNDTHREAD
@ NOPARAM_ROUTINE_ZAPACTIVEANDFOUS
#define QUERY_WINDOW_FOREGROUND
DWORD NTAPI NtUserSetThreadState(DWORD Unknown0, DWORD Unknown1)
#define WNDS_DIALOGWINDOW
DWORD_PTR NTAPI NtUserQueryWindow(HWND hWnd, DWORD Index)
DWORD_PTR NTAPI NtUserGetThreadState(DWORD Routine)
REFIID LPVOID DWORD_PTR dw
#define sprintf(buf, format,...)
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
static const struct access_res create[16]
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
unsigned __int3264 UINT_PTR
INT WINAPI MulDiv(INT nNumber, INT nNumerator, INT nDenominator)
HMONITOR WINAPI MonitorFromPoint(POINT, DWORD)
HMONITOR WINAPI MonitorFromRect(LPCRECT, DWORD)
HMONITOR WINAPI MonitorFromWindow(HWND, DWORD)
EXTINLINE VOID NtUserxSetDialogPointer(HWND hWnd, PVOID dlgInfo)
#define BS_AUTORADIOBUTTON
#define WS_EX_NOPARENTNOTIFY
#define WS_EX_DLGMODALFRAME
_Out_opt_ int _Out_opt_ int * cy
TW_UINT32 TW_UINT16 TW_UINT16 MSG
HWND * WIN_ListChildren(HWND hWndparent)
BOOL FASTCALL TestWindowProcess(PWND)
VOID FASTCALL IntNotifyWinEvent(DWORD Event, PWND pWnd, LONG idObject, LONG idChild, DWORD flags)
HBRUSH FASTCALL GetControlColor(PWND pwndParent, PWND pwnd, HDC hdc, UINT CtlMsg)
static BOOL CALLBACK DIALOG_FixOneChildOnChangeFocus(HWND hwndChild, LPARAM lParam)
INT_PTR WINAPI DialogBoxIndirectParamW(HINSTANCE hInstance, LPCDLGTEMPLATE hDialogTemplate, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam)
UINT WINAPI GetDlgItemTextW(HWND hDlg, int nIDDlgItem, LPWSTR lpString, int nMaxCount)
static HWND DIALOG_IdToHwnd(HWND hwndDlg, INT id)
HWND WINAPI CreateDialogIndirectParamAorW(HINSTANCE hInstance, LPCDLGTEMPLATE lpTemplate, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM lParamInit, DWORD Flags)
static BOOL DIALOG_DlgDirSelect(HWND hwnd, LPWSTR str, INT len, INT id, BOOL unicode, BOOL combo)
HWND WINAPI CreateDialogParamW(HINSTANCE hInstance, LPCWSTR lpTemplateName, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam)
BOOL WINAPI MapDialogRect(HWND hDlg, LPRECT lpRect)
static BOOL DEFDLG_SetDefId(HWND hwndDlg, DIALOGINFO *dlgInfo, WPARAM wParam)
int WINAPI DlgDirListComboBoxA(HWND hDlg, LPSTR lpPathSpec, int nIDComboBox, int nIDStaticPath, UINT uFiletype)
BOOL WINAPI DlgDirSelectExW(HWND hDlg, LPWSTR lpString, int nCount, int nIDListBox)
static void DIALOG_FixChildrenOnChangeFocus(HWND hwndDlg, HWND hwndNext)
static HWND DIALOG_GetNextTabItem(HWND hwndMain, HWND hwndDlg, HWND hwndCtrl, BOOL fPrevious)
int WINAPI DlgDirListW(HWND hDlg, LPWSTR lpPathSpec, int nIDListBox, int nIDStaticPath, UINT uFileType)
int WINAPI DlgDirListComboBoxW(HWND hDlg, LPWSTR lpPathSpec, int nIDComboBox, int nIDStaticPath, UINT uFiletype)
static BOOL DEFDLG_SetDefButton(HWND hwndDlg, DIALOGINFO *dlgInfo, HWND hwndNew)
const struct builtin_class_descr DIALOG_builtin_class
INT DIALOG_DoDialogBox(HWND hwnd, HWND owner)
static BOOL CALLBACK CheckRB(HWND hwnd, LPARAM lParam)
BOOL WINAPI DlgDirSelectComboBoxExW(HWND hDlg, LPWSTR lpString, int nCount, int nIDComboBox)
#define SENDMSG(msg, wparam, lparam)
static INT DIALOG_DlgDirListA(HWND hDlg, LPSTR spec, INT idLBox, INT idStatic, UINT attrib, BOOL combo)
static HWND DIALOG_FindMsgDestination(HWND hwndDlg)
INT_PTR WINAPI DialogBoxIndirectParamA(HINSTANCE hInstance, LPCDLGTEMPLATE hDialogTemplate, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam)
static INT DIALOG_DlgDirListW(HWND hDlg, LPWSTR spec, INT idLBox, INT idStatic, UINT attrib, BOOL combo)
static LRESULT DEFDLG_Proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam, DIALOGINFO *dlgInfo)
static void DEFDLG_SetFocus(HWND hwndCtrl)
static void DEFDLG_SaveFocus(HWND hwnd)
static LRESULT DEFDLG_Epilog(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam, BOOL fResult, BOOL fAnsi)
UINT WINAPI GetDlgItemTextA(HWND hDlg, int nIDDlgItem, LPSTR lpString, int nMaxCount)
static BOOL DIALOG_CreateControls32(HWND hwnd, LPCSTR template, const DLG_TEMPLATE *dlgTemplate, HINSTANCE hInst, BOOL unicode)
static void DEFDLG_RestoreFocus(HWND hwnd, BOOL justActivate)
static HWND DIALOG_CreateIndirect(HINSTANCE hInst, LPCVOID dlgTemplate, HWND owner, DLGPROC dlgProc, LPARAM param, BOOL unicode, HWND *modal_owner)
static const WORD * DIALOG_GetControl32(const WORD *p, DLG_CONTROL_INFO *info, BOOL dialogEx)
int WINAPI DlgDirListA(HWND hDlg, LPSTR lpPathSpec, int nIDListBox, int nIDStaticPath, UINT uFileType)
static HWND DEFDLG_FindDefButton(HWND hwndDlg)
BOOL WINAPI SetDlgItemTextA(HWND hDlg, int nIDDlgItem, LPCSTR lpString)
static BOOL DIALOG_IsAccelerator(HWND hwnd, HWND hwndDlg, WPARAM wParam)
BOOL WINAPI DlgDirSelectExA(HWND hDlg, LPSTR lpString, int nCount, int nIDListBox)
INT_PTR WINAPI DialogBoxIndirectParamAorW(HINSTANCE hInstance, LPCDLGTEMPLATE hDialogTemplate, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam, DWORD Flags)
HWND WINAPI CreateDialogParamA(HINSTANCE hInstance, LPCSTR lpTemplateName, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam)
static LPCSTR DIALOG_ParseTemplate32(LPCSTR template, DLG_TEMPLATE *result)
DIALOGINFO * DIALOG_get_info(HWND hWnd, BOOL create)
BOOL WINAPI DlgDirSelectComboBoxExA(HWND hDlg, LPSTR lpString, int nCount, int nIDComboBox)
int WINAPI GetDlgCtrlID(HWND hwndCtl)
int WINAPI GetWindowTextA(HWND hWnd, LPSTR lpString, int nMaxCount)
int WINAPI GetWindowTextW(HWND hWnd, LPWSTR lpString, int nMaxCount)
#define ERROR_NO_WILDCARD_CHARACTERS
#define ERROR_INVALID_WINDOW_HANDLE
#define ERROR_RESOURCE_NAME_NOT_FOUND
int WINAPI GetDeviceCaps(_In_opt_ HDC, _In_ int)
LONG WINAPI GdiGetCharDimensions(HDC, LPTEXTMETRICW, LONG *)
BOOL WINAPI DPtoLP(_In_ HDC hdc, _Inout_updates_(c) LPPOINT lppt, _In_ int c)
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
HFONT WINAPI CreateFontW(_In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_opt_ LPCWSTR)
int WINAPI FillRect(HDC, LPCRECT, HBRUSH)
HFONT WINAPI CreateFontIndirectW(_In_ const LOGFONTW *)
HWND WINAPI GetFocus(void)
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
#define SetWindowLongPtrA
BOOL WINAPI IsWindow(_In_opt_ HWND)
HWND WINAPI GetActiveWindow(void)
#define WM_CTLCOLORSTATIC
BOOL WINAPI SetWindowTextA(_In_ HWND, _In_opt_ LPCSTR)
#define GetWindowLongPtrW
BOOL WINAPI TranslateMessage(_In_ const MSG *)
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)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
BOOL WINAPI CheckDlgButton(_In_ HWND, _In_ int, _In_ UINT)
HWND WINAPI GetForegroundWindow(void)
LRESULT WINAPI DefWindowProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
LONG WINAPI GetWindowLongA(_In_ HWND, _In_ int)
BOOL WINAPI IsDialogMessageW(_In_ HWND, _In_ LPMSG)
LRESULT WINAPI DefWindowProcA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI GetMessageW(_Out_ LPMSG, _In_opt_ HWND, _In_ UINT, _In_ UINT)
LRESULT WINAPI DefDlgProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI SetWindowContextHelpId(_In_ HWND, _In_ DWORD)
BOOL WINAPI GetWindowRect(_In_ HWND, _Out_ LPRECT)
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)
LONG WINAPI GetWindowLongW(_In_ HWND, _In_ int)
#define IS_INTRESOURCE(i)
#define DLGC_UNDEFPUSHBUTTON
LPWSTR WINAPI CharLowerW(_Inout_ LPWSTR)
BOOL WINAPI SetForegroundWindow(_In_ HWND)
BOOL WINAPI GetCursorPos(_Out_ LPPOINT)
BOOL WINAPI AdjustWindowRectEx(_Inout_ LPRECT, _In_ DWORD, _In_ BOOL, _In_ DWORD)
LRESULT WINAPI SendMessageA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI SetDlgItemTextW(_In_ HWND, _In_ int, _In_ LPCWSTR)
HWND WINAPI GetCapture(void)
#define GetWindowLongPtrA
LRESULT WINAPI DefDlgProcA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
#define DLGC_DEFPUSHBUTTON
HWND WINAPI GetNextDlgTabItem(_In_ HWND, _In_opt_ HWND, _In_ BOOL)
BOOL WINAPI EnumChildWindows(_In_opt_ HWND, _In_ WNDENUMPROC, _In_ LPARAM)
BOOL WINAPI CallMsgFilterW(_In_ LPMSG, _In_ INT)
BOOL WINAPI ClientToScreen(_In_ HWND, _Inout_ LPPOINT)
#define WM_CTLCOLORMSGBOX
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
BOOL WINAPI IsIconic(_In_ HWND)
LRESULT WINAPI SendDlgItemMessageW(_In_ HWND, _In_ int, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
HWND WINAPI GetDesktopWindow(void)
BOOL WINAPI SetWindowTextW(_In_ HWND, _In_opt_ LPCWSTR)
UINT WINAPI IsDlgButtonChecked(_In_ HWND, _In_ int)
HWND WINAPI GetNextDlgGroupItem(_In_ HWND, _In_opt_ HWND, _In_ BOOL)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
BOOL WINAPI SetDlgItemInt(_In_ HWND, _In_ int, _In_ UINT, _In_ BOOL)
HWND WINAPI SetFocus(_In_opt_ HWND)
BOOL WINAPI IsChild(_In_ HWND, _In_ HWND)
HWND WINAPI SetActiveWindow(_In_ HWND)
BOOL WINAPI PeekMessageW(_Out_ LPMSG, _In_opt_ HWND, _In_ UINT, _In_ UINT, _In_ UINT)
HWND WINAPI CreateWindowExW(_In_ DWORD dwExStyle, _In_opt_ LPCWSTR lpClassName, _In_opt_ LPCWSTR 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)
HWND WINAPI CreateDialogIndirectParamA(_In_opt_ HINSTANCE, _In_ LPCDLGTEMPLATE, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
BOOL WINAPI UpdateWindow(_In_ HWND)
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)
HDC WINAPI GetDC(_In_opt_ HWND)
LONG WINAPI GetDialogBaseUnits(void)
BOOL WINAPI SystemParametersInfoW(_In_ UINT uiAction, _In_ UINT uiParam, _Inout_opt_ PVOID pvParam, _In_ UINT fWinIni)
BOOL WINAPI IsWindowEnabled(_In_ HWND)
HWND WINAPI GetParent(_In_ HWND)
BOOL WINAPI DestroyMenu(_In_ HMENU)
HWND WINAPI GetWindow(_In_ HWND, _In_ UINT)
LRESULT WINAPI DispatchMessageW(_In_ const MSG *)
BOOL WINAPI CheckRadioButton(_In_ HWND, _In_ int, _In_ int, _In_ int)
#define SWP_NOOWNERZORDER
UINT WINAPI GetDlgItemInt(_In_ HWND, _In_ int, _Out_opt_ PBOOL, _In_ BOOL)
BOOL WINAPI GetMonitorInfoW(_In_ HMONITOR, _Inout_ LPMONITORINFO)
HMENU WINAPI LoadMenuW(_In_opt_ HINSTANCE, _In_ LPCWSTR)
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)
#define SetWindowLongPtrW
LRESULT WINAPI CallWindowProcW(_In_ WNDPROC, _In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
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)
int WINAPI GetSystemMetrics(_In_ int)
HWND WINAPI CreateDialogIndirectParamW(_In_opt_ HINSTANCE, _In_ LPCDLGTEMPLATE, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
HWND WINAPI GetAncestor(_In_ HWND, _In_ UINT)
LRESULT WINAPI CallWindowProcA(_In_ WNDPROC, _In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
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)
SHORT WINAPI GetKeyState(_In_ int)
BOOL WINAPI SetRect(_Out_ LPRECT, _In_ int, _In_ int, _In_ int, _In_ int)
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)
LPWSTR WINAPI CharUpperW(_Inout_ LPWSTR)
_Must_inspect_result_ _In_ ULONG Flags