source: Daodan/MinGW/include/commdlg.h@ 1047

Last change on this file since 1047 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

File size: 17.2 KB
RevLine 
[1046]1#ifndef _COMMDLG_H
2#define _COMMDLG_H
3#if __GNUC__ >=3
4#pragma GCC system_header
5#endif
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10#pragma pack(push,1)
11
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"
26#ifndef CDN_FIRST
27#define CDN_FIRST ((UINT)-601) /* also in commctrl.h */
28#define CDN_LAST ((UINT)-699)
29#endif
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)
46#define CC_RGBINIT 1
47#define CC_FULLOPEN 2
48#define CC_PREVENTFULLOPEN 4
49#define CC_SHOWHELP 8
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
57#define CF_BOTH 3
58#define CF_SHOWHELP 4
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
65#define CF_APPLY 512
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
121#endif
122#define FR_DIALOGTERM 64
123#define FR_DOWN 1
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
175#endif
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
208#endif
209
210#ifndef SNDMSG
211#ifdef __cplusplus
212#define SNDMSG ::SendMessage
213#else
214#define SNDMSG SendMessage
215#endif
216#endif /* ifndef SNDMSG */
217
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)))
231
232typedef UINT (APIENTRY *__CDHOOKPROC)(HWND,UINT,WPARAM,LPARAM);
233typedef __CDHOOKPROC LPCCHOOKPROC;
234typedef __CDHOOKPROC LPCFHOOKPROC;
235typedef __CDHOOKPROC LPFRHOOKPROC;
236typedef __CDHOOKPROC LPOFNHOOKPROC;
237typedef __CDHOOKPROC LPPAGEPAINTHOOK;
238typedef __CDHOOKPROC LPPAGESETUPHOOK;
239typedef __CDHOOKPROC LPSETUPHOOKPROC;
240typedef __CDHOOKPROC LPPRINTHOOKPROC;
241typedef struct tagCHOOSECOLORA {
242 DWORD lStructSize;
243 HWND hwndOwner;
244 HWND hInstance;
245 COLORREF rgbResult;
246 COLORREF* lpCustColors;
247 DWORD Flags;
248 LPARAM lCustData;
249 LPCCHOOKPROC lpfnHook;
250 LPCSTR lpTemplateName;
251} CHOOSECOLORA,*LPCHOOSECOLORA;
252typedef struct tagCHOOSECOLORW {
253 DWORD lStructSize;
254 HWND hwndOwner;
255 HWND hInstance;
256 COLORREF rgbResult;
257 COLORREF* lpCustColors;
258 DWORD Flags;
259 LPARAM lCustData;
260 LPCCHOOKPROC lpfnHook;
261 LPCWSTR lpTemplateName;
262} CHOOSECOLORW,*LPCHOOSECOLORW;
263typedef struct tagCHOOSEFONTA {
264 DWORD lStructSize;
265 HWND hwndOwner;
266 HDC hDC;
267 LPLOGFONTA lpLogFont;
268 INT iPointSize;
269 DWORD Flags;
270 DWORD rgbColors;
271 LPARAM lCustData;
272 LPCFHOOKPROC lpfnHook;
273 LPCSTR lpTemplateName;
274 HINSTANCE hInstance;
275 LPSTR lpszStyle;
276 WORD nFontType;
277 WORD ___MISSING_ALIGNMENT__;
278 INT nSizeMin;
279 INT nSizeMax;
280} CHOOSEFONTA,*LPCHOOSEFONTA;
281typedef struct tagCHOOSEFONTW {
282 DWORD lStructSize;
283 HWND hwndOwner;
284 HDC hDC;
285 LPLOGFONTW lpLogFont;
286 INT iPointSize;
287 DWORD Flags;
288 DWORD rgbColors;
289 LPARAM lCustData;
290 LPCFHOOKPROC lpfnHook;
291 LPCWSTR lpTemplateName;
292 HINSTANCE hInstance;
293 LPWSTR lpszStyle;
294 WORD nFontType;
295 WORD ___MISSING_ALIGNMENT__;
296 INT nSizeMin;
297 INT nSizeMax;
298} CHOOSEFONTW,*LPCHOOSEFONTW;
299typedef struct tagDEVNAMES {
300 WORD wDriverOffset;
301 WORD wDeviceOffset;
302 WORD wOutputOffset;
303 WORD wDefault;
304} DEVNAMES,*LPDEVNAMES;
305typedef struct {
306 DWORD lStructSize;
307 HWND hwndOwner;
308 HINSTANCE hInstance;
309 DWORD Flags;
310 LPSTR lpstrFindWhat;
311 LPSTR lpstrReplaceWith;
312 WORD wFindWhatLen;
313 WORD wReplaceWithLen;
314 LPARAM lCustData;
315 LPFRHOOKPROC lpfnHook;
316 LPCSTR lpTemplateName;
317} FINDREPLACEA,*LPFINDREPLACEA;
318typedef struct {
319 DWORD lStructSize;
320 HWND hwndOwner;
321 HINSTANCE hInstance;
322 DWORD Flags;
323 LPWSTR lpstrFindWhat;
324 LPWSTR lpstrReplaceWith;
325 WORD wFindWhatLen;
326 WORD wReplaceWithLen;
327 LPARAM lCustData;
328 LPFRHOOKPROC lpfnHook;
329 LPCWSTR lpTemplateName;
330} FINDREPLACEW,*LPFINDREPLACEW;
331typedef struct tagOFNA {
332 DWORD lStructSize;
333 HWND hwndOwner;
334 HINSTANCE hInstance;
335 LPCSTR lpstrFilter;
336 LPSTR lpstrCustomFilter;
337 DWORD nMaxCustFilter;
338 DWORD nFilterIndex;
339 LPSTR lpstrFile;
340 DWORD nMaxFile;
341 LPSTR lpstrFileTitle;
342 DWORD nMaxFileTitle;
343 LPCSTR lpstrInitialDir;
344 LPCSTR lpstrTitle;
345 DWORD Flags;
346 WORD nFileOffset;
347 WORD nFileExtension;
348 LPCSTR lpstrDefExt;
349 DWORD lCustData;
350 LPOFNHOOKPROC lpfnHook;
351 LPCSTR lpTemplateName;
352#if (_WIN32_WINNT >= 0x0500)
353 void * pvReserved;
354 DWORD dwReserved;
355 DWORD FlagsEx;
356#endif /* (_WIN32_WINNT >= 0x0500) */
357} OPENFILENAMEA,*LPOPENFILENAMEA;
358typedef struct tagOFNW {
359 DWORD lStructSize;
360 HWND hwndOwner;
361 HINSTANCE hInstance;
362 LPCWSTR lpstrFilter;
363 LPWSTR lpstrCustomFilter;
364 DWORD nMaxCustFilter;
365 DWORD nFilterIndex;
366 LPWSTR lpstrFile;
367 DWORD nMaxFile;
368 LPWSTR lpstrFileTitle;
369 DWORD nMaxFileTitle;
370 LPCWSTR lpstrInitialDir;
371 LPCWSTR lpstrTitle;
372 DWORD Flags;
373 WORD nFileOffset;
374 WORD nFileExtension;
375 LPCWSTR lpstrDefExt;
376 DWORD lCustData;
377 LPOFNHOOKPROC lpfnHook;
378 LPCWSTR lpTemplateName;
379#if (_WIN32_WINNT >= 0x0500)
380 void * pvReserved;
381 DWORD dwReserved;
382 DWORD FlagsEx;
383#endif /* (_WIN32_WINNT >= 0x0500) */
384} OPENFILENAMEW,*LPOPENFILENAMEW;
385typedef struct _OFNOTIFYA {
386 NMHDR hdr;
387 LPOPENFILENAMEA lpOFN;
388 LPSTR pszFile;
389} OFNOTIFYA,*LPOFNOTIFYA;
390typedef struct _OFNOTIFYW {
391 NMHDR hdr;
392 LPOPENFILENAMEW lpOFN;
393 LPWSTR pszFile;
394} OFNOTIFYW,*LPOFNOTIFYW;
395typedef struct tagPSDA {
396 DWORD lStructSize;
397 HWND hwndOwner;
398 HGLOBAL hDevMode;
399 HGLOBAL hDevNames;
400 DWORD Flags;
401 POINT ptPaperSize;
402 RECT rtMinMargin;
403 RECT rtMargin;
404 HINSTANCE hInstance;
405 LPARAM lCustData;
406 LPPAGESETUPHOOK lpfnPageSetupHook;
407 LPPAGEPAINTHOOK lpfnPagePaintHook;
408 LPCSTR lpPageSetupTemplateName;
409 HGLOBAL hPageSetupTemplate;
410} PAGESETUPDLGA,*LPPAGESETUPDLGA;
411typedef struct tagPSDW {
412 DWORD lStructSize;
413 HWND hwndOwner;
414 HGLOBAL hDevMode;
415 HGLOBAL hDevNames;
416 DWORD Flags;
417 POINT ptPaperSize;
418 RECT rtMinMargin;
419 RECT rtMargin;
420 HINSTANCE hInstance;
421 LPARAM lCustData;
422 LPPAGESETUPHOOK lpfnPageSetupHook;
423 LPPAGEPAINTHOOK lpfnPagePaintHook;
424 LPCWSTR lpPageSetupTemplateName;
425 HGLOBAL hPageSetupTemplate;
426} PAGESETUPDLGW,*LPPAGESETUPDLGW;
427typedef struct tagPDA {
428 DWORD lStructSize;
429 HWND hwndOwner;
430 HANDLE hDevMode;
431 HANDLE hDevNames;
432 HDC hDC;
433 DWORD Flags;
434 WORD nFromPage;
435 WORD nToPage;
436 WORD nMinPage;
437 WORD nMaxPage;
438 WORD nCopies;
439 HINSTANCE hInstance;
440 DWORD lCustData;
441 LPPRINTHOOKPROC lpfnPrintHook;
442 LPSETUPHOOKPROC lpfnSetupHook;
443 LPCSTR lpPrintTemplateName;
444 LPCSTR lpSetupTemplateName;
445 HANDLE hPrintTemplate;
446 HANDLE hSetupTemplate;
447} PRINTDLGA,*LPPRINTDLGA;
448typedef struct tagPDW {
449 DWORD lStructSize;
450 HWND hwndOwner;
451 HANDLE hDevMode;
452 HANDLE hDevNames;
453 HDC hDC;
454 DWORD Flags;
455 WORD nFromPage;
456 WORD nToPage;
457 WORD nMinPage;
458 WORD nMaxPage;
459 WORD nCopies;
460 HINSTANCE hInstance;
461 DWORD lCustData;
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 */
472typedef struct tagPRINTPAGERANGE {
473 DWORD nFromPage;
474 DWORD nToPage;
475} PRINTPAGERANGE, *LPPRINTPAGERANGE;
476typedef struct tagPDEXA {
477 DWORD lStructSize;
478 HWND hwndOwner;
479 HGLOBAL hDevMode;
480 HGLOBAL hDevNames;
481 HDC hDC;
482 DWORD Flags;
483 DWORD Flags2;
484 DWORD ExclusionFlags;
485 DWORD nPageRanges;
486 DWORD nMaxPageRanges;
487 LPPRINTPAGERANGE lpPageRanges;
488 DWORD nMinPage;
489 DWORD nMaxPage;
490 DWORD nCopies;
491 HINSTANCE hInstance;
492 LPCSTR lpPrintTemplateName;
493 LPUNKNOWN lpCallback;
494 DWORD nPropertyPages;
495 HPROPSHEETPAGE *lphPropertyPages;
496 DWORD nStartPage;
497 DWORD dwResultAction;
498} PRINTDLGEXA, *LPPRINTDLGEXA;
499typedef struct tagPDEXW {
500 DWORD lStructSize;
501 HWND hwndOwner;
502 HGLOBAL hDevMode;
503 HGLOBAL hDevNames;
504 HDC hDC;
505 DWORD Flags;
506 DWORD Flags2;
507 DWORD ExclusionFlags;
508 DWORD nPageRanges;
509 DWORD nMaxPageRanges;
510 LPPRINTPAGERANGE lpPageRanges;
511 DWORD nMinPage;
512 DWORD nMaxPage;
513 DWORD nCopies;
514 HINSTANCE hInstance;
515 LPCWSTR lpPrintTemplateName;
516 LPUNKNOWN lpCallback;
517 DWORD nPropertyPages;
518 HPROPSHEETPAGE *lphPropertyPages;
519 DWORD nStartPage;
520 DWORD dwResultAction;
521} PRINTDLGEXW, *LPPRINTDLGEXW;
522#endif /* WINVER >= 0x0500 */
523
524BOOL WINAPI ChooseColorA(LPCHOOSECOLORA);
525BOOL WINAPI ChooseColorW(LPCHOOSECOLORW);
526BOOL WINAPI ChooseFontA(LPCHOOSEFONTA);
527BOOL WINAPI ChooseFontW(LPCHOOSEFONTW);
528DWORD WINAPI CommDlgExtendedError(void);
529HWND WINAPI FindTextA(LPFINDREPLACEA);
530HWND WINAPI FindTextW(LPFINDREPLACEW);
531short WINAPI GetFileTitleA(LPCSTR,LPSTR,WORD);
532short WINAPI GetFileTitleW(LPCWSTR,LPWSTR,WORD);
533BOOL WINAPI GetOpenFileNameA(LPOPENFILENAMEA);
534BOOL WINAPI GetOpenFileNameW(LPOPENFILENAMEW);
535BOOL WINAPI GetSaveFileNameA(LPOPENFILENAMEA);
536BOOL WINAPI GetSaveFileNameW(LPOPENFILENAMEW);
537BOOL WINAPI PageSetupDlgA(LPPAGESETUPDLGA);
538BOOL WINAPI PageSetupDlgW(LPPAGESETUPDLGW);
539BOOL WINAPI PrintDlgA(LPPRINTDLGA);
540BOOL WINAPI PrintDlgW(LPPRINTDLGW);
541HWND WINAPI ReplaceTextA(LPFINDREPLACEA);
542HWND WINAPI ReplaceTextW(LPFINDREPLACEW);
543#if (WINVER >= 0x0500) && !defined (_OBJC_NO_COM)
544HRESULT WINAPI PrintDlgExA(LPPRINTDLGEXA);
545HRESULT WINAPI PrintDlgExW(LPPRINTDLGEXW);
546#endif /* WINVER >= 0x0500 */
547
548#ifdef UNICODE
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
556typedef CHOOSECOLORW CHOOSECOLOR,*LPCHOOSECOLOR;
557typedef CHOOSEFONTW CHOOSEFONT,*LPCHOOSEFONT;
558typedef FINDREPLACEW FINDREPLACE,*LPFINDREPLACE;
559typedef OPENFILENAMEW OPENFILENAME,*LPOPENFILENAME;
560typedef OFNOTIFYW OFNOTIFY,*LPOFNOTIFY;
561typedef PAGESETUPDLGW PAGESETUPDLG,*LPPAGESETUPDLG;
562typedef 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)
573typedef PRINTDLGEXW PRINTDLGEX, *LPPRINTDLGEX;
574#define PrintDlgEx PrintDlgExW
575#endif /* WINVER >= 0x0500 */
576#else /* UNICODE */
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
584typedef CHOOSECOLORA CHOOSECOLOR,*LPCHOOSECOLOR;
585typedef CHOOSEFONTA CHOOSEFONT,*LPCHOOSEFONT;
586typedef FINDREPLACEA FINDREPLACE,*LPFINDREPLACE;
587typedef OPENFILENAMEA OPENFILENAME,*LPOPENFILENAME;
588typedef OFNOTIFYA OFNOTIFY,*LPOFNOTIFY;
589typedef PAGESETUPDLGA PAGESETUPDLG,*LPPAGESETUPDLG;
590typedef 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)
601typedef PRINTDLGEXA PRINTDLGEX, *LPPRINTDLGEX;
602#define PrintDlgEx PrintDlgExA
603#endif /* WINVER >= 0x0500 */
604#endif /* UNICODE */
605#pragma pack(pop)
606#ifdef __cplusplus
607}
608#endif
609#endif
Note: See TracBrowser for help on using the repository browser.