Release 980601
[wine] / include / commdlg.h
1 /* 
2  * COMMDLG - Common Wine Dialog ... :-)
3  */
4
5 #ifndef __WINE_COMMDLG_H
6 #define __WINE_COMMDLG_H
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 #include "wintypes.h"           /* needed for CHOOSEFONT structure */
13
14 #define OFN_READONLY                 0x00000001
15 #define OFN_OVERWRITEPROMPT          0x00000002
16 #define OFN_HIDEREADONLY             0x00000004
17 #define OFN_NOCHANGEDIR              0x00000008
18 #define OFN_SHOWHELP                 0x00000010
19 #define OFN_ENABLEHOOK               0x00000020
20 #define OFN_ENABLETEMPLATE           0x00000040
21 #define OFN_ENABLETEMPLATEHANDLE     0x00000080
22 #define OFN_NOVALIDATE               0x00000100
23 #define OFN_ALLOWMULTISELECT         0x00000200
24 #define OFN_EXTENSIONDIFFERENT       0x00000400
25 #define OFN_PATHMUSTEXIST            0x00000800
26 #define OFN_FILEMUSTEXIST            0x00001000
27 #define OFN_CREATEPROMPT             0x00002000
28 #define OFN_SHAREAWARE               0x00004000
29 #define OFN_NOREADONLYRETURN         0x00008000
30 #define OFN_NOTESTFILECREATE         0x00010000
31
32 /*      OFN_?                        0x00020000 */
33
34 #define OFN_NOLONGNAMES              0x00040000
35 #define OFN_EXPLORER                 0x00080000
36 #define OFN_NODEREFERENCELINKS       0x00100000
37 #define OFN_LONGNAMES                0x00200000
38
39 /* WINE internal flags */
40 #define OFN_UNICODE                  0x40000000 /*to differ between 32W/A hook*/
41 #define OFN_WINE32                   0x80000000 /* comdlg32 */
42
43 #define OFN_SHAREFALLTHROUGH     2
44 #define OFN_SHARENOWARN          1
45 #define OFN_SHAREWARN            0
46
47 typedef struct {
48         DWORD           lStructSize;
49         HWND16          hwndOwner;
50         HINSTANCE16     hInstance;
51         SEGPTR          lpstrFilter;
52         SEGPTR          lpstrCustomFilter;
53         DWORD           nMaxCustFilter;
54         DWORD           nFilterIndex;
55         SEGPTR          lpstrFile;
56         DWORD           nMaxFile;
57         SEGPTR          lpstrFileTitle;
58         DWORD           nMaxFileTitle;
59         SEGPTR          lpstrInitialDir;
60         SEGPTR          lpstrTitle;
61         DWORD           Flags;
62         UINT16          nFileOffset;
63         UINT16          nFileExtension;
64         SEGPTR          lpstrDefExt;
65         LPARAM          lCustData;
66         WNDPROC16       lpfnHook;
67         SEGPTR          lpTemplateName;
68 }   OPENFILENAME16,*LPOPENFILENAME16;
69
70 typedef struct {
71         DWORD           lStructSize;
72         HWND32          hwndOwner;
73         HINSTANCE32     hInstance;
74         LPCSTR          lpstrFilter;
75         LPSTR           lpstrCustomFilter;
76         DWORD           nMaxCustFilter;
77         DWORD           nFilterIndex;
78         LPSTR           lpstrFile;
79         DWORD           nMaxFile;
80         LPSTR           lpstrFileTitle;
81         DWORD           nMaxFileTitle;
82         LPCSTR          lpstrInitialDir;
83         LPCSTR          lpstrTitle;
84         DWORD           Flags;
85         WORD            nFileOffset;
86         WORD            nFileExtension;
87         LPCSTR          lpstrDefExt;
88         LPARAM          lCustData;
89         WNDPROC32       lpfnHook;
90         LPCSTR          lpTemplateName;
91 } OPENFILENAME32A,*LPOPENFILENAME32A;
92
93 typedef struct {
94         DWORD           lStructSize;
95         HWND32          hwndOwner;
96         HINSTANCE32     hInstance;
97         LPCWSTR         lpstrFilter;
98         LPWSTR          lpstrCustomFilter;
99         DWORD           nMaxCustFilter;
100         DWORD           nFilterIndex;
101         LPWSTR          lpstrFile;
102         DWORD           nMaxFile;
103         LPWSTR          lpstrFileTitle;
104         DWORD           nMaxFileTitle;
105         LPCWSTR         lpstrInitialDir;
106         LPCWSTR         lpstrTitle;
107         DWORD           Flags;
108         WORD            nFileOffset;
109         WORD            nFileExtension;
110         LPCWSTR         lpstrDefExt;
111         LPARAM          lCustData;
112         WNDPROC32       lpfnHook;
113         LPCWSTR         lpTemplateName;
114 } OPENFILENAME32W,*LPOPENFILENAME32W;
115
116 DECL_WINELIB_TYPE_AW(OPENFILENAME)
117 DECL_WINELIB_TYPE_AW(LPOPENFILENAME)
118
119 typedef UINT32 (CALLBACK *LPCCHOOKPROC) (HWND32, UINT32, WPARAM32, LPARAM);
120
121 typedef struct {
122         DWORD           lStructSize;
123         HWND16          hwndOwner;
124         HWND16          hInstance;
125         COLORREF        rgbResult;
126         COLORREF       *lpCustColors;
127         DWORD           Flags;
128         LPARAM          lCustData;
129         WNDPROC16       lpfnHook;
130         SEGPTR          lpTemplateName;
131 } CHOOSECOLOR16;
132 typedef CHOOSECOLOR16 *LPCHOOSECOLOR16;
133
134 typedef struct {
135         DWORD           lStructSize;
136         HWND32          hwndOwner;
137         HWND32          hInstance;
138         DWORD           rgbResult;
139         LPDWORD         lpCustColors;
140         DWORD           Flags;
141         DWORD           lCustData;
142         LPCCHOOKPROC    lpfnHook;
143         LPCSTR          lpTemplateName;
144 } CHOOSECOLOR32A;
145 typedef CHOOSECOLOR32A *LPCHOOSECOLOR32A;
146
147 typedef struct {
148         DWORD           lStructSize;
149         HWND32          hwndOwner;
150         HWND32          hInstance;
151         DWORD           rgbResult;
152         LPDWORD         *lpCustColors;
153         DWORD           Flags;
154         DWORD           lCustData;
155         LPCCHOOKPROC    lpfnHook;
156         LPCWSTR         lpTemplateName;
157 } CHOOSECOLOR32W;
158 typedef CHOOSECOLOR32W *LPCHOOSECOLOR32W;
159
160 DECL_WINELIB_TYPE_AW(CHOOSECOLOR)
161 DECL_WINELIB_TYPE_AW(LPCHOOSECOLOR)
162
163
164 #define CC_RGBINIT               0x00000001
165 #define CC_FULLOPEN              0x00000002
166 #define CC_PREVENTFULLOPEN       0x00000004
167 #define CC_SHOWHELP              0x00000008
168 #define CC_ENABLEHOOK            0x00000010
169 #define CC_ENABLETEMPLATE        0x00000020
170 #define CC_ENABLETEMPLATEHANDLE  0x00000040
171
172 typedef struct {
173         DWORD           lStructSize;                    /* size of this struct 0x20 */
174         HWND16          hwndOwner;                              /* handle to owner's window */
175         HINSTANCE16     hInstance;                              /* instance handle of.EXE that  */
176                                                                                 /*      contains cust. dlg. template */
177         DWORD           Flags;                  /* one or more of the FR_?? */
178         SEGPTR          lpstrFindWhat;          /* ptr. to search string    */
179         SEGPTR          lpstrReplaceWith;       /* ptr. to replace string   */
180         UINT16          wFindWhatLen;           /* size of find buffer      */
181         UINT16          wReplaceWithLen;        /* size of replace buffer   */
182         LPARAM          lCustData;              /* data passed to hook fn.  */
183         WNDPROC16       lpfnHook;
184         SEGPTR          lpTemplateName;         /* custom template name     */
185         } FINDREPLACE16, *LPFINDREPLACE16;
186
187 typedef struct {
188         DWORD           lStructSize;
189         HWND32          hwndOwner;
190         HINSTANCE32     hInstance;
191
192         DWORD           Flags;
193         LPSTR           lpstrFindWhat;
194         LPSTR           lpstrReplaceWith;
195         WORD            wFindWhatLen;
196         WORD            wReplaceWithLen;
197         LPARAM          lCustData;
198         WNDPROC32       lpfnHook;
199         LPCSTR          lpTemplateName;
200         } FINDREPLACE32A, *LPFINDREPLACE32A;
201
202 typedef struct {
203         DWORD           lStructSize;
204         HWND32          hwndOwner;
205         HINSTANCE32     hInstance;
206
207         DWORD           Flags;
208         LPWSTR          lpstrFindWhat;
209         LPWSTR          lpstrReplaceWith;
210         WORD            wFindWhatLen;
211         WORD            wReplaceWithLen;
212         LPARAM          lCustData;
213         WNDPROC32       lpfnHook;
214         LPCWSTR         lpTemplateName;
215         } FINDREPLACE32W, *LPFINDREPLACE32W;
216         
217 DECL_WINELIB_TYPE_AW(FINDREPLACE)
218 DECL_WINELIB_TYPE_AW(LPFINDREPLACE)
219         
220 #define FR_DOWN                         0x00000001
221 #define FR_WHOLEWORD                    0x00000002
222 #define FR_MATCHCASE                    0x00000004
223 #define FR_FINDNEXT                     0x00000008
224 #define FR_REPLACE                      0x00000010
225 #define FR_REPLACEALL                   0x00000020
226 #define FR_DIALOGTERM                   0x00000040
227 #define FR_SHOWHELP                     0x00000080
228 #define FR_ENABLEHOOK                   0x00000100
229 #define FR_ENABLETEMPLATE               0x00000200
230 #define FR_NOUPDOWN                     0x00000400
231 #define FR_NOMATCHCASE                  0x00000800
232 #define FR_NOWHOLEWORD                  0x00001000
233 #define FR_ENABLETEMPLATEHANDLE         0x00002000
234 #define FR_HIDEUPDOWN                   0x00004000
235 #define FR_HIDEMATCHCASE                0x00008000
236 #define FR_HIDEWHOLEWORD                0x00010000
237
238
239 #pragma pack(1)
240
241 typedef struct 
242 {
243         DWORD                   lStructSize;
244         HWND16                  hwndOwner;          /* caller's window handle   */
245         HDC16                   hDC;                /* printer DC/IC or NULL    */
246         SEGPTR                  lpLogFont;          /* ptr. to a LOGFONT struct */
247         short                   iPointSize;         /* 10 * size in points of selected font */
248         DWORD                   Flags WINE_PACKED;  /* enum. type flags         */
249         COLORREF                rgbColors;          /* returned text color      */
250         LPARAM                  lCustData;          /* data passed to hook fn.  */
251         WNDPROC16               lpfnHook;
252         SEGPTR                  lpTemplateName;     /* custom template name     */
253         HINSTANCE16             hInstance;          /* instance handle of.EXE that   */
254                                                         /* contains cust. dlg. template  */
255         SEGPTR                  lpszStyle WINE_PACKED;  /* return the style field here   */
256                                                         /* must be LF_FACESIZE or bigger */
257         UINT16                  nFontType;              /* same value reported to the    */
258                                                         /* EnumFonts callback with the   */
259                                                         /* extra FONTTYPE_ bits added    */
260         short                   nSizeMin WINE_PACKED;   /* minimum pt size allowed & */
261         short                   nSizeMax WINE_PACKED;   /* max pt size allowed if    */
262                                                         /* CF_LIMITSIZE is used      */
263 } CHOOSEFONT16, *LPCHOOSEFONT16;
264
265
266 typedef struct
267 {
268         UINT32          lStructSize; 
269         HWND32          hwndOwner; 
270         HDC32           hDC; 
271         LPLOGFONT32A    lpLogFont; 
272         INT32           iPointSize; 
273         UINT32          Flags; 
274         COLORREF        rgbColors; 
275         LPARAM          lCustData; 
276         WNDPROC32       lpfnHook; 
277         LPCSTR          lpTemplateName; 
278         HINSTANCE32     hInstance; 
279         LPSTR           lpszStyle; 
280         UINT16          nFontType; 
281         UINT16  ___MISSING_ALIGNMENT__; 
282         INT32           nSizeMin; 
283         INT32           nSizeMax; 
284 } CHOOSEFONT32A, *LPCHOOSEFONT32A;
285
286 typedef struct
287 {
288         UINT32          lStructSize; 
289         HWND32          hwndOwner; 
290         HDC32           hDC; 
291         LPLOGFONT32W    lpLogFont; 
292         INT32           iPointSize; 
293         UINT32          Flags; 
294         COLORREF        rgbColors; 
295         LPARAM          lCustData; 
296         WNDPROC32       lpfnHook; 
297         LPCWSTR         lpTemplateName; 
298         HINSTANCE32     hInstance; 
299         LPWSTR          lpszStyle; 
300         UINT16          nFontType; 
301         UINT16  ___MISSING_ALIGNMENT__; 
302         INT32           nSizeMin; 
303         INT32           nSizeMax; 
304 } CHOOSEFONT32W, *LPCHOOSEFONT32W;
305
306 DECL_WINELIB_TYPE_AW(CHOOSEFONT)
307 DECL_WINELIB_TYPE_AW(LPCHOOSEFONT)
308
309 #pragma pack(4)
310
311 #define CF_SCREENFONTS               0x00000001
312 #define CF_PRINTERFONTS              0x00000002
313 #define CF_BOTH                      (CF_SCREENFONTS | CF_PRINTERFONTS)
314 #define CF_SHOWHELP                  0x00000004L
315 #define CF_ENABLEHOOK                0x00000008L
316 #define CF_ENABLETEMPLATE            0x00000010L
317 #define CF_ENABLETEMPLATEHANDLE      0x00000020L
318 #define CF_INITTOLOGFONTSTRUCT       0x00000040L
319 #define CF_USESTYLE                  0x00000080L
320 #define CF_EFFECTS                   0x00000100L
321 #define CF_APPLY                     0x00000200L
322 #define CF_ANSIONLY                  0x00000400L
323 #define CF_SCRIPTSONLY               CF_ANSIONLY
324 #define CF_NOVECTORFONTS             0x00000800L
325 #define CF_NOOEMFONTS                CF_NOVECTORFONTS
326 #define CF_NOSIMULATIONS             0x00001000L
327 #define CF_LIMITSIZE                 0x00002000L
328 #define CF_FIXEDPITCHONLY            0x00004000L
329 #define CF_WYSIWYG                   0x00008000L /* use with CF_SCREENFONTS & CF_PRINTERFONTS */
330 #define CF_FORCEFONTEXIST            0x00010000L
331 #define CF_SCALABLEONLY              0x00020000L
332 #define CF_TTONLY                    0x00040000L
333 #define CF_NOFACESEL                 0x00080000L
334 #define CF_NOSTYLESEL                0x00100000L
335 #define CF_NOSIZESEL                 0x00200000L
336 #define CF_SELECTSCRIPT              0x00400000L
337 #define CF_NOSCRIPTSEL               0x00800000L
338 #define CF_NOVERTFONTS               0x01000000L
339
340 #define SIMULATED_FONTTYPE      0x8000
341 #define PRINTER_FONTTYPE        0x4000
342 #define SCREEN_FONTTYPE         0x2000
343 #define BOLD_FONTTYPE           0x0100
344 #define ITALIC_FONTTYPE         0x0200
345 #define REGULAR_FONTTYPE        0x0400
346
347 #define WM_CHOOSEFONT_GETLOGFONT        (WM_USER + 1)
348 #define WM_CHOOSEFONT_SETLOGFONT        (WM_USER + 101)
349 #define WM_CHOOSEFONT_SETFLAGS          (WM_USER + 102)
350
351 #define LBSELCHSTRING  "commdlg_LBSelChangedNotify"
352 #define SHAREVISTRING  "commdlg_ShareViolation"
353 #define FILEOKSTRING   "commdlg_FileNameOK"
354 #define COLOROKSTRING  "commdlg_ColorOK"
355 #define SETRGBSTRING   "commdlg_SetRGBColor"
356 #define FINDMSGSTRING  "commdlg_FindReplace"
357 #define HELPMSGSTRING  "commdlg_help"
358
359 #define CD_LBSELNOITEMS -1
360 #define CD_LBSELCHANGE   0
361 #define CD_LBSELSUB      1
362 #define CD_LBSELADD      2
363
364 typedef struct
365 {
366     DWORD            lStructSize;
367     HWND16           hwndOwner;
368     HGLOBAL16        hDevMode;
369     HGLOBAL16        hDevNames;
370     HDC16            hDC;
371     DWORD            Flags;
372     WORD             nFromPage;
373     WORD             nToPage;
374     WORD             nMinPage;
375     WORD             nMaxPage;
376     WORD             nCopies;
377     HINSTANCE16      hInstance;
378     LPARAM           lCustData;
379     WNDPROC16        lpfnPrintHook;
380     WNDPROC16        lpfnSetupHook;
381     SEGPTR           lpPrintTemplateName;
382     SEGPTR           lpSetupTemplateName;
383     HGLOBAL16        hPrintTemplate;
384     HGLOBAL16        hSetupTemplate;
385 } PRINTDLG16, *LPPRINTDLG16;
386
387 typedef UINT32 (CALLBACK *LPPRINTHOOKPROC) (HWND32, UINT32, WPARAM32, LPARAM);
388 typedef UINT32 (CALLBACK *LPSETUPHOOKPROC) (HWND32, UINT32, WPARAM32, LPARAM);
389
390 typedef struct
391 {
392     DWORD            lStructSize;
393     HWND32           hwndOwner;
394     HGLOBAL32        hDevMode;
395     HGLOBAL32        hDevNames;
396     HDC32            hDC;
397     DWORD            Flags;
398     WORD             nFromPage;
399     WORD             nToPage;
400     WORD             nMinPage;
401     WORD             nMaxPage;
402     WORD             nCopies;
403     HINSTANCE32      hInstance;
404     LPARAM           lCustData;
405     LPPRINTHOOKPROC  lpfnPrintHook;
406     LPSETUPHOOKPROC  lpfnSetupHook;
407     LPCSTR           lpPrintTemplateName;
408     LPCSTR           lpSetupTemplateName;
409     HGLOBAL32        hPrintTemplate;
410     HGLOBAL32        hSetupTemplate;
411 } PRINTDLG32A, *LPPRINTDLG32A;
412
413 typedef struct
414 {
415     DWORD            lStructSize;
416     HWND32           hwndOwner;
417     HGLOBAL32        hDevMode;
418     HGLOBAL32        hDevNames;
419     HDC32            hDC;
420     DWORD            Flags;
421     WORD             nFromPage;
422     WORD             nToPage;
423     WORD             nMinPage;
424     WORD             nMaxPage;
425     WORD             nCopies;
426     HINSTANCE32      hInstance;
427     LPARAM           lCustData;
428     LPPRINTHOOKPROC  lpfnPrintHook;
429     LPSETUPHOOKPROC  lpfnSetupHook;
430     LPCWSTR          lpPrintTemplateName;
431     LPCWSTR          lpSetupTemplateName;
432     HGLOBAL32        hPrintTemplate;
433     HGLOBAL32        hSetupTemplate;
434 } PRINTDLG32W, *LPPRINTDLG32W;
435
436 DECL_WINELIB_TYPE_AW(PRINTDLG)
437 DECL_WINELIB_TYPE_AW(LPPRINTDLG)
438
439 #define PD_ALLPAGES                  0x00000000
440 #define PD_SELECTION                 0x00000001
441 #define PD_PAGENUMS                  0x00000002
442 #define PD_NOSELECTION               0x00000004
443 #define PD_NOPAGENUMS                0x00000008
444 #define PD_COLLATE                   0x00000010
445 #define PD_PRINTTOFILE               0x00000020
446 #define PD_PRINTSETUP                0x00000040
447 #define PD_NOWARNING                 0x00000080
448 #define PD_RETURNDC                  0x00000100
449 #define PD_RETURNIC                  0x00000200
450 #define PD_RETURNDEFAULT             0x00000400
451 #define PD_SHOWHELP                  0x00000800
452 #define PD_ENABLEPRINTHOOK           0x00001000
453 #define PD_ENABLESETUPHOOK           0x00002000
454 #define PD_ENABLEPRINTTEMPLATE       0x00004000
455 #define PD_ENABLESETUPTEMPLATE       0x00008000
456 #define PD_ENABLEPRINTTEMPLATEHANDLE 0x00010000
457 #define PD_ENABLESETUPTEMPLATEHANDLE 0x00020000
458 #define PD_USEDEVMODECOPIES          0x00040000
459 #define PD_DISABLEPRINTTOFILE        0x00080000
460 #define PD_HIDEPRINTTOFILE           0x00100000
461
462 typedef struct {
463         UINT16  wDriverOffset;
464         UINT16  wDeviceOffset;
465         UINT16  wOutputOffset;
466         UINT16  wDefault;
467         } DEVNAMES;
468 typedef DEVNAMES * LPDEVNAMES;
469
470 #define DN_DEFAULTPRN      0x0001
471
472
473 #define CDERR_DIALOGFAILURE   0xFFFF
474 #define CDERR_GENERALCODES     0x0000
475 #define CDERR_STRUCTSIZE       0x0001
476 #define CDERR_INITIALIZATION   0x0002
477 #define CDERR_NOTEMPLATE       0x0003
478 #define CDERR_NOHINSTANCE      0x0004
479 #define CDERR_LOADSTRFAILURE   0x0005
480 #define CDERR_FINDRESFAILURE   0x0006
481 #define CDERR_LOADRESFAILURE   0x0007
482 #define CDERR_LOCKRESFAILURE   0x0008
483 #define CDERR_MEMALLOCFAILURE  0x0009
484 #define CDERR_MEMLOCKFAILURE   0x000A
485 #define CDERR_NOHOOK           0x000B
486 #define CDERR_REGISTERMSGFAIL  0x000C
487
488 BOOL16  WINAPI ChooseColor16(LPCHOOSECOLOR16 lpChCol);
489 BOOL32  WINAPI ChooseColor32A(LPCHOOSECOLOR32A lpChCol);
490 BOOL32  WINAPI ChooseColor32W(LPCHOOSECOLOR32W lpChCol);
491 #define ChooseColor WINELIB_NAME_AW(ChooseColor)
492 DWORD   WINAPI CommDlgExtendedError(void);
493 HWND16  WINAPI FindText16( SEGPTR find);
494 HWND32  WINAPI FindText32A(LPFINDREPLACE32A lpFind);
495 HWND32  WINAPI FindText32W(LPFINDREPLACE32W lpFind);
496 #define FindText WINELIB_NAME_AW(FindText)
497 INT16   WINAPI GetFileTitle16(LPCSTR lpFile, LPSTR lpTitle, UINT16 cbBuf);
498 INT16   WINAPI GetFileTitle32A(LPCSTR lpFile, LPSTR lpTitle, UINT32 cbBuf);
499 INT16   WINAPI GetFileTitle32W(LPCWSTR lpFile, LPWSTR lpTitle, UINT32 cbBuf);
500 #define GetFileTitle WINELIB_NAME_AW(GetFileTitle)
501 BOOL16  WINAPI GetOpenFileName16(SEGPTR ofn);
502 BOOL32  WINAPI GetOpenFileName32A(LPOPENFILENAME32A ofn);
503 BOOL32  WINAPI GetOpenFileName32W(LPOPENFILENAME32W ofn);
504 #define GetOpenFileName WINELIB_NAME_AW(GetOpenFileName)
505 BOOL16  WINAPI GetSaveFileName16(SEGPTR ofn);
506 BOOL32  WINAPI GetSaveFileName32A(LPOPENFILENAME32A ofn);
507 BOOL32  WINAPI GetSaveFileName32W(LPOPENFILENAME32W ofn);
508 #define GetSaveFileName WINELIB_NAME_AW(GetSaveFileName)
509 BOOL16  WINAPI PrintDlg( SEGPTR print);
510 HWND16  WINAPI ReplaceText16( SEGPTR find);
511 HWND32  WINAPI ReplaceText32A( LPFINDREPLACE32A lpFind);
512 HWND32  WINAPI ReplaceText32W( LPFINDREPLACE32W lpFind);
513 #define ReplaceText WINELIB_NAME_AW(ReplaceText)
514 BOOL16  WINAPI ChooseFont16(LPCHOOSEFONT16);
515 BOOL32  WINAPI ChooseFont32A(LPCHOOSEFONT32A);
516 BOOL32  WINAPI ChooseFont32W(LPCHOOSEFONT32W);
517 #define ChooseFont WINELIB_NAME_AW(ChooseFont)
518 LRESULT WINAPI FileOpenDlgProc(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
519 LRESULT WINAPI FileSaveDlgProc(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
520 LRESULT WINAPI ColorDlgProc(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
521 LRESULT WINAPI FindTextDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
522 LRESULT WINAPI FindTextDlgProc32A(HWND32 hWnd, UINT32 wMsg, WPARAM32 wParam, LPARAM lParam);
523 LRESULT WINAPI FindTextDlgProc32W(HWND32 hWnd, UINT32 wMsg, WPARAM32 wParam, LPARAM lParam);
524 #define FindTextDlgProc WINELIB_NAME_AW(FindTextDlgProc)
525 LRESULT WINAPI ReplaceTextDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
526 LRESULT WINAPI ReplaceTextDlgProc32A(HWND32 hWnd, UINT32 wMsg, WPARAM32 wParam, LPARAM lParam);
527 LRESULT WINAPI ReplaceTextDlgProc32W(HWND32 hWnd, UINT32 wMsg, WPARAM32 wParam, LPARAM lParam);
528 #define ReplaceTextProc WINELIB_NAME_AW(ReplaceTextDlgProc)
529 LRESULT WINAPI PrintDlgProc(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
530 LRESULT WINAPI PrintSetupDlgProc(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
531 LRESULT WINAPI FormatCharDlgProc16(HWND16,UINT16,WPARAM16,LPARAM);
532 LRESULT WINAPI FormatCharDlgProc32A(HWND32,UINT32,WPARAM32,LPARAM);
533 LRESULT WINAPI FormatCharDlgProc32W(HWND32,UINT32,WPARAM32,LPARAM);
534 #define FormatCharDlgProc LIBWINE_NAME_AW(FormatCharDlgProc)
535 #ifdef __cplusplus
536 }
537 #endif
538
539 #endif  /* __WINE_COMMDLG_H */