4 #pragma GCC system_header
12 #define LBSELCHSTRINGA "commdlg_LBSelChangedNotify"
13 #define SHAREVISTRINGA "commdlg_ShareViolation"
14 #define FILEOKSTRINGA "commdlg_FileNameOK"
15 #define COLOROKSTRINGA "commdlg_ColorOK"
16 #define SETRGBSTRINGA "commdlg_SetRGBColor"
17 #define HELPMSGSTRINGA "commdlg_help"
18 #define FINDMSGSTRINGA "commdlg_FindReplace"
19 #define LBSELCHSTRINGW L"commdlg_LBSelChangedNotify"
20 #define SHAREVISTRINGW L"commdlg_ShareViolation"
21 #define FILEOKSTRINGW L"commdlg_FileNameOK"
22 #define COLOROKSTRINGW L"commdlg_ColorOK"
23 #define SETRGBSTRINGW L"commdlg_SetRGBColor"
24 #define HELPMSGSTRINGW L"commdlg_help"
25 #define FINDMSGSTRINGW L"commdlg_FindReplace"
27 #define CDN_FIRST ((UINT)-601) /* also in commctrl.h */
28 #define CDN_LAST ((UINT)-699)
30 #define CDN_INITDONE CDN_FIRST
31 #define CDN_SELCHANGE (CDN_FIRST-1U)
32 #define CDN_FOLDERCHANGE (CDN_FIRST-2U)
33 #define CDN_SHAREVIOLATION (CDN_FIRST-3U)
34 #define CDN_HELP (CDN_FIRST-4U)
35 #define CDN_FILEOK (CDN_FIRST-5U)
36 #define CDN_TYPECHANGE (CDN_FIRST-6U)
37 #define CDM_FIRST (WM_USER+100)
38 #define CDM_LAST (WM_USER+200)
39 #define CDM_GETSPEC CDM_FIRST
40 #define CDM_GETFILEPATH (CDM_FIRST+1)
41 #define CDM_GETFOLDERPATH (CDM_FIRST+2)
42 #define CDM_GETFOLDERIDLIST (CDM_FIRST+3)
43 #define CDM_SETCONTROLTEXT (CDM_FIRST+4)
44 #define CDM_HIDECONTROL (CDM_FIRST+5)
45 #define CDM_SETDEFEXT (CDM_FIRST+6)
48 #define CC_PREVENTFULLOPEN 4
50 #define CC_ENABLEHOOK 16
51 #define CC_ENABLETEMPLATE 32
52 #define CC_ENABLETEMPLATEHANDLE 64
53 #define CC_SOLIDCOLOR 128
54 #define CC_ANYCOLOR 256
55 #define CF_SCREENFONTS 1
56 #define CF_PRINTERFONTS 2
59 #define CF_ENABLEHOOK 8
60 #define CF_ENABLETEMPLATE 16
61 #define CF_ENABLETEMPLATEHANDLE 32
62 #define CF_INITTOLOGFONTSTRUCT 64
63 #define CF_USESTYLE 128
64 #define CF_EFFECTS 256
66 #define CF_ANSIONLY 1024
67 #define CF_SCRIPTSONLY CF_ANSIONLY
68 #define CF_NOVECTORFONTS 2048
69 #define CF_NOOEMFONTS 2048
70 #define CF_NOSIMULATIONS 4096
71 #define CF_LIMITSIZE 8192
72 #define CF_FIXEDPITCHONLY 16384
73 #define CF_WYSIWYG 32768
74 #define CF_FORCEFONTEXIST 65536
75 #define CF_SCALABLEONLY 131072
76 #define CF_TTONLY 262144
77 #define CF_NOFACESEL 524288
78 #define CF_NOSTYLESEL 1048576
79 #define CF_NOSIZESEL 2097152
80 #define CF_SELECTSCRIPT 4194304
81 #define CF_NOSCRIPTSEL 8388608
82 #define CF_NOVERTFONTS 0x1000000
83 #define SIMULATED_FONTTYPE 0x8000
84 #define PRINTER_FONTTYPE 0x4000
85 #define SCREEN_FONTTYPE 0x2000
86 #define BOLD_FONTTYPE 0x100
87 #define ITALIC_FONTTYPE 0x0200
88 #define REGULAR_FONTTYPE 0x0400
89 #define WM_CHOOSEFONT_GETLOGFONT (WM_USER+1)
90 #define WM_CHOOSEFONT_SETLOGFONT (WM_USER+101)
91 #define WM_CHOOSEFONT_SETFLAGS (WM_USER+102)
92 #define OFN_ALLOWMULTISELECT 512
93 #define OFN_CREATEPROMPT 0x2000
94 #define OFN_ENABLEHOOK 32
95 #define OFN_ENABLESIZING 0x800000
96 #define OFN_ENABLETEMPLATE 64
97 #define OFN_ENABLETEMPLATEHANDLE 128
98 #define OFN_EXPLORER 0x80000
99 #define OFN_EXTENSIONDIFFERENT 0x400
100 #define OFN_FILEMUSTEXIST 0x1000
101 #define OFN_HIDEREADONLY 4
102 #define OFN_LONGNAMES 0x200000
103 #define OFN_NOCHANGEDIR 8
104 #define OFN_NODEREFERENCELINKS 0x100000
105 #define OFN_NOLONGNAMES 0x40000
106 #define OFN_NONETWORKBUTTON 0x20000
107 #define OFN_NOREADONLYRETURN 0x8000
108 #define OFN_NOTESTFILECREATE 0x10000
109 #define OFN_NOVALIDATE 256
110 #define OFN_OVERWRITEPROMPT 2
111 #define OFN_PATHMUSTEXIST 0x800
112 #define OFN_READONLY 1
113 #define OFN_SHAREAWARE 0x4000
114 #define OFN_SHOWHELP 16
115 #define OFN_SHAREFALLTHROUGH 2
116 #define OFN_SHARENOWARN 1
117 #define OFN_SHAREWARN 0
118 #define OFN_NODEREFERENCELINKS 0x100000
119 #if (_WIN32_WINNT >= 0x0500)
120 #define OFN_DONTADDTORECENT 0x02000000
122 #define FR_DIALOGTERM 64
124 #define FR_ENABLEHOOK 256
125 #define FR_ENABLETEMPLATE 512
126 #define FR_ENABLETEMPLATEHANDLE 0x2000
127 #define FR_FINDNEXT 8
128 #define FR_HIDEUPDOWN 0x4000
129 #define FR_HIDEMATCHCASE 0x8000
130 #define FR_HIDEWHOLEWORD 0x10000
131 #define FR_MATCHALEFHAMZA 0x80000000
132 #define FR_MATCHCASE 4
133 #define FR_MATCHDIAC 0x20000000
134 #define FR_MATCHKASHIDA 0x40000000
135 #define FR_NOMATCHCASE 0x800
136 #define FR_NOUPDOWN 0x400
137 #define FR_NOWHOLEWORD 4096
138 #define FR_REPLACE 16
139 #define FR_REPLACEALL 32
140 #define FR_SHOWHELP 128
141 #define FR_WHOLEWORD 2
142 #define PD_ALLPAGES 0x00000000
143 #define PD_SELECTION 0x00000001
144 #define PD_PAGENUMS 0x00000002
145 #define PD_NOSELECTION 0x00000004
146 #define PD_NOPAGENUMS 0x00000008
147 #define PD_COLLATE 0x00000010
148 #define PD_PRINTTOFILE 0x00000020
149 #define PD_PRINTSETUP 0x00000040
150 #define PD_NOWARNING 0x00000080
151 #define PD_RETURNDC 0x00000100
152 #define PD_RETURNIC 0x00000200
153 #define PD_RETURNDEFAULT 0x00000400
154 #define PD_SHOWHELP 0x00000800
155 #define PD_ENABLEPRINTHOOK 0x00001000
156 #define PD_ENABLESETUPHOOK 0x00002000
157 #define PD_ENABLEPRINTTEMPLATE 0x00004000
158 #define PD_ENABLESETUPTEMPLATE 0x00008000
159 #define PD_ENABLEPRINTTEMPLATEHANDLE 0x00010000
160 #define PD_ENABLESETUPTEMPLATEHANDLE 0x00020000
161 #define PD_USEDEVMODECOPIES 0x00040000
162 #define PD_USEDEVMODECOPIESANDCOLLATE 0x00040000
163 #define PD_DISABLEPRINTTOFILE 0x00080000
164 #define PD_HIDEPRINTTOFILE 0x00100000
165 #define PD_NONETWORKBUTTON 0x00200000
166 #if (_WIN32_WINNT >= 0x0500)
167 #define PD_CURRENTPAGE 0x00400000
168 #define PD_NOCURRENTPAGE 0x00800000
169 #define PD_EXCLUSIONFLAGS 0x01000000
170 #define PD_USELARGETEMPLATE 0x10000000
171 #define PD_RESULT_CANCEL 0
172 #define PD_RESULT_PRINT 1
173 #define PD_RESULT_APPLY 2
174 #define START_PAGE_GENERAL 0XFFFFFFFF
176 #define PSD_DEFAULTMINMARGINS 0
177 #define PSD_INWININIINTLMEASURE 0
178 #define PSD_MINMARGINS 1
179 #define PSD_MARGINS 2
180 #define PSD_INTHOUSANDTHSOFINCHES 4
181 #define PSD_INHUNDREDTHSOFMILLIMETERS 8
182 #define PSD_DISABLEMARGINS 16
183 #define PSD_DISABLEPRINTER 32
184 #define PSD_NOWARNING 128
185 #define PSD_DISABLEORIENTATION 256
186 #define PSD_DISABLEPAPER 512
187 #define PSD_RETURNDEFAULT 1024
188 #define PSD_SHOWHELP 2048
189 #define PSD_ENABLEPAGESETUPHOOK 8192
190 #define PSD_ENABLEPAGESETUPTEMPLATE 0x8000
191 #define PSD_ENABLEPAGESETUPTEMPLATEHANDLE 0x20000
192 #define PSD_ENABLEPAGEPAINTHOOK 0x40000
193 #define PSD_DISABLEPAGEPAINTING 0x80000
194 #define WM_PSD_PAGESETUPDLG WM_USER
195 #define WM_PSD_FULLPAGERECT (WM_USER+1)
196 #define WM_PSD_MINMARGINRECT (WM_USER+2)
197 #define WM_PSD_MARGINRECT (WM_USER+3)
198 #define WM_PSD_GREEKTEXTRECT (WM_USER+4)
199 #define WM_PSD_ENVSTAMPRECT (WM_USER+5)
200 #define WM_PSD_YAFULLPAGERECT (WM_USER+6)
201 #define CD_LBSELNOITEMS (-1)
202 #define CD_LBSELCHANGE 0
203 #define CD_LBSELSUB 1
204 #define CD_LBSELADD 2
205 #define DN_DEFAULTPRN 1
206 #if (_WIN32_WINNT >= 0x0500)
207 #define OPENFILENAME_SIZE_VERSION_400 76
212 #define SNDMSG ::SendMessage
214 #define SNDMSG SendMessage
216 #endif /* ifndef SNDMSG */
218 #define CommDlg_OpenSave_GetSpec(d,s,m) ((int)SNDMSG((d),CDM_GETSPEC,(m),(LPARAM)(s)))
219 #define CommDlg_OpenSave_GetSpecA CommDlg_OpenSave_GetSpec
220 #define CommDlg_OpenSave_GetSpecW CommDlg_OpenSave_GetSpec
221 #define CommDlg_OpenSave_GetFilePath(d,s,m) ((int)SNDMSG((d),CDM_GETFILEPATH,(m),(LPARAM)(s)))
222 #define CommDlg_OpenSave_GetFilePathA CommDlg_OpenSave_GetFilePath
223 #define CommDlg_OpenSave_GetFilePathW CommDlg_OpenSave_GetFilePath
224 #define CommDlg_OpenSave_GetFolderPath(d,s,m) ((int)SNDMSG((d),CDM_GETFOLDERPATH,(m),(LPARAM)(LPSTR)(s)))
225 #define CommDlg_OpenSave_GetFolderPathA CommDlg_OpenSave_GetFolderPath
226 #define CommDlg_OpenSave_GetFolderPathW CommDlg_OpenSave_GetFolderPath
227 #define CommDlg_OpenSave_GetFolderIDList(d,i,m) ((int)SNDMSG((d),CDM_GETFOLDERIDLIST,(m),(LPARAM)(i)))
228 #define CommDlg_OpenSave_SetControlText(d,i,t) ((void)SNDMSG((d),CDM_SETCONTROLTEXT,(i),(LPARAM)(t)))
229 #define CommDlg_OpenSave_HideControl(d,i) ((void)SNDMSG((d),CDM_HIDECONTROL,(i),0))
230 #define CommDlg_OpenSave_SetDefExt(d,e) ((void)SNDMSG((d),CDM_SETDEFEXT,0,(LPARAM)(e)))
232 typedef UINT (APIENTRY
*__CDHOOKPROC
)(HWND
,UINT
,WPARAM
,LPARAM
);
233 typedef __CDHOOKPROC LPCCHOOKPROC
;
234 typedef __CDHOOKPROC LPCFHOOKPROC
;
235 typedef __CDHOOKPROC LPFRHOOKPROC
;
236 typedef __CDHOOKPROC LPOFNHOOKPROC
;
237 typedef __CDHOOKPROC LPPAGEPAINTHOOK
;
238 typedef __CDHOOKPROC LPPAGESETUPHOOK
;
239 typedef __CDHOOKPROC LPSETUPHOOKPROC
;
240 typedef __CDHOOKPROC LPPRINTHOOKPROC
;
241 typedef struct tagCHOOSECOLORA
{
246 COLORREF
* lpCustColors
;
249 LPCCHOOKPROC lpfnHook
;
250 LPCSTR lpTemplateName
;
251 } CHOOSECOLORA
,*LPCHOOSECOLORA
;
252 typedef struct tagCHOOSECOLORW
{
257 COLORREF
* lpCustColors
;
260 LPCCHOOKPROC lpfnHook
;
261 LPCWSTR lpTemplateName
;
262 } CHOOSECOLORW
,*LPCHOOSECOLORW
;
263 typedef struct tagCHOOSEFONTA
{
267 LPLOGFONTA lpLogFont
;
272 LPCFHOOKPROC lpfnHook
;
273 LPCSTR lpTemplateName
;
277 WORD ___MISSING_ALIGNMENT__
;
280 } CHOOSEFONTA
,*LPCHOOSEFONTA
;
281 typedef struct tagCHOOSEFONTW
{
285 LPLOGFONTW lpLogFont
;
290 LPCFHOOKPROC lpfnHook
;
291 LPCWSTR lpTemplateName
;
295 WORD ___MISSING_ALIGNMENT__
;
298 } CHOOSEFONTW
,*LPCHOOSEFONTW
;
299 typedef struct tagDEVNAMES
{
304 } DEVNAMES
,*LPDEVNAMES
;
311 LPSTR lpstrReplaceWith
;
313 WORD wReplaceWithLen
;
315 LPFRHOOKPROC lpfnHook
;
316 LPCSTR lpTemplateName
;
317 } FINDREPLACEA
,*LPFINDREPLACEA
;
323 LPWSTR lpstrFindWhat
;
324 LPWSTR lpstrReplaceWith
;
326 WORD wReplaceWithLen
;
328 LPFRHOOKPROC lpfnHook
;
329 LPCWSTR lpTemplateName
;
330 } FINDREPLACEW
,*LPFINDREPLACEW
;
331 typedef struct tagOFNA
{
336 LPSTR lpstrCustomFilter
;
337 DWORD nMaxCustFilter
;
341 LPSTR lpstrFileTitle
;
343 LPCSTR lpstrInitialDir
;
350 LPOFNHOOKPROC lpfnHook
;
351 LPCSTR lpTemplateName
;
352 #if (_WIN32_WINNT >= 0x0500)
356 #endif /* (_WIN32_WINNT >= 0x0500) */
357 } OPENFILENAMEA
,*LPOPENFILENAMEA
;
358 typedef struct tagOFNW
{
363 LPWSTR lpstrCustomFilter
;
364 DWORD nMaxCustFilter
;
368 LPWSTR lpstrFileTitle
;
370 LPCWSTR lpstrInitialDir
;
377 LPOFNHOOKPROC lpfnHook
;
378 LPCWSTR lpTemplateName
;
379 #if (_WIN32_WINNT >= 0x0500)
383 #endif /* (_WIN32_WINNT >= 0x0500) */
384 } OPENFILENAMEW
,*LPOPENFILENAMEW
;
385 typedef struct _OFNOTIFYA
{
387 LPOPENFILENAMEA lpOFN
;
389 } OFNOTIFYA
,*LPOFNOTIFYA
;
390 typedef struct _OFNOTIFYW
{
392 LPOPENFILENAMEW lpOFN
;
394 } OFNOTIFYW
,*LPOFNOTIFYW
;
395 typedef struct tagPSDA
{
406 LPPAGESETUPHOOK lpfnPageSetupHook
;
407 LPPAGEPAINTHOOK lpfnPagePaintHook
;
408 LPCSTR lpPageSetupTemplateName
;
409 HGLOBAL hPageSetupTemplate
;
410 } PAGESETUPDLGA
,*LPPAGESETUPDLGA
;
411 typedef struct tagPSDW
{
422 LPPAGESETUPHOOK lpfnPageSetupHook
;
423 LPPAGEPAINTHOOK lpfnPagePaintHook
;
424 LPCWSTR lpPageSetupTemplateName
;
425 HGLOBAL hPageSetupTemplate
;
426 } PAGESETUPDLGW
,*LPPAGESETUPDLGW
;
427 typedef struct tagPDA
{
441 LPPRINTHOOKPROC lpfnPrintHook
;
442 LPSETUPHOOKPROC lpfnSetupHook
;
443 LPCSTR lpPrintTemplateName
;
444 LPCSTR lpSetupTemplateName
;
445 HANDLE hPrintTemplate
;
446 HANDLE hSetupTemplate
;
447 } PRINTDLGA
,*LPPRINTDLGA
;
448 typedef struct tagPDW
{
462 LPPRINTHOOKPROC lpfnPrintHook
;
463 LPSETUPHOOKPROC lpfnSetupHook
;
464 LPCWSTR lpPrintTemplateName
;
465 LPCWSTR lpSetupTemplateName
;
466 HANDLE hPrintTemplate
;
467 HANDLE hSetupTemplate
;
468 } PRINTDLGW
,*LPPRINTDLGW
;
469 #if (WINVER >= 0x0500) && !defined (_OBJC_NO_COM)
470 #include <unknwn.h> /* for LPUNKNOWN */
471 #include <prsht.h> /* for HPROPSHEETPAGE */
472 typedef struct tagPRINTPAGERANGE
{
475 } PRINTPAGERANGE
, *LPPRINTPAGERANGE
;
476 typedef struct tagPDEXA
{
484 DWORD ExclusionFlags
;
486 DWORD nMaxPageRanges
;
487 LPPRINTPAGERANGE lpPageRanges
;
492 LPCSTR lpPrintTemplateName
;
493 LPUNKNOWN lpCallback
;
494 DWORD nPropertyPages
;
495 HPROPSHEETPAGE
*lphPropertyPages
;
497 DWORD dwResultAction
;
498 } PRINTDLGEXA
, *LPPRINTDLGEXA
;
499 typedef struct tagPDEXW
{
507 DWORD ExclusionFlags
;
509 DWORD nMaxPageRanges
;
510 LPPRINTPAGERANGE lpPageRanges
;
515 LPCWSTR lpPrintTemplateName
;
516 LPUNKNOWN lpCallback
;
517 DWORD nPropertyPages
;
518 HPROPSHEETPAGE
*lphPropertyPages
;
520 DWORD dwResultAction
;
521 } PRINTDLGEXW
, *LPPRINTDLGEXW
;
522 #endif /* WINVER >= 0x0500 */
524 BOOL WINAPI
ChooseColorA(LPCHOOSECOLORA
);
525 BOOL WINAPI
ChooseColorW(LPCHOOSECOLORW
);
526 BOOL WINAPI
ChooseFontA(LPCHOOSEFONTA
);
527 BOOL WINAPI
ChooseFontW(LPCHOOSEFONTW
);
528 DWORD WINAPI
CommDlgExtendedError(void);
529 HWND WINAPI
FindTextA(LPFINDREPLACEA
);
530 HWND WINAPI
FindTextW(LPFINDREPLACEW
);
531 short WINAPI
GetFileTitleA(LPCSTR
,LPSTR
,WORD
);
532 short WINAPI
GetFileTitleW(LPCWSTR
,LPWSTR
,WORD
);
533 BOOL WINAPI
GetOpenFileNameA(LPOPENFILENAMEA
);
534 BOOL WINAPI
GetOpenFileNameW(LPOPENFILENAMEW
);
535 BOOL WINAPI
GetSaveFileNameA(LPOPENFILENAMEA
);
536 BOOL WINAPI
GetSaveFileNameW(LPOPENFILENAMEW
);
537 BOOL WINAPI
PageSetupDlgA(LPPAGESETUPDLGA
);
538 BOOL WINAPI
PageSetupDlgW(LPPAGESETUPDLGW
);
539 BOOL WINAPI
PrintDlgA(LPPRINTDLGA
);
540 BOOL WINAPI
PrintDlgW(LPPRINTDLGW
);
541 HWND WINAPI
ReplaceTextA(LPFINDREPLACEA
);
542 HWND WINAPI
ReplaceTextW(LPFINDREPLACEW
);
543 #if (WINVER >= 0x0500) && !defined (_OBJC_NO_COM)
544 HRESULT WINAPI
PrintDlgExA(LPPRINTDLGEXA
);
545 HRESULT WINAPI
PrintDlgExW(LPPRINTDLGEXW
);
546 #endif /* WINVER >= 0x0500 */
549 #define LBSELCHSTRING LBSELCHSTRINGW
550 #define SHAREVISTRING SHAREVISTRINGW
551 #define FILEOKSTRING FILEOKSTRINGW
552 #define COLOROKSTRING COLOROKSTRINGW
553 #define SETRGBSTRING SETRGBSTRINGW
554 #define HELPMSGSTRING HELPMSGSTRINGW
555 #define FINDMSGSTRING FINDMSGSTRINGW
556 typedef CHOOSECOLORW CHOOSECOLOR
,*LPCHOOSECOLOR
;
557 typedef CHOOSEFONTW CHOOSEFONT
,*LPCHOOSEFONT
;
558 typedef FINDREPLACEW FINDREPLACE
,*LPFINDREPLACE
;
559 typedef OPENFILENAMEW OPENFILENAME
,*LPOPENFILENAME
;
560 typedef OFNOTIFYW OFNOTIFY
,*LPOFNOTIFY
;
561 typedef PAGESETUPDLGW PAGESETUPDLG
,*LPPAGESETUPDLG
;
562 typedef PRINTDLGW PRINTDLG
,*LPPRINTDLG
;
563 #define ChooseColor ChooseColorW
564 #define ChooseFont ChooseFontW
565 #define FindText FindTextW
566 #define GetFileTitle GetFileTitleW
567 #define GetOpenFileName GetOpenFileNameW
568 #define GetSaveFileName GetSaveFileNameW
569 #define PageSetupDlg PageSetupDlgW
570 #define PrintDlg PrintDlgW
571 #define ReplaceText ReplaceTextW
572 #if (WINVER >= 0x0500) && !defined (_OBJC_NO_COM)
573 typedef PRINTDLGEXW PRINTDLGEX
, *LPPRINTDLGEX
;
574 #define PrintDlgEx PrintDlgExW
575 #endif /* WINVER >= 0x0500 */
577 #define LBSELCHSTRING LBSELCHSTRINGA
578 #define SHAREVISTRING SHAREVISTRINGA
579 #define FILEOKSTRING FILEOKSTRINGA
580 #define COLOROKSTRING COLOROKSTRINGA
581 #define SETRGBSTRING SETRGBSTRINGA
582 #define HELPMSGSTRING HELPMSGSTRINGA
583 #define FINDMSGSTRING FINDMSGSTRINGA
584 typedef CHOOSECOLORA CHOOSECOLOR
,*LPCHOOSECOLOR
;
585 typedef CHOOSEFONTA CHOOSEFONT
,*LPCHOOSEFONT
;
586 typedef FINDREPLACEA FINDREPLACE
,*LPFINDREPLACE
;
587 typedef OPENFILENAMEA OPENFILENAME
,*LPOPENFILENAME
;
588 typedef OFNOTIFYA OFNOTIFY
,*LPOFNOTIFY
;
589 typedef PAGESETUPDLGA PAGESETUPDLG
,*LPPAGESETUPDLG
;
590 typedef PRINTDLGA PRINTDLG
,*LPPRINTDLG
;
591 #define ChooseColor ChooseColorA
592 #define ChooseFont ChooseFontA
593 #define FindText FindTextA
594 #define GetFileTitle GetFileTitleA
595 #define GetOpenFileName GetOpenFileNameA
596 #define GetSaveFileName GetSaveFileNameA
597 #define PageSetupDlg PageSetupDlgA
598 #define PrintDlg PrintDlgA
599 #define ReplaceText ReplaceTextA
600 #if (WINVER >= 0x0500) && !defined (_OBJC_NO_COM)
601 typedef PRINTDLGEXA PRINTDLGEX
, *LPPRINTDLGEX
;
602 #define PrintDlgEx PrintDlgExA
603 #endif /* WINVER >= 0x0500 */