| 1 | /* $Id: commdlg.h,v 1.10 2001-04-24 20:36:39 sandervl Exp $ */
|
|---|
| 2 | /*
|
|---|
| 3 | * COMMDLG - Common Wine Dialog ... :-)
|
|---|
| 4 | */
|
|---|
| 5 |
|
|---|
| 6 | #ifndef __WINE_COMMDLG_H
|
|---|
| 7 | #define __WINE_COMMDLG_H
|
|---|
| 8 |
|
|---|
| 9 | #ifdef __cplusplus
|
|---|
| 10 | extern "C" {
|
|---|
| 11 | #endif
|
|---|
| 12 |
|
|---|
| 13 | #include "windef.h" /* needed for CHOOSEFONT structure */
|
|---|
| 14 | #include "winuser.h"
|
|---|
| 15 | #include "pshpack1.h"
|
|---|
| 16 |
|
|---|
| 17 | #ifndef SNDMSG
|
|---|
| 18 | #define SNDMSG WINELIB_NAME_AW(SendMessage)
|
|---|
| 19 | #endif
|
|---|
| 20 |
|
|---|
| 21 | #define OFN_READONLY 0x00000001
|
|---|
| 22 | #define OFN_OVERWRITEPROMPT 0x00000002
|
|---|
| 23 | #define OFN_HIDEREADONLY 0x00000004
|
|---|
| 24 | #define OFN_NOCHANGEDIR 0x00000008
|
|---|
| 25 | #define OFN_SHOWHELP 0x00000010
|
|---|
| 26 | #define OFN_ENABLEHOOK 0x00000020
|
|---|
| 27 | #define OFN_ENABLETEMPLATE 0x00000040
|
|---|
| 28 | #define OFN_ENABLETEMPLATEHANDLE 0x00000080
|
|---|
| 29 | #define OFN_NOVALIDATE 0x00000100
|
|---|
| 30 | #define OFN_ALLOWMULTISELECT 0x00000200
|
|---|
| 31 | #define OFN_EXTENSIONDIFFERENT 0x00000400
|
|---|
| 32 | #define OFN_PATHMUSTEXIST 0x00000800
|
|---|
| 33 | #define OFN_FILEMUSTEXIST 0x00001000
|
|---|
| 34 | #define OFN_CREATEPROMPT 0x00002000
|
|---|
| 35 | #define OFN_SHAREAWARE 0x00004000
|
|---|
| 36 | #define OFN_NOREADONLYRETURN 0x00008000
|
|---|
| 37 | #define OFN_NOTESTFILECREATE 0x00010000
|
|---|
| 38 | #define OFN_NONETWORKBUTTON 0x00020000
|
|---|
| 39 | #define OFN_NOLONGNAMES 0x00040000
|
|---|
| 40 | #define OFN_EXPLORER 0x00080000
|
|---|
| 41 | #define OFN_NODEREFERENCELINKS 0x00100000
|
|---|
| 42 | #define OFN_LONGNAMES 0x00200000
|
|---|
| 43 | #define OFN_ENABLEINCLUDENOTIFY 0x00400000
|
|---|
| 44 | #define OFN_ENABLESIZING 0x00800000
|
|---|
| 45 | #define OFN_DONTADDTORECENT 0x02000000
|
|---|
| 46 | #define OFN_FORCESHOWHIDDEN 0x10000000
|
|---|
| 47 |
|
|---|
| 48 | /* WINE internal flags */
|
|---|
| 49 | #define OFN_UNICODE 0x40000000 /*to differ between 32W/A hook*/
|
|---|
| 50 | #define OFN_WINE 0x80000000 /* comdlg32 */
|
|---|
| 51 |
|
|---|
| 52 | #define OFN_SHAREFALLTHROUGH 2
|
|---|
| 53 | #define OFN_SHARENOWARN 1
|
|---|
| 54 | #define OFN_SHAREWARN 0
|
|---|
| 55 |
|
|---|
| 56 | #define SAVE_DIALOG 1
|
|---|
| 57 | #define OPEN_DIALOG 2
|
|---|
| 58 |
|
|---|
| 59 | typedef UINT16 (* CALLBACK LPOFNHOOKPROC16)(HWND16,UINT16,WPARAM16,LPARAM);
|
|---|
| 60 | typedef UINT (* CALLBACK LPOFNHOOKPROC)(HWND,UINT,WPARAM,LPARAM);
|
|---|
| 61 |
|
|---|
| 62 | typedef struct {
|
|---|
| 63 | DWORD lStructSize;
|
|---|
| 64 | HWND16 hwndOwner;
|
|---|
| 65 | HINSTANCE16 hInstance;
|
|---|
| 66 | SEGPTR lpstrFilter;
|
|---|
| 67 | SEGPTR lpstrCustomFilter;
|
|---|
| 68 | DWORD nMaxCustFilter;
|
|---|
| 69 | DWORD nFilterIndex;
|
|---|
| 70 | SEGPTR lpstrFile;
|
|---|
| 71 | DWORD nMaxFile;
|
|---|
| 72 | SEGPTR lpstrFileTitle;
|
|---|
| 73 | DWORD nMaxFileTitle;
|
|---|
| 74 | SEGPTR lpstrInitialDir;
|
|---|
| 75 | SEGPTR lpstrTitle;
|
|---|
| 76 | DWORD Flags;
|
|---|
| 77 | UINT16 nFileOffset;
|
|---|
| 78 | UINT16 nFileExtension;
|
|---|
| 79 | SEGPTR lpstrDefExt;
|
|---|
| 80 | LPARAM lCustData;
|
|---|
| 81 | LPOFNHOOKPROC16 lpfnHook;
|
|---|
| 82 | SEGPTR lpTemplateName;
|
|---|
| 83 | } OPENFILENAME16,*LPOPENFILENAME16;
|
|---|
| 84 |
|
|---|
| 85 | typedef struct {
|
|---|
| 86 | DWORD lStructSize;
|
|---|
| 87 | HWND hwndOwner;
|
|---|
| 88 | HINSTANCE hInstance;
|
|---|
| 89 | LPCSTR lpstrFilter;
|
|---|
| 90 | LPSTR lpstrCustomFilter;
|
|---|
| 91 | DWORD nMaxCustFilter;
|
|---|
| 92 | DWORD nFilterIndex;
|
|---|
| 93 | LPSTR lpstrFile;
|
|---|
| 94 | DWORD nMaxFile;
|
|---|
| 95 | LPSTR lpstrFileTitle;
|
|---|
| 96 | DWORD nMaxFileTitle;
|
|---|
| 97 | LPCSTR lpstrInitialDir;
|
|---|
| 98 | LPCSTR lpstrTitle;
|
|---|
| 99 | DWORD Flags;
|
|---|
| 100 | WORD nFileOffset;
|
|---|
| 101 | WORD nFileExtension;
|
|---|
| 102 | LPCSTR lpstrDefExt;
|
|---|
| 103 | LPARAM lCustData;
|
|---|
| 104 | LPOFNHOOKPROC lpfnHook;
|
|---|
| 105 | LPCSTR lpTemplateName;
|
|---|
| 106 | } OPENFILENAMEA,*LPOPENFILENAMEA;
|
|---|
| 107 |
|
|---|
| 108 | typedef struct {
|
|---|
| 109 | DWORD lStructSize;
|
|---|
| 110 | HWND hwndOwner;
|
|---|
| 111 | HINSTANCE hInstance;
|
|---|
| 112 | LPCWSTR lpstrFilter;
|
|---|
| 113 | LPWSTR lpstrCustomFilter;
|
|---|
| 114 | DWORD nMaxCustFilter;
|
|---|
| 115 | DWORD nFilterIndex;
|
|---|
| 116 | LPWSTR lpstrFile;
|
|---|
| 117 | DWORD nMaxFile;
|
|---|
| 118 | LPWSTR lpstrFileTitle;
|
|---|
| 119 | DWORD nMaxFileTitle;
|
|---|
| 120 | LPCWSTR lpstrInitialDir;
|
|---|
| 121 | LPCWSTR lpstrTitle;
|
|---|
| 122 | DWORD Flags;
|
|---|
| 123 | WORD nFileOffset;
|
|---|
| 124 | WORD nFileExtension;
|
|---|
| 125 | LPCWSTR lpstrDefExt;
|
|---|
| 126 | LPARAM lCustData;
|
|---|
| 127 | LPOFNHOOKPROC lpfnHook;
|
|---|
| 128 | LPCWSTR lpTemplateName;
|
|---|
| 129 | } OPENFILENAMEW,*LPOPENFILENAMEW;
|
|---|
| 130 |
|
|---|
| 131 | DECL_WINELIB_TYPE_AW(OPENFILENAME)
|
|---|
| 132 | DECL_WINELIB_TYPE_AW(LPOPENFILENAME)
|
|---|
| 133 |
|
|---|
| 134 | typedef struct
|
|---|
| 135 | {
|
|---|
| 136 | NMHDR hdr;
|
|---|
| 137 | LPOPENFILENAMEA lpOFN;
|
|---|
| 138 | LPSTR pszFile;
|
|---|
| 139 | } OFNOTIFYA, *LPOFNOTIFYA;
|
|---|
| 140 |
|
|---|
| 141 | typedef struct
|
|---|
| 142 | {
|
|---|
| 143 | NMHDR hdr;
|
|---|
| 144 | LPOPENFILENAMEW lpOFN;
|
|---|
| 145 | LPWSTR pszFile;
|
|---|
| 146 | } OFNOTIFYW, *LPOFNOTIFYW;
|
|---|
| 147 |
|
|---|
| 148 | DECL_WINELIB_TYPE_AW(OFNOTIFY)
|
|---|
| 149 | DECL_WINELIB_TYPE_AW(LPOFNOTIFY)
|
|---|
| 150 |
|
|---|
| 151 | typedef UINT16 (* CALLBACK LPCCHOOKPROC16) (HWND16, UINT16, WPARAM16, LPARAM);
|
|---|
| 152 | typedef UINT (* CALLBACK LPCCHOOKPROC) (HWND, UINT, WPARAM, LPARAM);
|
|---|
| 153 |
|
|---|
| 154 | typedef struct {
|
|---|
| 155 | DWORD lStructSize;
|
|---|
| 156 | HWND16 hwndOwner;
|
|---|
| 157 | HWND16 hInstance;
|
|---|
| 158 | COLORREF rgbResult;
|
|---|
| 159 | COLORREF *lpCustColors;
|
|---|
| 160 | DWORD Flags;
|
|---|
| 161 | LPARAM lCustData;
|
|---|
| 162 | LPCCHOOKPROC16 lpfnHook;
|
|---|
| 163 | SEGPTR lpTemplateName;
|
|---|
| 164 | } CHOOSECOLOR16;
|
|---|
| 165 | typedef CHOOSECOLOR16 *LPCHOOSECOLOR16;
|
|---|
| 166 |
|
|---|
| 167 | typedef struct {
|
|---|
| 168 | DWORD lStructSize;
|
|---|
| 169 | HWND hwndOwner;
|
|---|
| 170 | HWND hInstance;
|
|---|
| 171 | DWORD rgbResult;
|
|---|
| 172 | LPDWORD lpCustColors;
|
|---|
| 173 | DWORD Flags;
|
|---|
| 174 | DWORD lCustData;
|
|---|
| 175 | LPCCHOOKPROC lpfnHook;
|
|---|
| 176 | LPCSTR lpTemplateName;
|
|---|
| 177 | } CHOOSECOLORA;
|
|---|
| 178 | typedef CHOOSECOLORA *LPCHOOSECOLORA;
|
|---|
| 179 |
|
|---|
| 180 | typedef struct {
|
|---|
| 181 | DWORD lStructSize;
|
|---|
| 182 | HWND hwndOwner;
|
|---|
| 183 | HWND hInstance;
|
|---|
| 184 | DWORD rgbResult;
|
|---|
| 185 | LPDWORD *lpCustColors;
|
|---|
| 186 | DWORD Flags;
|
|---|
| 187 | DWORD lCustData;
|
|---|
| 188 | LPCCHOOKPROC lpfnHook;
|
|---|
| 189 | LPCWSTR lpTemplateName;
|
|---|
| 190 | } CHOOSECOLORW;
|
|---|
| 191 | typedef CHOOSECOLORW *LPCHOOSECOLORW;
|
|---|
| 192 |
|
|---|
| 193 | DECL_WINELIB_TYPE_AW(CHOOSECOLOR)
|
|---|
| 194 | DECL_WINELIB_TYPE_AW(LPCHOOSECOLOR)
|
|---|
| 195 |
|
|---|
| 196 |
|
|---|
| 197 | #define CC_RGBINIT 0x00000001
|
|---|
| 198 | #define CC_FULLOPEN 0x00000002
|
|---|
| 199 | #define CC_PREVENTFULLOPEN 0x00000004
|
|---|
| 200 | #define CC_SHOWHELP 0x00000008
|
|---|
| 201 | #define CC_ENABLEHOOK 0x00000010
|
|---|
| 202 | #define CC_ENABLETEMPLATE 0x00000020
|
|---|
| 203 | #define CC_ENABLETEMPLATEHANDLE 0x00000040
|
|---|
| 204 |
|
|---|
| 205 | typedef UINT16 (* CALLBACK LPFRHOOKPROC16)(HWND16,UINT16,WPARAM16,LPARAM);
|
|---|
| 206 | typedef UINT (* CALLBACK LPFRHOOKPROC)(HWND,UINT,WPARAM,LPARAM);
|
|---|
| 207 |
|
|---|
| 208 | typedef struct {
|
|---|
| 209 | DWORD lStructSize; /* size of this struct 0x20 */
|
|---|
| 210 | HWND16 hwndOwner; /* handle to owner's window */
|
|---|
| 211 | HINSTANCE16 hInstance; /* instance handle of.EXE that */
|
|---|
| 212 | /* contains cust. dlg. template */
|
|---|
| 213 | DWORD Flags; /* one or more of the FR_?? */
|
|---|
| 214 | SEGPTR lpstrFindWhat; /* ptr. to search string */
|
|---|
| 215 | SEGPTR lpstrReplaceWith; /* ptr. to replace string */
|
|---|
| 216 | UINT16 wFindWhatLen; /* size of find buffer */
|
|---|
| 217 | UINT16 wReplaceWithLen; /* size of replace buffer */
|
|---|
| 218 | LPARAM lCustData; /* data passed to hook fn. */
|
|---|
| 219 | LPFRHOOKPROC16 lpfnHook;
|
|---|
| 220 | SEGPTR lpTemplateName; /* custom template name */
|
|---|
| 221 | } FINDREPLACE16, *LPFINDREPLACE16;
|
|---|
| 222 |
|
|---|
| 223 | typedef struct {
|
|---|
| 224 | DWORD lStructSize;
|
|---|
| 225 | HWND hwndOwner;
|
|---|
| 226 | HINSTANCE hInstance;
|
|---|
| 227 |
|
|---|
| 228 | DWORD Flags;
|
|---|
| 229 | LPSTR lpstrFindWhat;
|
|---|
| 230 | LPSTR lpstrReplaceWith;
|
|---|
| 231 | WORD wFindWhatLen;
|
|---|
| 232 | WORD wReplaceWithLen;
|
|---|
| 233 | LPARAM lCustData;
|
|---|
| 234 | LPFRHOOKPROC lpfnHook;
|
|---|
| 235 | LPCSTR lpTemplateName;
|
|---|
| 236 | } FINDREPLACEA, *LPFINDREPLACEA;
|
|---|
| 237 |
|
|---|
| 238 | typedef struct {
|
|---|
| 239 | DWORD lStructSize;
|
|---|
| 240 | HWND hwndOwner;
|
|---|
| 241 | HINSTANCE hInstance;
|
|---|
| 242 |
|
|---|
| 243 | DWORD Flags;
|
|---|
| 244 | LPWSTR lpstrFindWhat;
|
|---|
| 245 | LPWSTR lpstrReplaceWith;
|
|---|
| 246 | WORD wFindWhatLen;
|
|---|
| 247 | WORD wReplaceWithLen;
|
|---|
| 248 | LPARAM lCustData;
|
|---|
| 249 | LPFRHOOKPROC lpfnHook;
|
|---|
| 250 | LPCWSTR lpTemplateName;
|
|---|
| 251 | } FINDREPLACEW, *LPFINDREPLACEW;
|
|---|
| 252 |
|
|---|
| 253 | DECL_WINELIB_TYPE_AW(FINDREPLACE)
|
|---|
| 254 | DECL_WINELIB_TYPE_AW(LPFINDREPLACE)
|
|---|
| 255 |
|
|---|
| 256 | #define FR_DOWN 0x00000001
|
|---|
| 257 | #define FR_WHOLEWORD 0x00000002
|
|---|
| 258 | #define FR_MATCHCASE 0x00000004
|
|---|
| 259 | #define FR_FINDNEXT 0x00000008
|
|---|
| 260 | #define FR_REPLACE 0x00000010
|
|---|
| 261 | #define FR_REPLACEALL 0x00000020
|
|---|
| 262 | #define FR_DIALOGTERM 0x00000040
|
|---|
| 263 | #define FR_SHOWHELP 0x00000080
|
|---|
| 264 | #define FR_ENABLEHOOK 0x00000100
|
|---|
| 265 | #define FR_ENABLETEMPLATE 0x00000200
|
|---|
| 266 | #define FR_NOUPDOWN 0x00000400
|
|---|
| 267 | #define FR_NOMATCHCASE 0x00000800
|
|---|
| 268 | #define FR_NOWHOLEWORD 0x00001000
|
|---|
| 269 | #define FR_ENABLETEMPLATEHANDLE 0x00002000
|
|---|
| 270 | #define FR_HIDEUPDOWN 0x00004000
|
|---|
| 271 | #define FR_HIDEMATCHCASE 0x00008000
|
|---|
| 272 | #define FR_HIDEWHOLEWORD 0x00010000
|
|---|
| 273 |
|
|---|
| 274 | typedef UINT16 (* CALLBACK LPCFHOOKPROC16)(HWND16,UINT16,WPARAM16,LPARAM);
|
|---|
| 275 | typedef UINT (* CALLBACK LPCFHOOKPROC)(HWND,UINT,WPARAM,LPARAM);
|
|---|
| 276 |
|
|---|
| 277 | typedef struct
|
|---|
| 278 | {
|
|---|
| 279 | DWORD lStructSize;
|
|---|
| 280 | HWND16 hwndOwner; /* caller's window handle */
|
|---|
| 281 | HDC16 hDC; /* printer DC/IC or NULL */
|
|---|
| 282 | SEGPTR lpLogFont; /* ptr. to a LOGFONT struct */
|
|---|
| 283 | short iPointSize; /* 10 * size in points of selected font */
|
|---|
| 284 | DWORD Flags; /* enum. type flags */
|
|---|
| 285 | COLORREF rgbColors; /* returned text color */
|
|---|
| 286 | LPARAM lCustData; /* data passed to hook fn. */
|
|---|
| 287 | LPCFHOOKPROC16 lpfnHook;
|
|---|
| 288 | SEGPTR lpTemplateName; /* custom template name */
|
|---|
| 289 | HINSTANCE16 hInstance; /* instance handle of.EXE that */
|
|---|
| 290 | /* contains cust. dlg. template */
|
|---|
| 291 | SEGPTR lpszStyle; /* return the style field here */
|
|---|
| 292 | /* must be LF_FACESIZE or bigger */
|
|---|
| 293 | UINT16 nFontType; /* same value reported to the */
|
|---|
| 294 | /* EnumFonts callback with the */
|
|---|
| 295 | /* extra FONTTYPE_ bits added */
|
|---|
| 296 | short nSizeMin; /* minimum pt size allowed & */
|
|---|
| 297 | short nSizeMax; /* max pt size allowed if */
|
|---|
| 298 | /* CF_LIMITSIZE is used */
|
|---|
| 299 | } CHOOSEFONT16, *LPCHOOSEFONT16;
|
|---|
| 300 |
|
|---|
| 301 |
|
|---|
| 302 | typedef struct
|
|---|
| 303 | {
|
|---|
| 304 | UINT lStructSize;
|
|---|
| 305 | HWND hwndOwner;
|
|---|
| 306 | HDC hDC;
|
|---|
| 307 | LPLOGFONTA lpLogFont;
|
|---|
| 308 | INT iPointSize;
|
|---|
| 309 | DWORD Flags;
|
|---|
| 310 | COLORREF rgbColors;
|
|---|
| 311 | LPARAM lCustData;
|
|---|
| 312 | LPCFHOOKPROC lpfnHook;
|
|---|
| 313 | LPCSTR lpTemplateName;
|
|---|
| 314 | HINSTANCE hInstance;
|
|---|
| 315 | LPSTR lpszStyle;
|
|---|
| 316 | UINT16 nFontType;
|
|---|
| 317 | UINT16 ___MISSING_ALIGNMENT__;
|
|---|
| 318 | INT nSizeMin;
|
|---|
| 319 | INT nSizeMax;
|
|---|
| 320 | } CHOOSEFONTA, *LPCHOOSEFONTA;
|
|---|
| 321 |
|
|---|
| 322 | typedef struct
|
|---|
| 323 | {
|
|---|
| 324 | UINT lStructSize;
|
|---|
| 325 | HWND hwndOwner;
|
|---|
| 326 | HDC hDC;
|
|---|
| 327 | LPLOGFONTW lpLogFont;
|
|---|
| 328 | INT iPointSize;
|
|---|
| 329 | DWORD Flags;
|
|---|
| 330 | COLORREF rgbColors;
|
|---|
| 331 | LPARAM lCustData;
|
|---|
| 332 | LPCFHOOKPROC lpfnHook;
|
|---|
| 333 | LPCWSTR lpTemplateName;
|
|---|
| 334 | HINSTANCE hInstance;
|
|---|
| 335 | LPWSTR lpszStyle;
|
|---|
| 336 | UINT16 nFontType;
|
|---|
| 337 | UINT16 ___MISSING_ALIGNMENT__;
|
|---|
| 338 | INT nSizeMin;
|
|---|
| 339 | INT nSizeMax;
|
|---|
| 340 | } CHOOSEFONTW, *LPCHOOSEFONTW;
|
|---|
| 341 |
|
|---|
| 342 | DECL_WINELIB_TYPE_AW(CHOOSEFONT)
|
|---|
| 343 | DECL_WINELIB_TYPE_AW(LPCHOOSEFONT)
|
|---|
| 344 |
|
|---|
| 345 | #define CF_SCREENFONTS 0x00000001
|
|---|
| 346 | #define CF_PRINTERFONTS 0x00000002
|
|---|
| 347 | #define CF_BOTH (CF_SCREENFONTS | CF_PRINTERFONTS)
|
|---|
| 348 | #define CF_SHOWHELP 0x00000004L
|
|---|
| 349 | #define CF_ENABLEHOOK 0x00000008L
|
|---|
| 350 | #define CF_ENABLETEMPLATE 0x00000010L
|
|---|
| 351 | #define CF_ENABLETEMPLATEHANDLE 0x00000020L
|
|---|
| 352 | #define CF_INITTOLOGFONTSTRUCT 0x00000040L
|
|---|
| 353 | #define CF_USESTYLE 0x00000080L
|
|---|
| 354 | #define CF_EFFECTS 0x00000100L
|
|---|
| 355 | #define CF_APPLY 0x00000200L
|
|---|
| 356 | #define CF_ANSIONLY 0x00000400L
|
|---|
| 357 | #define CF_SCRIPTSONLY CF_ANSIONLY
|
|---|
| 358 | #define CF_NOVECTORFONTS 0x00000800L
|
|---|
| 359 | #define CF_NOOEMFONTS CF_NOVECTORFONTS
|
|---|
| 360 | #define CF_NOSIMULATIONS 0x00001000L
|
|---|
| 361 | #define CF_LIMITSIZE 0x00002000L
|
|---|
| 362 | #define CF_FIXEDPITCHONLY 0x00004000L
|
|---|
| 363 | #define CF_WYSIWYG 0x00008000L /* use with CF_SCREENFONTS & CF_PRINTERFONTS */
|
|---|
| 364 | #define CF_FORCEFONTEXIST 0x00010000L
|
|---|
| 365 | #define CF_SCALABLEONLY 0x00020000L
|
|---|
| 366 | #define CF_TTONLY 0x00040000L
|
|---|
| 367 | #define CF_NOFACESEL 0x00080000L
|
|---|
| 368 | #define CF_NOSTYLESEL 0x00100000L
|
|---|
| 369 | #define CF_NOSIZESEL 0x00200000L
|
|---|
| 370 | #define CF_SELECTSCRIPT 0x00400000L
|
|---|
| 371 | #define CF_NOSCRIPTSEL 0x00800000L
|
|---|
| 372 | #define CF_NOVERTFONTS 0x01000000L
|
|---|
| 373 |
|
|---|
| 374 | #define SIMULATED_FONTTYPE 0x8000
|
|---|
| 375 | #define PRINTER_FONTTYPE 0x4000
|
|---|
| 376 | #define SCREEN_FONTTYPE 0x2000
|
|---|
| 377 | #define BOLD_FONTTYPE 0x0100
|
|---|
| 378 | #define ITALIC_FONTTYPE 0x0200
|
|---|
| 379 | #define REGULAR_FONTTYPE 0x0400
|
|---|
| 380 |
|
|---|
| 381 | #define WM_CHOOSEFONT_GETLOGFONT (WM_USER + 1)
|
|---|
| 382 | #define WM_CHOOSEFONT_SETLOGFONT (WM_USER + 101)
|
|---|
| 383 | #define WM_CHOOSEFONT_SETFLAGS (WM_USER + 102)
|
|---|
| 384 |
|
|---|
| 385 | #define LBSELCHSTRINGA "commdlg_LBSelChangedNotify"
|
|---|
| 386 | #define LBSELCHSTRINGW L"commdlg_LBSelChangedNotify"
|
|---|
| 387 | #define LBSELCHSTRING WINELIB_NAME_AW(LBSELCHSTRING)
|
|---|
| 388 |
|
|---|
| 389 | #define SHAREVISTRINGA "commdlg_ShareViolation"
|
|---|
| 390 | #define SHAREVISTRINGW L"commdlg_ShareViolation"
|
|---|
| 391 | #define SHAREVISTRING WINELIB_NAME_AW(SHAREVISTRING)
|
|---|
| 392 |
|
|---|
| 393 | #define FILEOKSTRINGA "commdlg_FileNameOK"
|
|---|
| 394 | #define FILEOKSTRINGW L"commdlg_FileNameOK"
|
|---|
| 395 | #define FILEOKSTRING WINELIB_NAME_AW(FILEOKSTRING)
|
|---|
| 396 |
|
|---|
| 397 | #define COLOROKSTRINGA "commdlg_ColorOK"
|
|---|
| 398 | #define COLOROKSTRINGW L"commdlg_ColorOK"
|
|---|
| 399 | #define COLOROKSTRING WINELIB_NAME_AW(COLOROKSTRING)
|
|---|
| 400 |
|
|---|
| 401 | #define SETRGBSTRINGA "commdlg_SetRGBColor"
|
|---|
| 402 | #define SETRGBSTRINGW L"commdlg_SetRGBColor"
|
|---|
| 403 | #define SETRGBSTRING WINELIB_NAME_AW(SETRGBSTRING)
|
|---|
| 404 |
|
|---|
| 405 | #define FINDMSGSTRINGA "commdlg_FindReplace"
|
|---|
| 406 | #define FINDMSGSTRINGW L"commdlg_FindReplace"
|
|---|
| 407 | #define FINDMSGSTRING WINELIB_NAME_AW(FINDMSGSTRING)
|
|---|
| 408 |
|
|---|
| 409 | #define HELPMSGSTRINGA "commdlg_help"
|
|---|
| 410 | #define HELPMSGSTRINGW L"commdlg_help"
|
|---|
| 411 | #define HELPMSGSTRING WINELIB_NAME_AW(HELPMSGSTRING)
|
|---|
| 412 |
|
|---|
| 413 |
|
|---|
| 414 | #define CD_LBSELNOITEMS -1
|
|---|
| 415 | #define CD_LBSELCHANGE 0
|
|---|
| 416 | #define CD_LBSELSUB 1
|
|---|
| 417 | #define CD_LBSELADD 2
|
|---|
| 418 |
|
|---|
| 419 | #define CDN_FIRST (0U-601U)
|
|---|
| 420 | #define CDN_LAST (0U-699U)
|
|---|
| 421 |
|
|---|
| 422 | #define CDN_INITDONE (CDN_FIRST - 0x0000)
|
|---|
| 423 | #define CDN_SELCHANGE (CDN_FIRST - 0x0001)
|
|---|
| 424 | #define CDN_FOLDERCHANGE (CDN_FIRST - 0x0002)
|
|---|
| 425 | #define CDN_SHAREVIOLATION (CDN_FIRST - 0x0003)
|
|---|
| 426 | #define CDN_HELP (CDN_FIRST - 0x0004)
|
|---|
| 427 | #define CDN_FILEOK (CDN_FIRST - 0x0005)
|
|---|
| 428 | #define CDN_TYPECHANGE (CDN_FIRST - 0x0006)
|
|---|
| 429 |
|
|---|
| 430 | #define CDM_FIRST (WM_USER + 100)
|
|---|
| 431 | #define CDM_LAST (WM_USER + 200)
|
|---|
| 432 |
|
|---|
| 433 | #define CDM_GETSPEC (CDM_FIRST + 0x0000)
|
|---|
| 434 | #define CDM_GETFILEPATH (CDM_FIRST + 0x0001)
|
|---|
| 435 | #define CDM_GETFOLDERPATH (CDM_FIRST + 0x0002)
|
|---|
| 436 | #define CDM_GETFOLDERLIST (CDM_FIRST + 0x0003)
|
|---|
| 437 | #define CDM_SETCONTROLTEXT (CDM_FIRST + 0x0004)
|
|---|
| 438 | #define CDM_HIDECONTROL (CDM_FIRST + 0x0005)
|
|---|
| 439 | #define CDM_SETDEFEXT (CDM_FIRST + 0x0006)
|
|---|
| 440 |
|
|---|
| 441 | typedef UINT16 (* CALLBACK LPPRINTHOOKPROC16) (HWND16, UINT16, WPARAM16, LPARAM);
|
|---|
| 442 | typedef UINT (* CALLBACK LPPRINTHOOKPROC) (HWND, UINT, WPARAM, LPARAM);
|
|---|
| 443 |
|
|---|
| 444 | typedef UINT16 (* CALLBACK LPSETUPHOOKPROC16) (HWND16, UINT16, WPARAM16, LPARAM);
|
|---|
| 445 | typedef UINT (* CALLBACK LPSETUPHOOKPROC) (HWND, UINT, WPARAM, LPARAM);
|
|---|
| 446 |
|
|---|
| 447 | typedef struct
|
|---|
| 448 | {
|
|---|
| 449 | DWORD lStructSize;
|
|---|
| 450 | HWND16 hwndOwner;
|
|---|
| 451 | HGLOBAL16 hDevMode;
|
|---|
| 452 | HGLOBAL16 hDevNames;
|
|---|
| 453 | HDC16 hDC;
|
|---|
| 454 | DWORD Flags;
|
|---|
| 455 | WORD nFromPage;
|
|---|
| 456 | WORD nToPage;
|
|---|
| 457 | WORD nMinPage;
|
|---|
| 458 | WORD nMaxPage;
|
|---|
| 459 | WORD nCopies;
|
|---|
| 460 | HINSTANCE16 hInstance;
|
|---|
| 461 | LPARAM lCustData;
|
|---|
| 462 | LPPRINTHOOKPROC16 lpfnPrintHook;
|
|---|
| 463 | LPSETUPHOOKPROC16 lpfnSetupHook;
|
|---|
| 464 | SEGPTR lpPrintTemplateName;
|
|---|
| 465 | SEGPTR lpSetupTemplateName;
|
|---|
| 466 | HGLOBAL16 hPrintTemplate;
|
|---|
| 467 | HGLOBAL16 hSetupTemplate;
|
|---|
| 468 | } PRINTDLG16, *LPPRINTDLG16;
|
|---|
| 469 |
|
|---|
| 470 | typedef struct tagPDA
|
|---|
| 471 | {
|
|---|
| 472 | DWORD lStructSize;
|
|---|
| 473 | HWND hwndOwner;
|
|---|
| 474 | HGLOBAL hDevMode;
|
|---|
| 475 | HGLOBAL hDevNames;
|
|---|
| 476 | HDC hDC;
|
|---|
| 477 | DWORD Flags;
|
|---|
| 478 | WORD nFromPage;
|
|---|
| 479 | WORD nToPage;
|
|---|
| 480 | WORD nMinPage;
|
|---|
| 481 | WORD nMaxPage;
|
|---|
| 482 | WORD nCopies;
|
|---|
| 483 | HINSTANCE hInstance;
|
|---|
| 484 | LPARAM lCustData;
|
|---|
| 485 | LPPRINTHOOKPROC lpfnPrintHook;
|
|---|
| 486 | LPSETUPHOOKPROC lpfnSetupHook;
|
|---|
| 487 | LPCSTR lpPrintTemplateName;
|
|---|
| 488 | LPCSTR lpSetupTemplateName;
|
|---|
| 489 | HGLOBAL hPrintTemplate;
|
|---|
| 490 | HGLOBAL hSetupTemplate;
|
|---|
| 491 | } PRINTDLGA, *LPPRINTDLGA;
|
|---|
| 492 |
|
|---|
| 493 | typedef struct tagPDW
|
|---|
| 494 | {
|
|---|
| 495 | DWORD lStructSize;
|
|---|
| 496 | HWND hwndOwner;
|
|---|
| 497 | HGLOBAL hDevMode;
|
|---|
| 498 | HGLOBAL hDevNames;
|
|---|
| 499 | HDC hDC;
|
|---|
| 500 | DWORD Flags;
|
|---|
| 501 | WORD nFromPage;
|
|---|
| 502 | WORD nToPage;
|
|---|
| 503 | WORD nMinPage;
|
|---|
| 504 | WORD nMaxPage;
|
|---|
| 505 | WORD nCopies;
|
|---|
| 506 | HINSTANCE hInstance;
|
|---|
| 507 | LPARAM lCustData;
|
|---|
| 508 | LPPRINTHOOKPROC lpfnPrintHook;
|
|---|
| 509 | LPSETUPHOOKPROC lpfnSetupHook;
|
|---|
| 510 | LPCWSTR lpPrintTemplateName;
|
|---|
| 511 | LPCWSTR lpSetupTemplateName;
|
|---|
| 512 | HGLOBAL hPrintTemplate;
|
|---|
| 513 | HGLOBAL hSetupTemplate;
|
|---|
| 514 | } PRINTDLGW, *LPPRINTDLGW;
|
|---|
| 515 |
|
|---|
| 516 | DECL_WINELIB_TYPE_AW(PRINTDLG)
|
|---|
| 517 | DECL_WINELIB_TYPE_AW(LPPRINTDLG)
|
|---|
| 518 |
|
|---|
| 519 | #define PD_ALLPAGES 0x00000000
|
|---|
| 520 | #define PD_SELECTION 0x00000001
|
|---|
| 521 | #define PD_PAGENUMS 0x00000002
|
|---|
| 522 | #define PD_NOSELECTION 0x00000004
|
|---|
| 523 | #define PD_NOPAGENUMS 0x00000008
|
|---|
| 524 | #define PD_COLLATE 0x00000010
|
|---|
| 525 | #define PD_PRINTTOFILE 0x00000020
|
|---|
| 526 | #define PD_PRINTSETUP 0x00000040
|
|---|
| 527 | #define PD_NOWARNING 0x00000080
|
|---|
| 528 | #define PD_RETURNDC 0x00000100
|
|---|
| 529 | #define PD_RETURNIC 0x00000200
|
|---|
| 530 | #define PD_RETURNDEFAULT 0x00000400
|
|---|
| 531 | #define PD_SHOWHELP 0x00000800
|
|---|
| 532 | #define PD_ENABLEPRINTHOOK 0x00001000
|
|---|
| 533 | #define PD_ENABLESETUPHOOK 0x00002000
|
|---|
| 534 | #define PD_ENABLEPRINTTEMPLATE 0x00004000
|
|---|
| 535 | #define PD_ENABLESETUPTEMPLATE 0x00008000
|
|---|
| 536 | #define PD_ENABLEPRINTTEMPLATEHANDLE 0x00010000
|
|---|
| 537 | #define PD_ENABLESETUPTEMPLATEHANDLE 0x00020000
|
|---|
| 538 | #define PD_USEDEVMODECOPIES 0x00040000
|
|---|
| 539 | #define PD_USEDEVMODECOPIESANDCOLLATE 0x00040000
|
|---|
| 540 | #define PD_DISABLEPRINTTOFILE 0x00080000
|
|---|
| 541 | #define PD_HIDEPRINTTOFILE 0x00100000
|
|---|
| 542 |
|
|---|
| 543 | typedef struct {
|
|---|
| 544 | UINT16 wDriverOffset;
|
|---|
| 545 | UINT16 wDeviceOffset;
|
|---|
| 546 | UINT16 wOutputOffset;
|
|---|
| 547 | UINT16 wDefault;
|
|---|
| 548 | } DEVNAMES;
|
|---|
| 549 | typedef DEVNAMES * LPDEVNAMES;
|
|---|
| 550 |
|
|---|
| 551 | #define DN_DEFAULTPRN 0x0001
|
|---|
| 552 |
|
|---|
| 553 | /* PageSetupDlg stuff ... */
|
|---|
| 554 | #define WM_PSD_PAGESETUPDLG (WM_USER )
|
|---|
| 555 | #define WM_PSD_FULLPAGERECT (WM_USER+1)
|
|---|
| 556 | #define WM_PSD_MINMARGINRECT (WM_USER+2)
|
|---|
| 557 | #define WM_PSD_MARGINRECT (WM_USER+3)
|
|---|
| 558 | #define WM_PSD_GREEKTEXTRECT (WM_USER+4)
|
|---|
| 559 | #define WM_PSD_ENVSTAMPRECT (WM_USER+5)
|
|---|
| 560 | #define WM_PSD_YAFULLPAGERECT (WM_USER+6)
|
|---|
| 561 |
|
|---|
| 562 | typedef UINT (* CALLBACK LPPAGEPAINTHOOK)( HWND, UINT, WPARAM, LPARAM );
|
|---|
| 563 | typedef UINT (* CALLBACK LPPAGESETUPHOOK)( HWND, UINT, WPARAM, LPARAM );
|
|---|
| 564 |
|
|---|
| 565 | typedef struct tagPSDA
|
|---|
| 566 | {
|
|---|
| 567 | DWORD lStructSize;
|
|---|
| 568 | HWND hwndOwner;
|
|---|
| 569 | HGLOBAL hDevMode;
|
|---|
| 570 | HGLOBAL hDevNames;
|
|---|
| 571 | DWORD Flags;
|
|---|
| 572 | POINT ptPaperSize;
|
|---|
| 573 | RECT rtMinMargin;
|
|---|
| 574 | RECT rtMargin;
|
|---|
| 575 | HINSTANCE hInstance;
|
|---|
| 576 | LPARAM lCustData;
|
|---|
| 577 | LPPAGESETUPHOOK lpfnPageSetupHook;
|
|---|
| 578 | LPPAGEPAINTHOOK lpfnPagePaintHook;
|
|---|
| 579 | LPCSTR lpPageSetupTemplateName;
|
|---|
| 580 | HGLOBAL hPageSetupTemplate;
|
|---|
| 581 | } PAGESETUPDLGA,*LPPAGESETUPDLGA;
|
|---|
| 582 |
|
|---|
| 583 | typedef struct tagPSDW
|
|---|
| 584 | {
|
|---|
| 585 | DWORD lStructSize;
|
|---|
| 586 | HWND hwndOwner;
|
|---|
| 587 | HGLOBAL hDevMode;
|
|---|
| 588 | HGLOBAL hDevNames;
|
|---|
| 589 | DWORD Flags;
|
|---|
| 590 | POINT ptPaperSize;
|
|---|
| 591 | RECT rtMinMargin;
|
|---|
| 592 | RECT rtMargin;
|
|---|
| 593 | HINSTANCE hInstance;
|
|---|
| 594 | LPARAM lCustData;
|
|---|
| 595 | LPPAGESETUPHOOK lpfnPageSetupHook;
|
|---|
| 596 | LPPAGEPAINTHOOK lpfnPagePaintHook;
|
|---|
| 597 | LPCWSTR lpPageSetupTemplateName;
|
|---|
| 598 | HGLOBAL hPageSetupTemplate;
|
|---|
| 599 | } PAGESETUPDLGW,*LPPAGESETUPDLGW;
|
|---|
| 600 | DECL_WINELIB_TYPE_AW(PAGESETUPDLG)
|
|---|
| 601 | DECL_WINELIB_TYPE_AW(LPPAGESETUPDLG)
|
|---|
| 602 |
|
|---|
| 603 | #define PSD_DEFAULTMINMARGINS 0x00000000
|
|---|
| 604 | #define PSD_INWININIINTLMEASURE 0x00000000
|
|---|
| 605 |
|
|---|
| 606 | #define PSD_MINMARGINS 0x00000001
|
|---|
| 607 | #define PSD_MARGINS 0x00000002
|
|---|
| 608 | #define PSD_INTHOUSANDTHSOFINCHES 0x00000004
|
|---|
| 609 | #define PSD_INHUNDREDTHSOFMILLIMETERS 0x00000008
|
|---|
| 610 | #define PSD_DISABLEMARGINS 0x00000010
|
|---|
| 611 | #define PSD_DISABLEPRINTER 0x00000020
|
|---|
| 612 | #define PSD_NOWARNING 0x00000080
|
|---|
| 613 | #define PSD_DISABLEORIENTATION 0x00000100
|
|---|
| 614 | #define PSD_RETURNDEFAULT 0x00000400
|
|---|
| 615 | #define PSD_DISABLEPAPER 0x00000200
|
|---|
| 616 | #define PSD_SHOWHELP 0x00000800
|
|---|
| 617 | #define PSD_ENABLEPAGESETUPHOOK 0x00002000
|
|---|
| 618 | #define PSD_ENABLEPAGESETUPTEMPLATE 0x00008000
|
|---|
| 619 | #define PSD_ENABLEPAGESETUPTEMPLATEHANDLE 0x00020000
|
|---|
| 620 | #define PSD_ENABLEPAGEPAINTHOOK 0x00040000
|
|---|
| 621 | #define PSD_DISABLEPAGEPAINTING 0x00080000
|
|---|
| 622 |
|
|---|
| 623 | #define CommDlg_OpenSave_GetSpecA(_hdlg, _psz, _cbmax) \
|
|---|
| 624 | (int)SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
|
|---|
| 625 | #define CommDlg_OpenSave_GetSpecW(_hdlg, _psz, _cbmax) \
|
|---|
| 626 | (int)SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
|
|---|
| 627 | #define CommDlg_OpenSave_GetSpec WINELIB_NAME_AW(CommDlg_OpenSave_GetSpec)
|
|---|
| 628 |
|
|---|
| 629 | #define CommDlg_OpenSave_GetFilePathA(_hdlg, _psz, _cbmax) \
|
|---|
| 630 | (int)SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
|
|---|
| 631 | #define CommDlg_OpenSave_GetFilePathW(_hdlg, _psz, _cbmax) \
|
|---|
| 632 | (int)SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
|
|---|
| 633 | #define CommDlg_OpenSave_GetFilePath WINELIB_NAME_AW(CommDlg_OpenSave_GetFilePath)
|
|---|
| 634 |
|
|---|
| 635 | #define CommDlg_OpenSave_GetFolderPathA(_hdlg, _psz, _cbmax) \
|
|---|
| 636 | (int)SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
|
|---|
| 637 | #define CommDlg_OpenSave_GetFolderPathW(_hdlg, _psz, _cbmax) \
|
|---|
| 638 | (int)SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
|
|---|
| 639 | #define CommDlg_OpenSave_GetFolderPath WINELIB_NAME_AW(CommDlg_OpenSave_GetFolderPath)
|
|---|
| 640 |
|
|---|
| 641 | #define CommDlg_OpenSave_GetFolderIDList(_hdlg, _pidl, _cbmax) \
|
|---|
| 642 | (int)SNDMSG(_hdlg, CDM_GETFOLDERIDLIST, (WPARAM)_cbmax, (LPARAM)(LPVOID)_pidl)
|
|---|
| 643 |
|
|---|
| 644 | #define CommDlg_OpenSave_SetControlText(_hdlg, _id, _text) \
|
|---|
| 645 | (void)SNDMSG(_hdlg, CDM_SETCONTROLTEXT, (WPARAM)_id, (LPARAM)(LPSTR)_text)
|
|---|
| 646 |
|
|---|
| 647 | #define CommDlg_OpenSave_HideControl(_hdlg, _id) \
|
|---|
| 648 | (void)SNDMSG(_hdlg, CDM_HIDECONTROL, (WPARAM)_id, 0)
|
|---|
| 649 |
|
|---|
| 650 | #define CommDlg_OpenSave_SetDefExt(_hdlg, _pszext) \
|
|---|
| 651 | (void)SNDMSG(_hdlg, CDM_SETDEFEXT, 0, (LPARAM)(LPSTR)_pszext)
|
|---|
| 652 |
|
|---|
| 653 | BOOL16 WINAPI ChooseColor16(LPCHOOSECOLOR16 lpChCol);
|
|---|
| 654 | BOOL WINAPI ChooseColorA(LPCHOOSECOLORA lpChCol);
|
|---|
| 655 | BOOL WINAPI ChooseColorW(LPCHOOSECOLORW lpChCol);
|
|---|
| 656 | #define ChooseColor WINELIB_NAME_AW(ChooseColor)
|
|---|
| 657 | DWORD WINAPI CommDlgExtendedError(void);
|
|---|
| 658 | HWND16 WINAPI FindText16( SEGPTR find);
|
|---|
| 659 | HWND WINAPI FindTextA(LPFINDREPLACEA lpFind);
|
|---|
| 660 | HWND WINAPI FindTextW(LPFINDREPLACEW lpFind);
|
|---|
| 661 | #define FindText WINELIB_NAME_AW(FindText)
|
|---|
| 662 | INT16 WINAPI GetFileTitle16(LPCSTR lpFile, LPSTR lpTitle, UINT16 cbBuf);
|
|---|
| 663 | INT16 WINAPI GetFileTitleA(LPCSTR lpFile, LPSTR lpTitle, UINT cbBuf);
|
|---|
| 664 | INT16 WINAPI GetFileTitleW(LPCWSTR lpFile, LPWSTR lpTitle, UINT cbBuf);
|
|---|
| 665 | #define GetFileTitle WINELIB_NAME_AW(GetFileTitle)
|
|---|
| 666 | BOOL16 WINAPI GetOpenFileName16(SEGPTR ofn);
|
|---|
| 667 | BOOL WINAPI GetOpenFileNameA(LPOPENFILENAMEA ofn);
|
|---|
| 668 | BOOL WINAPI GetOpenFileNameW(LPOPENFILENAMEW ofn);
|
|---|
| 669 | BOOL WINAPI GetFileDialog95A(LPOPENFILENAMEA ofn,UINT iDlgType);
|
|---|
| 670 | BOOL WINAPI GetFileDialog95W(LPOPENFILENAMEW ofn,UINT iDlgType);
|
|---|
| 671 | #define GetOpenFileName WINELIB_NAME_AW(GetOpenFileName)
|
|---|
| 672 | BOOL16 WINAPI GetSaveFileName16(SEGPTR ofn);
|
|---|
| 673 | BOOL WINAPI GetSaveFileNameA(LPOPENFILENAMEA ofn);
|
|---|
| 674 | BOOL WINAPI GetSaveFileNameW(LPOPENFILENAMEW ofn);
|
|---|
| 675 | #define GetSaveFileName WINELIB_NAME_AW(GetSaveFileName)
|
|---|
| 676 | BOOL WINAPI PageSetupDlgA( LPPAGESETUPDLGA );
|
|---|
| 677 | BOOL WINAPI PageSetupDlgW( LPPAGESETUPDLGW );
|
|---|
| 678 | #define PageSetupDlg WINELIB_NAME_AW(PageSetupDlg)
|
|---|
| 679 | BOOL16 WINAPI PrintDlg16( SEGPTR print);
|
|---|
| 680 | BOOL WINAPI PrintDlgA( LPPRINTDLGA printdlg);
|
|---|
| 681 | BOOL WINAPI PrintDlgW( LPPRINTDLGW printdlg);
|
|---|
| 682 | #define PrintDlg WINELIB_NAME_AW(PrintDlg)
|
|---|
| 683 | HWND16 WINAPI ReplaceText16( SEGPTR find);
|
|---|
| 684 | HWND WINAPI ReplaceTextA( LPFINDREPLACEA lpFind);
|
|---|
| 685 | HWND WINAPI ReplaceTextW( LPFINDREPLACEW lpFind);
|
|---|
| 686 | #define ReplaceText WINELIB_NAME_AW(ReplaceText)
|
|---|
| 687 | BOOL16 WINAPI ChooseFont16(LPCHOOSEFONT16);
|
|---|
| 688 | BOOL WINAPI ChooseFontA(LPCHOOSEFONTA);
|
|---|
| 689 | BOOL WINAPI ChooseFontW(LPCHOOSEFONTW);
|
|---|
| 690 | #define ChooseFont WINELIB_NAME_AW(ChooseFont)
|
|---|
| 691 | LRESULT WINAPI FileOpenDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
|
|---|
| 692 | LRESULT WINAPI FileSaveDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
|
|---|
| 693 | LRESULT WINAPI ColorDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
|
|---|
| 694 | LRESULT WINAPI FindTextDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
|
|---|
| 695 | LRESULT WINAPI ReplaceTextDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
|
|---|
| 696 | LRESULT WINAPI PrintDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
|
|---|
| 697 | LRESULT WINAPI PrintDlgProcA(HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam);
|
|---|
| 698 | LRESULT WINAPI PrintDlgProcW(HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam);
|
|---|
| 699 | LRESULT WINAPI PrintSetupDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
|
|---|
| 700 | LRESULT WINAPI FormatCharDlgProc16(HWND16,UINT16,WPARAM16,LPARAM);
|
|---|
| 701 | LRESULT WINAPI FormatCharDlgProcA(HWND,UINT,WPARAM,LPARAM);
|
|---|
| 702 | LRESULT WINAPI FormatCharDlgProcW(HWND,UINT,WPARAM,LPARAM);
|
|---|
| 703 | #define FormatCharDlgProc WINELIB_NAME_AW(FormatCharDlgProc)
|
|---|
| 704 |
|
|---|
| 705 | void COMDLG32_SetCommDlgExtendedError(DWORD err);
|
|---|
| 706 |
|
|---|
| 707 |
|
|---|
| 708 | #include "poppack.h"
|
|---|
| 709 |
|
|---|
| 710 | #ifdef __cplusplus
|
|---|
| 711 | }
|
|---|
| 712 | #endif
|
|---|
| 713 |
|
|---|
| 714 | #endif /* __WINE_COMMDLG_H */
|
|---|