50static const WCHAR strWineFontData[] = {
'_',
'_',
'W',
'I',
'N',
'E',
'_',
'F',
'O',
'N',
'T',
'D',
'L',
'G',
'D',
'A',
'T',
'A',0};
52 {
'_',
'_',
'W',
'I',
'N',
'E',
'_',
'F',
'O',
'N',
'T',
'D',
'L',
'G',
'D',
'A',
'T',
'A',
'_',
'A',0};
53static const WCHAR chooseFontW[] = {
'C',
'H',
'O',
'O',
'S',
'E',
'_',
'F',
'O',
'N',
'T',0};
58#define TTBITMAP_XSIZE 20
68#define CI(cs) ((IDS_CHARSET_##cs)-IDS_CHARSET_ANSI)
73static const WCHAR stShiftJis[]={
'A',
'a',0x3042,0x3041,0x30a2,0x30a1,0x4e9c,0x5b87,0};
74static const WCHAR stHangul[]={0xac00,0xb098,0xb2e4,
'A',
'a',
'B',
'Y',
'y',
'Z',
'z',0};
75static const WCHAR stGB2312[]={0x5fae,0x8f6f,0x4e2d,0x6587,0x8f6f,0x4ef6,0};
76static const WCHAR stBIG5[]={0x4e2d,0x6587,0x5b57,0x578b,0x7bc4,0x4f8b,0};
77static const WCHAR stGreek[]={
'A',
'a',
'B',
'b',0x0391,0x03b1,0x0392,0x03b2,0};
78static const WCHAR stTurkish[]={
'A',
'a',
'B',
'b',0x011e,0x011f,0x015e,0x015f,0};
79static const WCHAR stHebrew[]={
'A',
'a',
'B',
'b',0x05e0,0x05e1,0x05e9,0x05ea,0};
80static const WCHAR stArabic[]={
'A',
'a',
'B',
'b',0x0627,0x0628,0x062c,0x062f,0x0647,0x0648,0x0632,0};
85static const WCHAR stThai[]={
'A',
'a',
'B',
'b',0x0e2d,0x0e31,0x0e01,0x0e29,0x0e23,0x0e44,0x0e17,0x0e22,0};
86static const WCHAR stJohab[]={0xac00,0xb098,0xb2e4,
'A',
'a',
'B',
'Y',
'y',
'Z',
'z',0};
87static const WCHAR stMac[]={
'A',
'a',
'B',
'b',
'Y',
'y',
'Z',
'z',0};
88static const WCHAR stOEM[]={
'A',
'a',
'B',
'b',0xf8,0xf1,0xfd,0};
110 CI(ANSI), 0,
CI(SYMBOL), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
111 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
112 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
113 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
114 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
CI(
MAC), 0, 0,
115 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
116 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
117 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
118 CI(JIS),
CI(HANGUL),
CI(JOHAB), 0, 0, 0,
CI(GB2312), 0,
CI(BIG5), 0, 0, 0, 0, 0, 0, 0,
119 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
120 0,
CI(GREEK),
CI(TURKISH),
CI(VIETNAMESE), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
121 0,
CI(HEBREW),
CI(ARABIC), 0, 0, 0, 0, 0, 0, 0,
CI(BALTIC), 0, 0, 0, 0, 0,
122 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
CI(RUSSIAN), 0, 0, 0,
123 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
CI(THAI), 0,
124 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
CI(EE), 0,
125 CI(VISCII),
CI(TCVN),
CI(KOI8),
CI(ISO3),
CI(ISO4),
CI(ISO10),
CI(CELTIC), 0, 0, 0, 0, 0, 0, 0, 0,
CI(OEM),
132#define XX(x) { x, #x },
191 TRACE(
"(%p)\n", lpChFont);
227 FIXME(
": unimplemented flag (ignored)\n");
245 TRACE(
"(%p)\n", lpChFont);
280 FIXME(
": unimplemented flag (ignored)\n");
287#define TEXT_COLORS 16
291 0x00000000L,0x00000080L,0x00008000L,0x00008080L,
292 0x00800000L,0x00800080L,0x00808000L,0x00808080L,
293 0x00c0c0c0L,0x000000ffL,0x0000ff00L,0x0000ffffL,
294 0x00ff0000L,0x00ff00ffL,0x00ffff00L,0x00FFFFFFL
358 dwFontType,
e->lpcf32w,
e->hWnd1,
e);
375 static const struct FONTSTYLE fontstyles[
FSTYLES]={
400 ((
tm.tmItalic != 0)==fontstyles[
i].italic))
442 static const BYTE sizes[]={6,7,8,9,10,11,12,14,16,18,20,22,24,26,28,36,48,72};
458 if(!
ret)
ERR(
"HDC failure!!!\n");
507 TRACE(
"(nFontType=%d)\n",nFontType);
508 TRACE(
" %s h=%d w=%d e=%d o=%d wg=%d i=%d u=%d s=%d"
509 " ch=%d op=%d cp=%d q=%d pf=%xh\n",
573 if (packedstyle ==
id)
613 dwFontType,
s->lpcf32w, hcmb2, hcmb3, hDlg);
628 static const WCHAR strColorName[] = {
'[',
'c',
'o',
'l',
'o',
'r',
' ',
'n',
'a',
'm',
'e',
']',0};
636 ERR(
"structure size failure!!!\n");
668 memcpy(
name, strColorName,
sizeof(strColorName));
700 TRACE(
"EnumFontFamiliesEx returns 0\n");
705 FIXME(
"No font found with fixed pitch only, dropping flag.\n");
706 lpcf->
Flags &= ~CF_FIXEDPITCHONLY;
710 FIXME(
"No font found with truetype only, dropping flag.\n");
711 lpcf->
Flags &= ~CF_TTONLY;
904 WCHAR buffW[8], *endptrW;
908 invalid_size =
size == 0 && *endptrW;
914 cf->iPointSize = 10 *
size;
916 return invalid_size ? -1 :
size;
929 if (!lpcf)
return FALSE;
934 WCHAR str_edit[256], str_cmb[256];
948 cmb_selected_by_edit =
TRUE;
1060 wininfo.
cbSize=
sizeof(wininfo);
1077 wininfo.
cbSize=
sizeof(wininfo);
1099 if (pointsize == -1)
1139 if (!lpcfw)
return FALSE;
1168 if (!lpcf)
return FALSE;
1236 TRACE(
"CFn_WMInitDialog returned FALSE\n");
1255 TRACE(
"WM_CHOOSEFONT_GETLOGFONT lParam=%08lX\n",
lParam);
1288 TRACE(
"CFn_WMInitDialog returned FALSE\n");
1305 TRACE(
"WM_CHOOSEFONT_GETLOGFONT lParam=%08lX\n",
lParam);
static void * heap_alloc(size_t len)
static BOOL heap_free(void *mem)
static const char * wine_dbgstr_rect(const RECT *prc)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define CDERR_LOADRESFAILURE
#define CDERR_FINDRESFAILURE
DECLSPEC_HIDDEN HINSTANCE COMDLG32_hInstance
#define IDS_FONT_BOLD_ITALIC
void COMDLG32_SetCommDlgExtendedError(DWORD err) DECLSPEC_HIDDEN
#define IDS_FONT_SIZE_INPUT
#define CF_ENABLETEMPLATEHANDLE
#define CF_ENABLETEMPLATE
#define CF_INITTOLOGFONTSTRUCT
#define WM_CHOOSEFONT_GETLOGFONT
struct tagCHOOSEFONTA * LPCHOOSEFONTA
#define CF_FORCEFONTEXIST
struct tagCHOOSEFONTW * LPCHOOSEFONTW
#define CF_FIXEDPITCHONLY
BOOL WINAPI ImageList_Draw(HIMAGELIST himl, INT i, HDC hdc, INT x, INT y, UINT fStyle)
HIMAGELIST WINAPI ImageList_LoadImageW(HINSTANCE hi, LPCWSTR lpbmp, INT cx, INT cGrow, COLORREF clrMask, UINT uType, UINT uFlags)
BOOL WINAPI ImageList_GetIconSize(HIMAGELIST himl, INT *cx, INT *cy)
static const WCHAR stKOI8[]
static const WCHAR stCeltic[]
static const WCHAR stShiftJis[]
static const WCHAR stTCVN[]
static const WCHAR strWineFontData_a[]
static HDC CFn_GetDC(const CHOOSEFONTW *lpcf)
static const WCHAR chooseFontW[]
static BOOL CFn_FitFontStyle(HWND hDlg, LONG packedstyle)
static const WCHAR stVietname[]
static const WCHAR stThai[]
static INT AddFontStyle(const ENUMLOGFONTEXW *lpElfex, const NEWTEXTMETRICEXW *lpNTM, UINT nFontType, const CHOOSEFONTW *lpcf, HWND hcmb2, HWND hcmb3, HWND hDlg)
static LRESULT CFn_WMCommand(HWND hDlg, WPARAM wParam, LPARAM lParam, LPCHOOSEFONTW lpcf)
static INT_PTR CALLBACK FormatCharDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
BOOL WINAPI ChooseFontW(LPCHOOSEFONTW lpChFont)
static BOOL SetFontStylesToCombo2(HWND hwnd, HDC hdc, const LOGFONTW *lplf)
static LRESULT CFn_WMDrawItem(LPARAM lParam)
BOOL WINAPI ChooseFontA(LPCHOOSEFONTA lpChFont)
static const WCHAR stIso88593[]
static const WCHAR stCyrillic[]
static void select_combo_item(HWND dialog, int id, int sel)
static LRESULT CFn_WMInitDialog(HWND hDlg, LPARAM lParam, LPCHOOSEFONTW lpcf)
static const WCHAR stVISCII[]
static const WCHAR stIso88594[]
static void CFn_FitFontSize(HWND hDlg, int points)
static void _dump_cf_flags(DWORD cflags)
static const WCHAR stJohab[]
static const WCHAR stMac[]
static INT get_dialog_font_point_size(HWND hDlg, CHOOSEFONTW *cf)
static const WCHAR stHebrew[]
static const WCHAR stArabic[]
struct CFn_ENUMSTRUCT * LPCFn_ENUMSTRUCT
static const WCHAR stBIG5[]
static const WCHAR stSymbol[]
static BOOL CFn_FitCharSet(HWND hDlg, int charset)
static const WCHAR fontsizefmtW[]
static BOOL CFn_HookCallChk32(const CHOOSEFONTW *lpcf)
static LRESULT CFn_WMDestroy(HWND hwnd, LPCHOOSEFONTW lpcfw)
static INT AddFontFamily(const ENUMLOGFONTEXW *lpElfex, const NEWTEXTMETRICEXW *lpNTM, UINT nFontType, const CHOOSEFONTW *lpcf, HWND hwnd, LPCFn_ENUMSTRUCT e)
static const WCHAR stWestern[]
static const WCHAR *const sample_lang_text[]
static const struct @346 cfflags[]
static BOOL SetFontSizesToCombo3(HWND hwnd, const CHOOSEFONTW *lpcf)
static const WCHAR stHangul[]
static const WCHAR stIso885910[]
static INT WINAPI FontStyleEnumProc(const ENUMLOGFONTEXW *lpElfex, const TEXTMETRICW *metrics, DWORD dwFontType, LPARAM lParam)
static const WCHAR stOEM[]
static const WCHAR stEastEur[]
static const WCHAR stGreek[]
static LRESULT CFn_WMMeasureItem(HWND hDlg, LPARAM lParam)
static const COLORREF textcolors[TEXT_COLORS]
static const WCHAR strWineFontData[]
static int GetScreenDPI(void)
static const WCHAR stTurkish[]
static const BYTE CHARSET_ORDER[256]
static BOOL AddFontSizeToCombo3(HWND hwnd, UINT h, const CHOOSEFONTW *lpcf)
static LRESULT CFn_WMPaint(HWND hDlg, WPARAM wParam, LPARAM lParam, const CHOOSEFONTW *lpcf)
static const WCHAR stBaltic[]
static const WCHAR stGB2312[]
static void CFn_ReleaseDC(const CHOOSEFONTW *lpcf, HDC hdc)
static INT_PTR CALLBACK FormatCharDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static INT WINAPI FontFamilyEnumProc(const ENUMLOGFONTEXW *lpElfex, const TEXTMETRICW *metrics, DWORD dwFontType, LPARAM lParam)
#define WideCharToMultiByte
#define MultiByteToWideChar
HRSRC WINAPI FindResourceW(HINSTANCE hModule, LPCWSTR name, LPCWSTR type)
HRSRC WINAPI FindResourceA(HMODULE hModule, LPCSTR name, LPCSTR type)
LPVOID WINAPI LockResource(HGLOBAL handle)
HGLOBAL WINAPI LoadResource(HINSTANCE hModule, HRSRC hRsrc)
int WINAPI lstrcmpiW(LPCWSTR str1, LPCWSTR str2)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
GLint GLint GLsizei GLsizei height
GLsizei GLenum const GLvoid GLuint GLsizei GLfloat * metrics
GLubyte GLubyte GLubyte GLubyte w
GLsizei const GLfloat * points
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
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 GLint GLint j
_Check_return_ long __cdecl wcstol(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_ int _Radix)
#define memcpy(s1, s2, n)
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
static const struct @541 sizes[]
INT WINAPI MulDiv(INT nNumber, INT nNumerator, INT nDenominator)
INT WINAPI DrawTextW(HDC hdc, LPCWSTR str, INT count, LPRECT rect, UINT flags)
_Out_opt_ int _Out_opt_ int * cy
CHAR lfFaceName[LF_FACESIZE]
WCHAR lfFaceName[LF_FACESIZE]
WCHAR elfScript[LF_FACESIZE]
CHAR lfFaceName[LF_FACESIZE]
WCHAR lfFaceName[LF_FACESIZE]
#define FIELD_OFFSET(t, f)
UINT WINAPI GetDlgItemTextW(HWND hDlg, int nIDDlgItem, LPWSTR lpString, int nMaxCount)
#define FORMAT_MESSAGE_FROM_STRING
#define FORMAT_MESSAGE_ARGUMENT_ARRAY
BOOL WINAPI GetTextMetricsW(_In_ HDC, _Out_ LPTEXTMETRICW)
HGDIOBJ WINAPI GetStockObject(_In_ int)
int WINAPI GetDeviceCaps(_In_opt_ HDC, _In_ int)
COLORREF WINAPI SetBkColor(_In_ HDC, _In_ COLORREF)
int WINAPI EnumFontFamiliesExW(_In_ HDC, _In_ PLOGFONTW, _In_ FONTENUMPROCW, _In_ LPARAM, _In_ DWORD)
#define TRUETYPE_FONTTYPE
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
#define OUT_DEFAULT_PRECIS
#define CLIP_DEFAULT_PRECIS
BOOL WINAPI TextOutW(_In_ HDC hdc, _In_ int x, _In_ int y, _In_reads_(c) LPCWSTR lpString, _In_ int c)
int WINAPI FillRect(HDC, LPCRECT, HBRUSH)
BOOL WINAPI Rectangle(_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int)
HFONT WINAPI CreateFontIndirectW(_In_ const LOGFONTW *)
int WINAPI SetBkMode(_In_ HDC, _In_ int)
COLORREF WINAPI SetTextColor(_In_ HDC, _In_ COLORREF)
HBRUSH WINAPI CreateSolidBrush(_In_ COLORREF)
struct tagDRAWITEMSTRUCT * LPDRAWITEMSTRUCT
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
DWORD WINAPI GetSysColor(_In_ int)
BOOL WINAPI IsWindow(_In_opt_ HWND)
INT_PTR WINAPI DialogBoxIndirectParamW(_In_opt_ HINSTANCE, _In_ LPCDLGTEMPLATE, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
struct tagMEASUREITEMSTRUCT * LPMEASUREITEMSTRUCT
BOOL WINAPI CheckDlgButton(_In_ HWND, _In_ int, _In_ UINT)
BOOL WINAPI GetWindowInfo(_In_ HWND, _Inout_ PWINDOWINFO)
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
HBRUSH WINAPI GetSysColorBrush(_In_ int)
HCURSOR WINAPI SetCursor(_In_opt_ HCURSOR)
#define CB_FINDSTRINGEXACT
HCURSOR WINAPI LoadCursorW(_In_opt_ HINSTANCE, _In_ LPCWSTR)
int WINAPI MapWindowPoints(_In_opt_ HWND hWndFrom, _In_opt_ HWND hWndTo, _Inout_updates_(cPoints) LPPOINT lpPoints, _In_ UINT cPoints)
int WINAPI MessageBoxW(_In_opt_ HWND hWnd, _In_opt_ LPCWSTR lpText, _In_opt_ LPCWSTR lpCaption, _In_ UINT uType)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
LRESULT WINAPI SendDlgItemMessageW(_In_ HWND, _In_ int, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
UINT WINAPI IsDlgButtonChecked(_In_ HWND, _In_ int)
BOOL WINAPI SetDlgItemInt(_In_ HWND, _In_ int, _In_ UINT, _In_ BOOL)
BOOL WINAPI DrawEdge(_In_ HDC, _Inout_ LPRECT, _In_ UINT, _In_ UINT)
BOOL WINAPI EndPaint(_In_ HWND, _In_ const PAINTSTRUCT *)
BOOL WINAPI SetPropW(_In_ HWND, _In_ LPCWSTR, _In_opt_ HANDLE)
UINT WINAPI RegisterWindowMessageW(_In_ LPCWSTR)
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)
#define COLOR_HIGHLIGHTTEXT
HDC WINAPI GetDC(_In_opt_ HWND)
INT_PTR WINAPI DialogBoxIndirectParamA(_In_opt_ HINSTANCE, _In_ LPCDLGTEMPLATE, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
HWND WINAPI GetParent(_In_ HWND)
HANDLE WINAPI GetPropW(_In_ HWND, _In_ LPCWSTR)
#define MB_ICONINFORMATION
BOOL WINAPI DrawFocusRect(_In_ HDC, _In_ LPCRECT)
BOOL WINAPI InvalidateRect(_In_opt_ HWND, _In_opt_ LPCRECT, _In_ BOOL)
#define MAKEINTRESOURCEW(i)
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)
HDC WINAPI BeginPaint(_In_ HWND, _Out_ LPPAINTSTRUCT)
LRESULT WINAPI CallWindowProcW(_In_ WNDPROC, _In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
LRESULT WINAPI CallWindowProcA(_In_ WNDPROC, _In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)