2 * COMMDLG - Common Wine Dialog ... :-)
5 #ifndef __WINE_COMMDLG_H
6 #define __WINE_COMMDLG_H
12 #include "windef.h" /* needed for CHOOSEFONT structure */
17 #define OFN_READONLY 0x00000001
18 #define OFN_OVERWRITEPROMPT 0x00000002
19 #define OFN_HIDEREADONLY 0x00000004
20 #define OFN_NOCHANGEDIR 0x00000008
21 #define OFN_SHOWHELP 0x00000010
22 #define OFN_ENABLEHOOK 0x00000020
23 #define OFN_ENABLETEMPLATE 0x00000040
24 #define OFN_ENABLETEMPLATEHANDLE 0x00000080
25 #define OFN_NOVALIDATE 0x00000100
26 #define OFN_ALLOWMULTISELECT 0x00000200
27 #define OFN_EXTENSIONDIFFERENT 0x00000400
28 #define OFN_PATHMUSTEXIST 0x00000800
29 #define OFN_FILEMUSTEXIST 0x00001000
30 #define OFN_CREATEPROMPT 0x00002000
31 #define OFN_SHAREAWARE 0x00004000
32 #define OFN_NOREADONLYRETURN 0x00008000
33 #define OFN_NOTESTFILECREATE 0x00010000
34 #define OFN_NONETWORKBUTTON 0x00020000
35 #define OFN_NOLONGNAMES 0x00040000
36 #define OFN_EXPLORER 0x00080000
37 #define OFN_NODEREFERENCELINKS 0x00100000
38 #define OFN_LONGNAMES 0x00200000
40 /* WINE internal flags */
41 #define OFN_UNICODE 0x40000000 /*to differ between 32W/A hook*/
42 #define OFN_WINE 0x80000000 /* comdlg32 */
44 #define OFN_SHAREFALLTHROUGH 2
45 #define OFN_SHARENOWARN 1
46 #define OFN_SHAREWARN 0
51 typedef UINT CALLBACK (*LPOFNHOOKPROC)(HWND,UINT,WPARAM,LPARAM);
58 LPSTR lpstrCustomFilter;
65 LPCSTR lpstrInitialDir;
72 LPOFNHOOKPROC lpfnHook;
73 LPCSTR lpTemplateName;
74 } OPENFILENAMEA,*LPOPENFILENAMEA;
81 LPWSTR lpstrCustomFilter;
86 LPWSTR lpstrFileTitle;
88 LPCWSTR lpstrInitialDir;
95 LPOFNHOOKPROC lpfnHook;
96 LPCWSTR lpTemplateName;
97 } OPENFILENAMEW,*LPOPENFILENAMEW;
99 DECL_WINELIB_TYPE_AW(OPENFILENAME)
100 DECL_WINELIB_TYPE_AW(LPOPENFILENAME)
105 LPOPENFILENAMEA lpOFN;
107 } OFNOTIFYA, *LPOFNOTIFYA;
112 LPOPENFILENAMEW lpOFN;
114 } OFNOTIFYW, *LPOFNOTIFYW;
116 DECL_WINELIB_TYPE_AW(OFNOTIFY)
117 DECL_WINELIB_TYPE_AW(LPOFNOTIFY)
119 typedef UINT CALLBACK (*LPCCHOOKPROC) (HWND, UINT, WPARAM, LPARAM);
126 LPDWORD lpCustColors;
129 LPCCHOOKPROC lpfnHook;
130 LPCSTR lpTemplateName;
132 typedef CHOOSECOLORA *LPCHOOSECOLORA;
139 LPDWORD lpCustColors;
142 LPCCHOOKPROC lpfnHook;
143 LPCWSTR lpTemplateName;
145 typedef CHOOSECOLORW *LPCHOOSECOLORW;
147 DECL_WINELIB_TYPE_AW(CHOOSECOLOR)
148 DECL_WINELIB_TYPE_AW(LPCHOOSECOLOR)
151 #define CC_RGBINIT 0x00000001
152 #define CC_FULLOPEN 0x00000002
153 #define CC_PREVENTFULLOPEN 0x00000004
154 #define CC_SHOWHELP 0x00000008
155 #define CC_ENABLEHOOK 0x00000010
156 #define CC_ENABLETEMPLATE 0x00000020
157 #define CC_ENABLETEMPLATEHANDLE 0x00000040
159 typedef UINT CALLBACK (*LPFRHOOKPROC)(HWND,UINT,WPARAM,LPARAM);
167 LPSTR lpstrReplaceWith;
169 WORD wReplaceWithLen;
171 LPFRHOOKPROC lpfnHook;
172 LPCSTR lpTemplateName;
173 } FINDREPLACEA, *LPFINDREPLACEA;
180 LPWSTR lpstrFindWhat;
181 LPWSTR lpstrReplaceWith;
183 WORD wReplaceWithLen;
185 LPFRHOOKPROC lpfnHook;
186 LPCWSTR lpTemplateName;
187 } FINDREPLACEW, *LPFINDREPLACEW;
189 DECL_WINELIB_TYPE_AW(FINDREPLACE)
190 DECL_WINELIB_TYPE_AW(LPFINDREPLACE)
192 #define FR_DOWN 0x00000001
193 #define FR_WHOLEWORD 0x00000002
194 #define FR_MATCHCASE 0x00000004
195 #define FR_FINDNEXT 0x00000008
196 #define FR_REPLACE 0x00000010
197 #define FR_REPLACEALL 0x00000020
198 #define FR_DIALOGTERM 0x00000040
199 #define FR_SHOWHELP 0x00000080
200 #define FR_ENABLEHOOK 0x00000100
201 #define FR_ENABLETEMPLATE 0x00000200
202 #define FR_NOUPDOWN 0x00000400
203 #define FR_NOMATCHCASE 0x00000800
204 #define FR_NOWHOLEWORD 0x00001000
205 #define FR_ENABLETEMPLATEHANDLE 0x00002000
206 #define FR_HIDEUPDOWN 0x00004000
207 #define FR_HIDEMATCHCASE 0x00008000
208 #define FR_HIDEWHOLEWORD 0x00010000
210 typedef UINT CALLBACK (*LPCFHOOKPROC)(HWND,UINT,WPARAM,LPARAM);
217 LPLOGFONTA lpLogFont;
222 LPCFHOOKPROC lpfnHook;
223 LPCSTR lpTemplateName;
227 UINT16 ___MISSING_ALIGNMENT__;
230 } CHOOSEFONTA, *LPCHOOSEFONTA;
237 LPLOGFONTW lpLogFont;
242 LPCFHOOKPROC lpfnHook;
243 LPCWSTR lpTemplateName;
247 UINT16 ___MISSING_ALIGNMENT__;
250 } CHOOSEFONTW, *LPCHOOSEFONTW;
252 DECL_WINELIB_TYPE_AW(CHOOSEFONT)
253 DECL_WINELIB_TYPE_AW(LPCHOOSEFONT)
255 #define CF_SCREENFONTS 0x00000001
256 #define CF_PRINTERFONTS 0x00000002
257 #define CF_BOTH (CF_SCREENFONTS | CF_PRINTERFONTS)
258 #define CF_SHOWHELP 0x00000004L
259 #define CF_ENABLEHOOK 0x00000008L
260 #define CF_ENABLETEMPLATE 0x00000010L
261 #define CF_ENABLETEMPLATEHANDLE 0x00000020L
262 #define CF_INITTOLOGFONTSTRUCT 0x00000040L
263 #define CF_USESTYLE 0x00000080L
264 #define CF_EFFECTS 0x00000100L
265 #define CF_APPLY 0x00000200L
266 #define CF_ANSIONLY 0x00000400L
267 #define CF_SCRIPTSONLY CF_ANSIONLY
268 #define CF_NOVECTORFONTS 0x00000800L
269 #define CF_NOOEMFONTS CF_NOVECTORFONTS
270 #define CF_NOSIMULATIONS 0x00001000L
271 #define CF_LIMITSIZE 0x00002000L
272 #define CF_FIXEDPITCHONLY 0x00004000L
273 #define CF_WYSIWYG 0x00008000L /* use with CF_SCREENFONTS & CF_PRINTERFONTS */
274 #define CF_FORCEFONTEXIST 0x00010000L
275 #define CF_SCALABLEONLY 0x00020000L
276 #define CF_TTONLY 0x00040000L
277 #define CF_NOFACESEL 0x00080000L
278 #define CF_NOSTYLESEL 0x00100000L
279 #define CF_NOSIZESEL 0x00200000L
280 #define CF_SELECTSCRIPT 0x00400000L
281 #define CF_NOSCRIPTSEL 0x00800000L
282 #define CF_NOVERTFONTS 0x01000000L
284 #define SIMULATED_FONTTYPE 0x8000
285 #define PRINTER_FONTTYPE 0x4000
286 #define SCREEN_FONTTYPE 0x2000
287 #define BOLD_FONTTYPE 0x0100
288 #define ITALIC_FONTTYPE 0x0200
289 #define REGULAR_FONTTYPE 0x0400
291 #define WM_CHOOSEFONT_GETLOGFONT (WM_USER + 1)
292 #define WM_CHOOSEFONT_SETLOGFONT (WM_USER + 101)
293 #define WM_CHOOSEFONT_SETFLAGS (WM_USER + 102)
295 #define LBSELCHSTRING "commdlg_LBSelChangedNotify"
296 #define SHAREVISTRING "commdlg_ShareViolation"
297 #define FILEOKSTRING "commdlg_FileNameOK"
298 #define COLOROKSTRING "commdlg_ColorOK"
299 #define SETRGBSTRING "commdlg_SetRGBColor"
300 #define FINDMSGSTRING "commdlg_FindReplace"
301 #define HELPMSGSTRING "commdlg_help"
303 #define CD_LBSELNOITEMS -1
304 #define CD_LBSELCHANGE 0
305 #define CD_LBSELSUB 1
306 #define CD_LBSELADD 2
308 #define CDN_FIRST (0U-601U)
309 #define CDN_LAST (0U-699U)
311 #define CDN_INITDONE (CDN_FIRST - 0x0000)
312 #define CDN_SELCHANGE (CDN_FIRST - 0x0001)
313 #define CDN_FOLDERCHANGE (CDN_FIRST - 0x0002)
314 #define CDN_SHAREVIOLATION (CDN_FIRST - 0x0003)
315 #define CDN_HELP (CDN_FIRST - 0x0004)
316 #define CDN_FILEOK (CDN_FIRST - 0x0005)
317 #define CDN_TYPECHANGE (CDN_FIRST - 0x0006)
319 #define CDM_FIRST (WM_USER + 100)
320 #define CDM_LAST (WM_USER + 200)
322 #define CDM_GETSPEC (CDM_FIRST + 0x0000)
323 #define CDM_GETFILEPATH (CDM_FIRST + 0x0001)
324 #define CDM_GETFOLDERPATH (CDM_FIRST + 0x0002)
325 #define CDM_GETFOLDERLIST (CDM_FIRST + 0x0003)
326 #define CDM_SETCONTROLTEXT (CDM_FIRST + 0x0004)
327 #define CDM_HIDECONTROL (CDM_FIRST + 0x0005)
328 #define CDM_SETDEFEXT (CDM_FIRST + 0x0006)
331 /* Messages to query information from the open or save dialogs */
333 #define CommDlg_OpenSave_GetSpecA(_hdlg, _psz, _cbmax) \
334 (int)SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
335 #define CommDlg_OpenSave_GetSpecW(_hdlg, _psz, _cbmax) \
336 (int)SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
337 #define CommDlg_OpenSave_GetSpec WINELIB_NAME_AW(CommDlg_OpenSave_GetSpec)
339 #define CommDlg_OpenSave_GetFilePathA(_hdlg, _psz, _cbmax) \
340 (int)SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
341 #define CommDlg_OpenSave_GetFilePathW(_hdlg, _psz, _cbmax) \
342 (int)SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
343 #define CommDlg_OpenSave_GetFilePath WINELIB_NAME_AW(CommDlg_OpenSave_GetFilePath)
345 #define CommDlg_OpenSave_GetFolderPathA(_hdlg, _psz, _cbmax) \
346 (int)SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
347 #define CommDlg_OpenSave_GetFolderPathW(_hdlg, _psz, _cbmax) \
348 (int)SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
349 #define CommDlg_OpenSave_GetFolderPath WINELIB_NAME_AW(CommDlg_OpenSave_GetFolderPath)
351 #define CommDlg_OpenSave_GetFolderIDList(_hdlg, _pidl, _cbmax) \
352 (int)SNDMSG(_hdlg, CDM_GETFOLDERIDLIST, (WPARAM)_cbmax, (LPARAM)(LPVOID)_pidl)
354 #define CommDlg_OpenSave_SetControlText(_hdlg, _id, _text) \
355 (void)SNDMSG(_hdlg, CDM_SETCONTROLTEXT, (WPARAM)_id, (LPARAM)(LPSTR)_text)
357 #define CommDlg_OpenSave_HideControl(_hdlg, _id) \
358 (void)SNDMSG(_hdlg, CDM_HIDECONTROL, (WPARAM)_id, 0)
360 #define CommDlg_OpenSave_SetDefExt(_hdlg, _pszext) \
361 (void)SNDMSG(_hdlg, CDM_SETDEFEXT, 0, (LPARAM)(LPSTR)_pszext)
363 #define CommDlg_OpenSave_GetSpecA(_hdlg, _psz, _cbmax) \
364 (int)SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
365 #define CommDlg_OpenSave_GetSpecW(_hdlg, _psz, _cbmax) \
366 (int)SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
367 #define CommDlg_OpenSave_GetSpec WINELIB_NAME_AW(CommDlg_OpenSave_GetSpec)
369 #define CommDlg_OpenSave_GetFilePathA(_hdlg, _psz, _cbmax) \
370 (int)SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
371 #define CommDlg_OpenSave_GetFilePathW(_hdlg, _psz, _cbmax) \
372 (int)SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
373 #define CommDlg_OpenSave_GetFilePath WINELIB_NAME_AW(CommDlg_OpenSave_GetFilePath)
375 #define CommDlg_OpenSave_GetFolderPathA(_hdlg, _psz, _cbmax) \
376 (int)SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
377 #define CommDlg_OpenSave_GetFolderPathW(_hdlg, _psz, _cbmax) \
378 (int)SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
379 #define CommDlg_OpenSave_GetFolderPath WINELIB_NAME_AW(CommDlg_OpenSave_GetFolderPath)
381 #define CommDlg_OpenSave_GetFolderIDList(_hdlg, _pidl, _cbmax) \
382 (int)SNDMSG(_hdlg, CDM_GETFOLDERIDLIST, (WPARAM)_cbmax, (LPARAM)(LPVOID)_pidl)
384 #define CommDlg_OpenSave_SetControlText(_hdlg, _id, _text) \
385 (void)SNDMSG(_hdlg, CDM_SETCONTROLTEXT, (WPARAM)_id, (LPARAM)(LPSTR)_text)
387 #define CommDlg_OpenSave_HideControl(_hdlg, _id) \
388 (void)SNDMSG(_hdlg, CDM_HIDECONTROL, (WPARAM)_id, 0)
390 #define CommDlg_OpenSave_SetDefExt(_hdlg, _pszext) \
391 (void)SNDMSG(_hdlg, CDM_SETDEFEXT, 0, (LPARAM)(LPSTR)_pszext)
394 typedef UINT CALLBACK (*LPPRINTHOOKPROC) (HWND, UINT, WPARAM, LPARAM);
395 typedef UINT CALLBACK (*LPSETUPHOOKPROC) (HWND, UINT, WPARAM, LPARAM);
397 typedef struct tagPDA
412 LPPRINTHOOKPROC lpfnPrintHook;
413 LPSETUPHOOKPROC lpfnSetupHook;
414 LPCSTR lpPrintTemplateName;
415 LPCSTR lpSetupTemplateName;
416 HGLOBAL hPrintTemplate;
417 HGLOBAL hSetupTemplate;
418 } PRINTDLGA, *LPPRINTDLGA;
420 typedef struct tagPDW
435 LPPRINTHOOKPROC lpfnPrintHook;
436 LPSETUPHOOKPROC lpfnSetupHook;
437 LPCWSTR lpPrintTemplateName;
438 LPCWSTR lpSetupTemplateName;
439 HGLOBAL hPrintTemplate;
440 HGLOBAL hSetupTemplate;
441 } PRINTDLGW, *LPPRINTDLGW;
443 DECL_WINELIB_TYPE_AW(PRINTDLG)
444 DECL_WINELIB_TYPE_AW(LPPRINTDLG)
446 #define PD_ALLPAGES 0x00000000
447 #define PD_SELECTION 0x00000001
448 #define PD_PAGENUMS 0x00000002
449 #define PD_NOSELECTION 0x00000004
450 #define PD_NOPAGENUMS 0x00000008
451 #define PD_COLLATE 0x00000010
452 #define PD_PRINTTOFILE 0x00000020
453 #define PD_PRINTSETUP 0x00000040
454 #define PD_NOWARNING 0x00000080
455 #define PD_RETURNDC 0x00000100
456 #define PD_RETURNIC 0x00000200
457 #define PD_RETURNDEFAULT 0x00000400
458 #define PD_SHOWHELP 0x00000800
459 #define PD_ENABLEPRINTHOOK 0x00001000
460 #define PD_ENABLESETUPHOOK 0x00002000
461 #define PD_ENABLEPRINTTEMPLATE 0x00004000
462 #define PD_ENABLESETUPTEMPLATE 0x00008000
463 #define PD_ENABLEPRINTTEMPLATEHANDLE 0x00010000
464 #define PD_ENABLESETUPTEMPLATEHANDLE 0x00020000
465 #define PD_USEDEVMODECOPIES 0x00040000
466 #define PD_USEDEVMODECOPIESANDCOLLATE 0x00040000
467 #define PD_DISABLEPRINTTOFILE 0x00080000
468 #define PD_HIDEPRINTTOFILE 0x00100000
469 #define PD_NONETWORKBUTTON 0x00200000
472 UINT16 wDriverOffset;
473 UINT16 wDeviceOffset;
474 UINT16 wOutputOffset;
477 typedef DEVNAMES * LPDEVNAMES;
479 #define DN_DEFAULTPRN 0x0001
481 /* PageSetupDlg stuff ... */
482 #define WM_PSD_PAGESETUPDLG (WM_USER )
483 #define WM_PSD_FULLPAGERECT (WM_USER+1)
484 #define WM_PSD_MINMARGINRECT (WM_USER+2)
485 #define WM_PSD_MARGINRECT (WM_USER+3)
486 #define WM_PSD_GREEKTEXTRECT (WM_USER+4)
487 #define WM_PSD_ENVSTAMPRECT (WM_USER+5)
488 #define WM_PSD_YAFULLPAGERECT (WM_USER+6)
490 typedef UINT CALLBACK (*LPPAGEPAINTHOOK)( HWND, UINT, WPARAM, LPARAM );
491 typedef UINT CALLBACK (*LPPAGESETUPHOOK)( HWND, UINT, WPARAM, LPARAM );
493 typedef struct tagPSDA
505 LPPAGESETUPHOOK lpfnPageSetupHook;
506 LPPAGEPAINTHOOK lpfnPagePaintHook;
507 LPCSTR lpPageSetupTemplateName;
508 HGLOBAL hPageSetupTemplate;
509 } PAGESETUPDLGA,*LPPAGESETUPDLGA;
511 typedef struct tagPSDW
523 LPPAGESETUPHOOK lpfnPageSetupHook;
524 LPPAGEPAINTHOOK lpfnPagePaintHook;
525 LPCWSTR lpPageSetupTemplateName;
526 HGLOBAL hPageSetupTemplate;
527 } PAGESETUPDLGW,*LPPAGESETUPDLGW;
528 DECL_WINELIB_TYPE_AW(PAGESETUPDLG)
529 DECL_WINELIB_TYPE_AW(LPPAGESETUPDLG)
531 #define PSD_DEFAULTMINMARGINS 0x00000000
532 #define PSD_INWININIINTLMEASURE 0x00000000
534 #define PSD_MINMARGINS 0x00000001
535 #define PSD_MARGINS 0x00000002
536 #define PSD_INTHOUSANDTHSOFINCHES 0x00000004
537 #define PSD_INHUNDREDTHSOFMILLIMETERS 0x00000008
538 #define PSD_DISABLEMARGINS 0x00000010
539 #define PSD_DISABLEPRINTER 0x00000020
540 #define PSD_NOWARNING 0x00000080
541 #define PSD_DISABLEORIENTATION 0x00000100
542 #define PSD_RETURNDEFAULT 0x00000400
543 #define PSD_DISABLEPAPER 0x00000200
544 #define PSD_SHOWHELP 0x00000800
545 #define PSD_ENABLEPAGESETUPHOOK 0x00002000
546 #define PSD_ENABLEPAGESETUPTEMPLATE 0x00008000
547 #define PSD_ENABLEPAGESETUPTEMPLATEHANDLE 0x00020000
548 #define PSD_ENABLEPAGEPAINTHOOK 0x00040000
549 #define PSD_DISABLEPAGEPAINTING 0x00080000
552 BOOL WINAPI ChooseColorA(LPCHOOSECOLORA lpChCol);
553 BOOL WINAPI ChooseColorW(LPCHOOSECOLORW lpChCol);
554 #define ChooseColor WINELIB_NAME_AW(ChooseColor)
555 DWORD WINAPI CommDlgExtendedError(void);
556 HWND WINAPI FindTextA(LPFINDREPLACEA lpFind);
557 HWND WINAPI FindTextW(LPFINDREPLACEW lpFind);
558 #define FindText WINELIB_NAME_AW(FindText)
559 short WINAPI GetFileTitleA(LPCSTR lpFile, LPSTR lpTitle, UINT cbBuf);
560 short WINAPI GetFileTitleW(LPCWSTR lpFile, LPWSTR lpTitle, UINT cbBuf);
561 #define GetFileTitle WINELIB_NAME_AW(GetFileTitle)
562 BOOL WINAPI GetOpenFileNameA(LPOPENFILENAMEA ofn);
563 BOOL WINAPI GetOpenFileNameW(LPOPENFILENAMEW ofn);
564 #define GetOpenFileName WINELIB_NAME_AW(GetOpenFileName)
565 BOOL WINAPI GetSaveFileNameA(LPOPENFILENAMEA ofn);
566 BOOL WINAPI GetSaveFileNameW(LPOPENFILENAMEW ofn);
567 #define GetSaveFileName WINELIB_NAME_AW(GetSaveFileName)
568 BOOL WINAPI PageSetupDlgA( LPPAGESETUPDLGA );
569 BOOL WINAPI PageSetupDlgW( LPPAGESETUPDLGW );
570 #define PageSetupDlg WINELIB_NAME_AW(PageSetupDlg)
571 BOOL WINAPI PrintDlgA( LPPRINTDLGA printdlg);
572 BOOL WINAPI PrintDlgW( LPPRINTDLGW printdlg);
573 #define PrintDlg WINELIB_NAME_AW(PrintDlg)
574 HWND WINAPI ReplaceTextA( LPFINDREPLACEA lpFind);
575 HWND WINAPI ReplaceTextW( LPFINDREPLACEW lpFind);
576 #define ReplaceText WINELIB_NAME_AW(ReplaceText)
577 BOOL WINAPI ChooseFontA(LPCHOOSEFONTA);
578 BOOL WINAPI ChooseFontW(LPCHOOSEFONTW);
579 #define ChooseFont WINELIB_NAME_AW(ChooseFont)
581 void COMDLG32_SetCommDlgExtendedError(DWORD err);
590 #endif /* __WINE_COMMDLG_H */