Release 980503
[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 struct {
120         DWORD           lStructSize;
121         HWND16          hwndOwner;
122         HWND16          hInstance;
123         COLORREF        rgbResult;
124         COLORREF       *lpCustColors;
125         DWORD           Flags;
126         LPARAM          lCustData;
127         WNDPROC16       lpfnHook;
128         SEGPTR          lpTemplateName;
129 } CHOOSECOLOR;
130 typedef CHOOSECOLOR *LPCHOOSECOLOR;
131
132 #define CC_RGBINIT               0x00000001
133 #define CC_FULLOPEN              0x00000002
134 #define CC_PREVENTFULLOPEN       0x00000004
135 #define CC_SHOWHELP              0x00000008
136 #define CC_ENABLEHOOK            0x00000010
137 #define CC_ENABLETEMPLATE        0x00000020
138 #define CC_ENABLETEMPLATEHANDLE  0x00000040
139
140 typedef struct {
141         DWORD           lStructSize;                    /* size of this struct 0x20 */
142         HWND16          hwndOwner;                              /* handle to owner's window */
143         HINSTANCE16     hInstance;                              /* instance handle of.EXE that  */
144                                                                                 /*      contains cust. dlg. template */
145         DWORD           Flags;                  /* one or more of the FR_?? */
146         SEGPTR          lpstrFindWhat;          /* ptr. to search string    */
147         SEGPTR          lpstrReplaceWith;       /* ptr. to replace string   */
148         UINT16          wFindWhatLen;           /* size of find buffer      */
149         UINT16          wReplaceWithLen;        /* size of replace buffer   */
150         LPARAM          lCustData;              /* data passed to hook fn.  */
151         WNDPROC16       lpfnHook;
152         SEGPTR          lpTemplateName;         /* custom template name     */
153         } FINDREPLACE16, *LPFINDREPLACE16;
154
155 typedef struct {
156         DWORD           lStructSize;
157         HWND32          hwndOwner;
158         HINSTANCE32     hInstance;
159
160         DWORD           Flags;
161         LPSTR           lpstrFindWhat;
162         LPSTR           lpstrReplaceWith;
163         WORD            wFindWhatLen;
164         WORD            wReplaceWithLen;
165         LPARAM          lCustData;
166         WNDPROC32       lpfnHook;
167         LPCSTR          lpTemplateName;
168         } FINDREPLACE32A, *LPFINDREPLACE32A;
169
170 typedef struct {
171         DWORD           lStructSize;
172         HWND32          hwndOwner;
173         HINSTANCE32     hInstance;
174
175         DWORD           Flags;
176         LPWSTR          lpstrFindWhat;
177         LPWSTR          lpstrReplaceWith;
178         WORD            wFindWhatLen;
179         WORD            wReplaceWithLen;
180         LPARAM          lCustData;
181         WNDPROC32       lpfnHook;
182         LPCWSTR         lpTemplateName;
183         } FINDREPLACE32W, *LPFINDREPLACE32W;
184         
185 DECL_WINELIB_TYPE_AW(FINDREPLACE);
186 DECL_WINELIB_TYPE_AW(LPFINDREPLACE);
187         
188 #define FR_DOWN                         0x00000001
189 #define FR_WHOLEWORD                    0x00000002
190 #define FR_MATCHCASE                    0x00000004
191 #define FR_FINDNEXT                     0x00000008
192 #define FR_REPLACE                      0x00000010
193 #define FR_REPLACEALL                   0x00000020
194 #define FR_DIALOGTERM                   0x00000040
195 #define FR_SHOWHELP                     0x00000080
196 #define FR_ENABLEHOOK                   0x00000100
197 #define FR_ENABLETEMPLATE               0x00000200
198 #define FR_NOUPDOWN                     0x00000400
199 #define FR_NOMATCHCASE                  0x00000800
200 #define FR_NOWHOLEWORD                  0x00001000
201 #define FR_ENABLETEMPLATEHANDLE         0x00002000
202 #define FR_HIDEUPDOWN                   0x00004000
203 #define FR_HIDEMATCHCASE                0x00008000
204 #define FR_HIDEWHOLEWORD                0x00010000
205
206
207 #pragma pack(1)
208
209 typedef struct 
210 {
211         DWORD                   lStructSize;
212         HWND16                  hwndOwner;          /* caller's window handle   */
213         HDC16                   hDC;                /* printer DC/IC or NULL    */
214         SEGPTR                  lpLogFont;          /* ptr. to a LOGFONT struct */
215         short                   iPointSize;         /* 10 * size in points of selected font */
216         DWORD                   Flags WINE_PACKED;  /* enum. type flags         */
217         COLORREF                rgbColors;          /* returned text color      */
218         LPARAM                  lCustData;          /* data passed to hook fn.  */
219         WNDPROC16               lpfnHook;
220         SEGPTR                  lpTemplateName;     /* custom template name     */
221         HINSTANCE16             hInstance;          /* instance handle of.EXE that   */
222                                                         /* contains cust. dlg. template  */
223         SEGPTR                  lpszStyle WINE_PACKED;  /* return the style field here   */
224                                                         /* must be LF_FACESIZE or bigger */
225         UINT16                  nFontType;              /* same value reported to the    */
226                                                         /* EnumFonts callback with the   */
227                                                         /* extra FONTTYPE_ bits added    */
228         short                   nSizeMin WINE_PACKED;   /* minimum pt size allowed & */
229         short                   nSizeMax WINE_PACKED;   /* max pt size allowed if    */
230                                                         /* CF_LIMITSIZE is used      */
231 } CHOOSEFONT16, *LPCHOOSEFONT16;
232
233 typedef struct
234 {
235         UINT32          lStructSize; 
236         HWND32          hwndOwner; 
237         HDC32           hDC; 
238         LPLOGFONT32A    lpLogFont; 
239         INT32           iPointSize; 
240         UINT32          Flags; 
241         COLORREF        rgbColors; 
242         LPARAM          lCustData; 
243         WNDPROC32       lpfnHook; 
244         LPCSTR          lpTemplateName; 
245         HINSTANCE32     hInstance; 
246         LPSTR           lpszStyle; 
247         UINT16          nFontType; 
248         UINT16  ___MISSING_ALIGNMENT__; 
249         INT32           nSizeMin; 
250         INT32           nSizeMax; 
251 } CHOOSEFONT32A, *LPCHOOSEFONT32A;
252
253 typedef struct
254 {
255         UINT32          lStructSize; 
256         HWND32          hwndOwner; 
257         HDC32           hDC; 
258         LPLOGFONT32W    lpLogFont; 
259         INT32           iPointSize; 
260         UINT32          Flags; 
261         COLORREF        rgbColors; 
262         LPARAM          lCustData; 
263         WNDPROC32       lpfnHook; 
264         LPCWSTR         lpTemplateName; 
265         HINSTANCE32     hInstance; 
266         LPWSTR          lpszStyle; 
267         UINT16          nFontType; 
268         UINT16  ___MISSING_ALIGNMENT__; 
269         INT32           nSizeMin; 
270         INT32           nSizeMax; 
271 } CHOOSEFONT32W, *LPCHOOSEFONT32W;
272
273 DECL_WINELIB_TYPE_AW(CHOOSEFONT);
274 DECL_WINELIB_TYPE_AW(LPCHOOSEFONT);
275
276 #pragma pack(4)
277
278 #define CF_SCREENFONTS               0x00000001
279 #define CF_PRINTERFONTS              0x00000002
280 #define CF_BOTH                      (CF_SCREENFONTS | CF_PRINTERFONTS)
281 #define CF_SHOWHELP                  0x00000004L
282 #define CF_ENABLEHOOK                0x00000008L
283 #define CF_ENABLETEMPLATE            0x00000010L
284 #define CF_ENABLETEMPLATEHANDLE      0x00000020L
285 #define CF_INITTOLOGFONTSTRUCT       0x00000040L
286 #define CF_USESTYLE                  0x00000080L
287 #define CF_EFFECTS                   0x00000100L
288 #define CF_APPLY                     0x00000200L
289 #define CF_ANSIONLY                  0x00000400L
290 #define CF_SCRIPTSONLY               CF_ANSIONLY
291 #define CF_NOVECTORFONTS             0x00000800L
292 #define CF_NOOEMFONTS                CF_NOVECTORFONTS
293 #define CF_NOSIMULATIONS             0x00001000L
294 #define CF_LIMITSIZE                 0x00002000L
295 #define CF_FIXEDPITCHONLY            0x00004000L
296 #define CF_WYSIWYG                   0x00008000L /* use with CF_SCREENFONTS & CF_PRINTERFONTS */
297 #define CF_FORCEFONTEXIST            0x00010000L
298 #define CF_SCALABLEONLY              0x00020000L
299 #define CF_TTONLY                    0x00040000L
300 #define CF_NOFACESEL                 0x00080000L
301 #define CF_NOSTYLESEL                0x00100000L
302 #define CF_NOSIZESEL                 0x00200000L
303 #define CF_SELECTSCRIPT              0x00400000L
304 #define CF_NOSCRIPTSEL               0x00800000L
305 #define CF_NOVERTFONTS               0x01000000L
306
307 #define SIMULATED_FONTTYPE      0x8000
308 #define PRINTER_FONTTYPE        0x4000
309 #define SCREEN_FONTTYPE         0x2000
310 #define BOLD_FONTTYPE           0x0100
311 #define ITALIC_FONTTYPE         0x0200
312 #define REGULAR_FONTTYPE        0x0400
313
314 #define WM_CHOOSEFONT_GETLOGFONT        (WM_USER + 1)
315 #define WM_CHOOSEFONT_SETLOGFONT        (WM_USER + 101)
316 #define WM_CHOOSEFONT_SETFLAGS          (WM_USER + 102)
317
318 #define LBSELCHSTRING  "commdlg_LBSelChangedNotify"
319 #define SHAREVISTRING  "commdlg_ShareViolation"
320 #define FILEOKSTRING   "commdlg_FileNameOK"
321 #define COLOROKSTRING  "commdlg_ColorOK"
322 #define SETRGBSTRING   "commdlg_SetRGBColor"
323 #define FINDMSGSTRING  "commdlg_FindReplace"
324 #define HELPMSGSTRING  "commdlg_help"
325
326 #define CD_LBSELNOITEMS -1
327 #define CD_LBSELCHANGE   0
328 #define CD_LBSELSUB      1
329 #define CD_LBSELADD      2
330
331 typedef struct
332 {
333     DWORD            lStructSize;
334     HWND16           hwndOwner;
335     HGLOBAL16        hDevMode;
336     HGLOBAL16        hDevNames;
337     HDC16            hDC;
338     DWORD            Flags;
339     WORD             nFromPage;
340     WORD             nToPage;
341     WORD             nMinPage;
342     WORD             nMaxPage;
343     WORD             nCopies;
344     HINSTANCE16      hInstance;
345     LPARAM           lCustData;
346     WNDPROC16        lpfnPrintHook;
347     WNDPROC16        lpfnSetupHook;
348     SEGPTR           lpPrintTemplateName;
349     SEGPTR           lpSetupTemplateName;
350     HGLOBAL16        hPrintTemplate;
351     HGLOBAL16        hSetupTemplate;
352 } PRINTDLG16, *LPPRINTDLG16;
353
354 typedef UINT32 (CALLBACK *LPPRINTHOOKPROC) (HWND32, UINT32, WPARAM32, LPARAM);
355 typedef UINT32 (CALLBACK *LPSETUPHOOKPROC) (HWND32, UINT32, WPARAM32, LPARAM);
356
357 typedef struct
358 {
359     DWORD            lStructSize;
360     HWND32           hwndOwner;
361     HGLOBAL32        hDevMode;
362     HGLOBAL32        hDevNames;
363     HDC32            hDC;
364     DWORD            Flags;
365     WORD             nFromPage;
366     WORD             nToPage;
367     WORD             nMinPage;
368     WORD             nMaxPage;
369     WORD             nCopies;
370     HINSTANCE32      hInstance;
371     LPARAM           lCustData;
372     LPPRINTHOOKPROC  lpfnPrintHook;
373     LPSETUPHOOKPROC  lpfnSetupHook;
374     LPCSTR           lpPrintTemplateName;
375     LPCSTR           lpSetupTemplateName;
376     HGLOBAL32        hPrintTemplate;
377     HGLOBAL32        hSetupTemplate;
378 } PRINTDLG32A, *LPPRINTDLG32A;
379
380 typedef struct
381 {
382     DWORD            lStructSize;
383     HWND32           hwndOwner;
384     HGLOBAL32        hDevMode;
385     HGLOBAL32        hDevNames;
386     HDC32            hDC;
387     DWORD            Flags;
388     WORD             nFromPage;
389     WORD             nToPage;
390     WORD             nMinPage;
391     WORD             nMaxPage;
392     WORD             nCopies;
393     HINSTANCE32      hInstance;
394     LPARAM           lCustData;
395     LPPRINTHOOKPROC  lpfnPrintHook;
396     LPSETUPHOOKPROC  lpfnSetupHook;
397     LPCWSTR          lpPrintTemplateName;
398     LPCWSTR          lpSetupTemplateName;
399     HGLOBAL32        hPrintTemplate;
400     HGLOBAL32        hSetupTemplate;
401 } PRINTDLG32W, *LPPRINTDLG32W;
402
403 DECL_WINELIB_TYPE_AW(PRINTDLG);
404 DECL_WINELIB_TYPE_AW(LPPRINTDLG);
405
406 #define PD_ALLPAGES                  0x00000000
407 #define PD_SELECTION                 0x00000001
408 #define PD_PAGENUMS                  0x00000002
409 #define PD_NOSELECTION               0x00000004
410 #define PD_NOPAGENUMS                0x00000008
411 #define PD_COLLATE                   0x00000010
412 #define PD_PRINTTOFILE               0x00000020
413 #define PD_PRINTSETUP                0x00000040
414 #define PD_NOWARNING                 0x00000080
415 #define PD_RETURNDC                  0x00000100
416 #define PD_RETURNIC                  0x00000200
417 #define PD_RETURNDEFAULT             0x00000400
418 #define PD_SHOWHELP                  0x00000800
419 #define PD_ENABLEPRINTHOOK           0x00001000
420 #define PD_ENABLESETUPHOOK           0x00002000
421 #define PD_ENABLEPRINTTEMPLATE       0x00004000
422 #define PD_ENABLESETUPTEMPLATE       0x00008000
423 #define PD_ENABLEPRINTTEMPLATEHANDLE 0x00010000
424 #define PD_ENABLESETUPTEMPLATEHANDLE 0x00020000
425 #define PD_USEDEVMODECOPIES          0x00040000
426 #define PD_DISABLEPRINTTOFILE        0x00080000
427 #define PD_HIDEPRINTTOFILE           0x00100000
428
429 typedef struct {
430         UINT16  wDriverOffset;
431         UINT16  wDeviceOffset;
432         UINT16  wOutputOffset;
433         UINT16  wDefault;
434         } DEVNAMES;
435 typedef DEVNAMES * LPDEVNAMES;
436
437 #define DN_DEFAULTPRN      0x0001
438
439
440 #define CDERR_DIALOGFAILURE   0xFFFF
441 #define CDERR_GENERALCODES     0x0000
442 #define CDERR_STRUCTSIZE       0x0001
443 #define CDERR_INITIALIZATION   0x0002
444 #define CDERR_NOTEMPLATE       0x0003
445 #define CDERR_NOHINSTANCE      0x0004
446 #define CDERR_LOADSTRFAILURE   0x0005
447 #define CDERR_FINDRESFAILURE   0x0006
448 #define CDERR_LOADRESFAILURE   0x0007
449 #define CDERR_LOCKRESFAILURE   0x0008
450 #define CDERR_MEMALLOCFAILURE  0x0009
451 #define CDERR_MEMLOCKFAILURE   0x000A
452 #define CDERR_NOHOOK           0x000B
453 #define CDERR_REGISTERMSGFAIL  0x000C
454
455 BOOL16  WINAPI ChooseColor(LPCHOOSECOLOR lpChCol);
456 DWORD   WINAPI CommDlgExtendedError(void);
457 HWND16  WINAPI FindText16( SEGPTR find);
458 HWND32  WINAPI FindText32A(LPFINDREPLACE32A lpFind);
459 HWND32  WINAPI FindText32W(LPFINDREPLACE32W lpFind);
460 #define FindText WINELIB_NAME_AW(FindText)
461 INT16   WINAPI GetFileTitle16(LPCSTR lpFile, LPSTR lpTitle, UINT16 cbBuf);
462 INT16   WINAPI GetFileTitle32A(LPCSTR lpFile, LPSTR lpTitle, UINT32 cbBuf);
463 INT16   WINAPI GetFileTitle32W(LPCWSTR lpFile, LPWSTR lpTitle, UINT32 cbBuf);
464 #define GetFileTitle WINELIB_NAME_AW(GetFileTitle)
465 BOOL16  WINAPI GetOpenFileName16(SEGPTR ofn);
466 BOOL32  WINAPI GetOpenFileName32A(LPOPENFILENAME32A ofn);
467 BOOL32  WINAPI GetOpenFileName32W(LPOPENFILENAME32W ofn);
468 #define GetOpenFileName WINELIB_NAME_AW(GetOpenFileName)
469 BOOL16  WINAPI GetSaveFileName16(SEGPTR ofn);
470 BOOL32  WINAPI GetSaveFileName32A(LPOPENFILENAME32A ofn);
471 BOOL32  WINAPI GetSaveFileName32W(LPOPENFILENAME32W ofn);
472 #define GetSaveFileName WINELIB_NAME_AW(GetSaveFileName)
473 BOOL16  WINAPI PrintDlg( SEGPTR print);
474 HWND16  WINAPI ReplaceText16( SEGPTR find);
475 HWND32  WINAPI ReplaceText32A( LPFINDREPLACE32A lpFind);
476 HWND32  WINAPI ReplaceText32W( LPFINDREPLACE32W lpFind);
477 #define ReplaceText WINELIB_NAME_AW(ReplaceText)
478 BOOL16  WINAPI ChooseFont16(LPCHOOSEFONT16);
479 BOOL32  WINAPI ChooseFont32A(LPCHOOSEFONT32A);
480 BOOL32  WINAPI ChooseFont32W(LPCHOOSEFONT32W);
481 #define ChooseFont WINELIB_NAME_AW(ChooseFont)
482 LRESULT WINAPI FileOpenDlgProc(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
483 LRESULT WINAPI FileSaveDlgProc(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
484 LRESULT WINAPI ColorDlgProc(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
485 LRESULT WINAPI FindTextDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
486 LRESULT WINAPI FindTextDlgProc32A(HWND32 hWnd, UINT32 wMsg, WPARAM32 wParam, LPARAM lParam);
487 LRESULT WINAPI FindTextDlgProc32W(HWND32 hWnd, UINT32 wMsg, WPARAM32 wParam, LPARAM lParam);
488 #define FindTextDlgProc WINELIB_NAME_AW(FindTextDlgProc)
489 LRESULT WINAPI ReplaceTextDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
490 LRESULT WINAPI ReplaceTextDlgProc32A(HWND32 hWnd, UINT32 wMsg, WPARAM32 wParam, LPARAM lParam);
491 LRESULT WINAPI ReplaceTextDlgProc32W(HWND32 hWnd, UINT32 wMsg, WPARAM32 wParam, LPARAM lParam);
492 #define ReplaceTextProc WINELIB_NAME_AW(ReplaceTextDlgProc)
493 LRESULT WINAPI PrintDlgProc(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
494 LRESULT WINAPI PrintSetupDlgProc(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
495 LRESULT WINAPI FormatCharDlgProc16(HWND16,UINT16,WPARAM16,LPARAM);
496 LRESULT WINAPI FormatCharDlgProc32A(HWND32,UINT32,WPARAM32,LPARAM);
497 LRESULT WINAPI FormatCharDlgProc32W(HWND32,UINT32,WPARAM32,LPARAM);
498 #define FormatCharDlgProc LIBWINE_NAME_AW(FormatCharDlgProc)
499 #ifdef __cplusplus
500 }
501 #endif
502
503 #endif  /* __WINE_COMMDLG_H */