Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygencommdlg.h
Go to the documentation of this file.
00001 #ifndef _COMMDLG_H 00002 #define _COMMDLG_H 00003 00004 #ifdef __cplusplus 00005 extern "C" { 00006 #endif 00007 00008 #ifndef _WIN64 00009 #pragma pack(push,1) 00010 #endif 00011 00012 #define SAVE_DIALOG 1 00013 #define OPEN_DIALOG 2 00014 00015 #define LBSELCHSTRINGA "commdlg_LBSelChangedNotify" 00016 #define SHAREVISTRINGA "commdlg_ShareViolation" 00017 #define FILEOKSTRINGA "commdlg_FileNameOK" 00018 #define COLOROKSTRINGA "commdlg_ColorOK" 00019 #define SETRGBSTRINGA "commdlg_SetRGBColor" 00020 #define HELPMSGSTRINGA "commdlg_help" 00021 #define FINDMSGSTRINGA "commdlg_FindReplace" 00022 #define LBSELCHSTRINGW L"commdlg_LBSelChangedNotify" 00023 #define SHAREVISTRINGW L"commdlg_ShareViolation" 00024 #define FILEOKSTRINGW L"commdlg_FileNameOK" 00025 #define COLOROKSTRINGW L"commdlg_ColorOK" 00026 #define SETRGBSTRINGW L"commdlg_SetRGBColor" 00027 #define HELPMSGSTRINGW L"commdlg_help" 00028 #define FINDMSGSTRINGW L"commdlg_FindReplace" 00029 #ifndef CDN_FIRST 00030 #define CDN_FIRST ((UINT)-601) /* also in commctrl.h */ 00031 #define CDN_LAST ((UINT)-699) 00032 #endif 00033 #define CDN_INITDONE CDN_FIRST 00034 #define CDN_SELCHANGE (CDN_FIRST-1U) 00035 #define CDN_FOLDERCHANGE (CDN_FIRST-2U) 00036 #define CDN_SHAREVIOLATION (CDN_FIRST-3U) 00037 #define CDN_HELP (CDN_FIRST-4U) 00038 #define CDN_FILEOK (CDN_FIRST-5U) 00039 #define CDN_TYPECHANGE (CDN_FIRST-6U) 00040 #define CDN_INCLUDEITEM (CDN_FIRST-7U) 00041 #define CDM_FIRST (WM_USER+100) 00042 #define CDM_LAST (WM_USER+200) 00043 #define CDM_GETSPEC CDM_FIRST 00044 #define CDM_GETFILEPATH (CDM_FIRST+1) 00045 #define CDM_GETFOLDERPATH (CDM_FIRST+2) 00046 #define CDM_GETFOLDERIDLIST (CDM_FIRST+3) 00047 #define CDM_SETCONTROLTEXT (CDM_FIRST+4) 00048 #define CDM_HIDECONTROL (CDM_FIRST+5) 00049 #define CDM_SETDEFEXT (CDM_FIRST+6) 00050 #define CC_RGBINIT 1 00051 #define CC_FULLOPEN 2 00052 #define CC_PREVENTFULLOPEN 4 00053 #define CC_SHOWHELP 8 00054 #define CC_ENABLEHOOK 16 00055 #define CC_ENABLETEMPLATE 32 00056 #define CC_ENABLETEMPLATEHANDLE 64 00057 #define CC_SOLIDCOLOR 128 00058 #define CC_ANYCOLOR 256 00059 #define CF_SCREENFONTS 1 00060 #define CF_PRINTERFONTS 2 00061 #define CF_BOTH 3 00062 #define CF_SHOWHELP 4 00063 #define CF_ENABLEHOOK 8 00064 #define CF_ENABLETEMPLATE 16 00065 #define CF_ENABLETEMPLATEHANDLE 32 00066 #define CF_INITTOLOGFONTSTRUCT 64 00067 #define CF_USESTYLE 128 00068 #define CF_EFFECTS 256 00069 #define CF_APPLY 512 00070 #define CF_ANSIONLY 1024 00071 #define CF_SCRIPTSONLY CF_ANSIONLY 00072 #define CF_NOVECTORFONTS 2048 00073 #define CF_NOOEMFONTS 2048 00074 #define CF_NOSIMULATIONS 4096 00075 #define CF_LIMITSIZE 8192 00076 #define CF_FIXEDPITCHONLY 16384 00077 #define CF_WYSIWYG 32768 00078 #define CF_FORCEFONTEXIST 65536 00079 #define CF_SCALABLEONLY 131072 00080 #define CF_TTONLY 262144 00081 #define CF_NOFACESEL 524288 00082 #define CF_NOSTYLESEL 1048576 00083 #define CF_NOSIZESEL 2097152 00084 #define CF_SELECTSCRIPT 4194304 00085 #define CF_NOSCRIPTSEL 8388608 00086 #define CF_NOVERTFONTS 0x1000000 00087 #define SIMULATED_FONTTYPE 0x8000 00088 #define PRINTER_FONTTYPE 0x4000 00089 #define SCREEN_FONTTYPE 0x2000 00090 #define BOLD_FONTTYPE 0x100 00091 #define ITALIC_FONTTYPE 0x0200 00092 #define REGULAR_FONTTYPE 0x0400 00093 #define WM_CHOOSEFONT_GETLOGFONT (WM_USER+1) 00094 #define WM_CHOOSEFONT_SETLOGFONT (WM_USER+101) 00095 #define WM_CHOOSEFONT_SETFLAGS (WM_USER+102) 00096 #define OFN_ALLOWMULTISELECT 512 00097 #define OFN_CREATEPROMPT 0x2000 00098 #define OFN_ENABLEHOOK 32 00099 #define OFN_ENABLESIZING 0x800000 00100 #define OFN_ENABLETEMPLATE 64 00101 #define OFN_ENABLETEMPLATEHANDLE 128 00102 #define OFN_EXPLORER 0x80000 00103 #define OFN_EXTENSIONDIFFERENT 0x400 00104 #define OFN_FILEMUSTEXIST 0x1000 00105 #define OFN_HIDEREADONLY 4 00106 #define OFN_LONGNAMES 0x200000 00107 #define OFN_NOCHANGEDIR 8 00108 #define OFN_NODEREFERENCELINKS 0x100000 00109 #define OFN_NOLONGNAMES 0x40000 00110 #define OFN_NONETWORKBUTTON 0x20000 00111 #define OFN_NOREADONLYRETURN 0x8000 00112 #define OFN_NOTESTFILECREATE 0x10000 00113 #define OFN_NOVALIDATE 256 00114 #define OFN_OVERWRITEPROMPT 2 00115 #define OFN_PATHMUSTEXIST 0x800 00116 #define OFN_READONLY 1 00117 #define OFN_SHAREAWARE 0x4000 00118 #define OFN_SHOWHELP 16 00119 #define OFN_SHAREFALLTHROUGH 2 00120 #define OFN_SHARENOWARN 1 00121 #define OFN_SHAREWARN 0 00122 #define OFN_NODEREFERENCELINKS 0x100000 00123 #define FR_DIALOGTERM 64 00124 #define FR_DOWN 1 00125 #define FR_ENABLEHOOK 256 00126 #define FR_ENABLETEMPLATE 512 00127 #define FR_ENABLETEMPLATEHANDLE 0x2000 00128 #define FR_FINDNEXT 8 00129 #define FR_HIDEUPDOWN 0x4000 00130 #define FR_HIDEMATCHCASE 0x8000 00131 #define FR_HIDEWHOLEWORD 0x10000 00132 #define FR_MATCHALEFHAMZA 0x80000000 00133 #define FR_MATCHCASE 4 00134 #define FR_MATCHDIAC 0x20000000 00135 #define FR_MATCHKASHIDA 0x40000000 00136 #define FR_NOMATCHCASE 0x800 00137 #define FR_NOUPDOWN 0x400 00138 #define FR_NOWHOLEWORD 4096 00139 #define FR_REPLACE 16 00140 #define FR_REPLACEALL 32 00141 #define FR_SHOWHELP 128 00142 #define FR_WHOLEWORD 2 00143 #define PD_ALLPAGES 0 00144 #define PD_SELECTION 1 00145 #define PD_PAGENUMS 2 00146 #define PD_NOSELECTION 4 00147 #define PD_NOPAGENUMS 8 00148 #define PD_COLLATE 16 00149 #define PD_PRINTTOFILE 32 00150 #define PD_PRINTSETUP 64 00151 #define PD_NOWARNING 128 00152 #define PD_RETURNDC 256 00153 #define PD_RETURNIC 512 00154 #define PD_RETURNDEFAULT 1024 00155 #define PD_SHOWHELP 2048 00156 #define PD_ENABLEPRINTHOOK 4096 00157 #define PD_ENABLESETUPHOOK 8192 00158 #define PD_ENABLEPRINTTEMPLATE 16384 00159 #define PD_ENABLESETUPTEMPLATE 32768 00160 #define PD_ENABLEPRINTTEMPLATEHANDLE 65536 00161 #define PD_ENABLESETUPTEMPLATEHANDLE 0x20000 00162 #define PD_USEDEVMODECOPIES 0x40000 00163 #define PD_USEDEVMODECOPIESANDCOLLATE 0x40000 00164 #define PD_DISABLEPRINTTOFILE 0x80000 00165 #define PD_HIDEPRINTTOFILE 0x100000 00166 #define PD_NONETWORKBUTTON 0x200000 00167 #define PSD_DEFAULTMINMARGINS 0 00168 #define PSD_INWININIINTLMEASURE 0 00169 #define PSD_MINMARGINS 1 00170 #define PSD_MARGINS 2 00171 #define PSD_INTHOUSANDTHSOFINCHES 4 00172 #define PSD_INHUNDREDTHSOFMILLIMETERS 8 00173 #define PSD_DISABLEMARGINS 16 00174 #define PSD_DISABLEPRINTER 32 00175 #define PSD_NOWARNING 128 00176 #define PSD_DISABLEORIENTATION 256 00177 #define PSD_DISABLEPAPER 512 00178 #define PSD_RETURNDEFAULT 1024 00179 #define PSD_SHOWHELP 2048 00180 #define PSD_ENABLEPAGESETUPHOOK 8192 00181 #define PSD_ENABLEPAGESETUPTEMPLATE 0x8000 00182 #define PSD_ENABLEPAGESETUPTEMPLATEHANDLE 0x20000 00183 #define PSD_ENABLEPAGEPAINTHOOK 0x40000 00184 #define PSD_DISABLEPAGEPAINTING 0x80000 00185 #define WM_PSD_PAGESETUPDLG WM_USER 00186 #define WM_PSD_FULLPAGERECT (WM_USER+1) 00187 #define WM_PSD_MINMARGINRECT (WM_USER+2) 00188 #define WM_PSD_MARGINRECT (WM_USER+3) 00189 #define WM_PSD_GREEKTEXTRECT (WM_USER+4) 00190 #define WM_PSD_ENVSTAMPRECT (WM_USER+5) 00191 #define WM_PSD_YAFULLPAGERECT (WM_USER+6) 00192 #define CD_LBSELNOITEMS (-1) 00193 #define CD_LBSELCHANGE 0 00194 #define CD_LBSELSUB 1 00195 #define CD_LBSELADD 2 00196 #define DN_DEFAULTPRN 1 00197 00198 #ifndef SNDMSG 00199 #ifdef __cplusplus 00200 #define SNDMSG ::SendMessage 00201 #else 00202 #define SNDMSG SendMessage 00203 #endif 00204 #endif /* ifndef SNDMSG */ 00205 00206 #define CommDlg_OpenSave_GetSpec(d,s,m) ((int)SNDMSG((d),CDM_GETSPEC,(m),(LPARAM)(s))) 00207 #define CommDlg_OpenSave_GetSpecA CommDlg_OpenSave_GetSpec 00208 #define CommDlg_OpenSave_GetSpecW CommDlg_OpenSave_GetSpec 00209 #define CommDlg_OpenSave_GetFilePath(d,s,m) ((int)SNDMSG((d),CDM_GETFILEPATH,(m),(LPARAM)(s))) 00210 #define CommDlg_OpenSave_GetFilePathA CommDlg_OpenSave_GetFilePath 00211 #define CommDlg_OpenSave_GetFilePathW CommDlg_OpenSave_GetFilePath 00212 #define CommDlg_OpenSave_GetFolderPath(d,s,m) ((int)SNDMSG((d),CDM_GETFOLDERPATH,(m),(LPARAM)(LPSTR)(s))) 00213 #define CommDlg_OpenSave_GetFolderPathA CommDlg_OpenSave_GetFolderPath 00214 #define CommDlg_OpenSave_GetFolderPathW CommDlg_OpenSave_GetFolderPath 00215 #define CommDlg_OpenSave_GetFolderIDList(d,i,m) ((int)SNDMSG((d),CDM_GETFOLDERIDLIST,(m),(LPARAM)(i))) 00216 #define CommDlg_OpenSave_SetControlText(d,i,t) ((void)SNDMSG((d),CDM_SETCONTROLTEXT,(i),(LPARAM)(t))) 00217 #define CommDlg_OpenSave_HideControl(d,i) ((void)SNDMSG((d),CDM_HIDECONTROL,(i),0)) 00218 #define CommDlg_OpenSave_SetDefExt(d,e) ((void)SNDMSG((d),CDM_SETDEFEXT,0,(LPARAM)(e))) 00219 00220 typedef UINT_PTR (APIENTRY *__CDHOOKPROC)(HWND,UINT,WPARAM,LPARAM); 00221 typedef __CDHOOKPROC LPCCHOOKPROC; 00222 typedef __CDHOOKPROC LPCFHOOKPROC; 00223 typedef __CDHOOKPROC LPFRHOOKPROC; 00224 typedef __CDHOOKPROC LPOFNHOOKPROC; 00225 typedef __CDHOOKPROC LPPAGEPAINTHOOK; 00226 typedef __CDHOOKPROC LPPAGESETUPHOOK; 00227 typedef __CDHOOKPROC LPSETUPHOOKPROC; 00228 typedef __CDHOOKPROC LPPRINTHOOKPROC; 00229 typedef struct tagCHOOSECOLORA { 00230 DWORD lStructSize; 00231 HWND hwndOwner; 00232 HWND hInstance; 00233 COLORREF rgbResult; 00234 COLORREF* lpCustColors; 00235 DWORD Flags; 00236 LPARAM lCustData; 00237 LPCCHOOKPROC lpfnHook; 00238 LPCSTR lpTemplateName; 00239 } CHOOSECOLORA,*LPCHOOSECOLORA; 00240 typedef struct tagCHOOSECOLORW { 00241 DWORD lStructSize; 00242 HWND hwndOwner; 00243 HWND hInstance; 00244 COLORREF rgbResult; 00245 COLORREF* lpCustColors; 00246 DWORD Flags; 00247 LPARAM lCustData; 00248 LPCCHOOKPROC lpfnHook; 00249 LPCWSTR lpTemplateName; 00250 } CHOOSECOLORW,*LPCHOOSECOLORW; 00251 typedef struct tagCHOOSEFONTA { 00252 DWORD lStructSize; 00253 HWND hwndOwner; 00254 HDC hDC; 00255 LPLOGFONTA lpLogFont; 00256 INT iPointSize; 00257 DWORD Flags; 00258 DWORD rgbColors; 00259 LPARAM lCustData; 00260 LPCFHOOKPROC lpfnHook; 00261 LPCSTR lpTemplateName; 00262 HINSTANCE hInstance; 00263 LPSTR lpszStyle; 00264 WORD nFontType; 00265 WORD ___MISSING_ALIGNMENT__; 00266 INT nSizeMin; 00267 INT nSizeMax; 00268 } CHOOSEFONTA,*LPCHOOSEFONTA; 00269 typedef struct tagCHOOSEFONTW { 00270 DWORD lStructSize; 00271 HWND hwndOwner; 00272 HDC hDC; 00273 LPLOGFONTW lpLogFont; 00274 INT iPointSize; 00275 DWORD Flags; 00276 DWORD rgbColors; 00277 LPARAM lCustData; 00278 LPCFHOOKPROC lpfnHook; 00279 LPCWSTR lpTemplateName; 00280 HINSTANCE hInstance; 00281 LPWSTR lpszStyle; 00282 WORD nFontType; 00283 WORD ___MISSING_ALIGNMENT__; 00284 INT nSizeMin; 00285 INT nSizeMax; 00286 } CHOOSEFONTW,*LPCHOOSEFONTW; 00287 typedef struct tagDEVNAMES { 00288 WORD wDriverOffset; 00289 WORD wDeviceOffset; 00290 WORD wOutputOffset; 00291 WORD wDefault; 00292 } DEVNAMES,*LPDEVNAMES; 00293 typedef struct { 00294 DWORD lStructSize; 00295 HWND hwndOwner; 00296 HINSTANCE hInstance; 00297 DWORD Flags; 00298 LPSTR lpstrFindWhat; 00299 LPSTR lpstrReplaceWith; 00300 WORD wFindWhatLen; 00301 WORD wReplaceWithLen; 00302 LPARAM lCustData; 00303 LPFRHOOKPROC lpfnHook; 00304 LPCSTR lpTemplateName; 00305 } FINDREPLACEA,*LPFINDREPLACEA; 00306 typedef struct { 00307 DWORD lStructSize; 00308 HWND hwndOwner; 00309 HINSTANCE hInstance; 00310 DWORD Flags; 00311 LPWSTR lpstrFindWhat; 00312 LPWSTR lpstrReplaceWith; 00313 WORD wFindWhatLen; 00314 WORD wReplaceWithLen; 00315 LPARAM lCustData; 00316 LPFRHOOKPROC lpfnHook; 00317 LPCWSTR lpTemplateName; 00318 } FINDREPLACEW,*LPFINDREPLACEW; 00319 typedef struct tagOFNA { 00320 DWORD lStructSize; 00321 HWND hwndOwner; 00322 HINSTANCE hInstance; 00323 LPCSTR lpstrFilter; 00324 LPSTR lpstrCustomFilter; 00325 DWORD nMaxCustFilter; 00326 DWORD nFilterIndex; 00327 LPSTR lpstrFile; 00328 DWORD nMaxFile; 00329 LPSTR lpstrFileTitle; 00330 DWORD nMaxFileTitle; 00331 LPCSTR lpstrInitialDir; 00332 LPCSTR lpstrTitle; 00333 DWORD Flags; 00334 WORD nFileOffset; 00335 WORD nFileExtension; 00336 LPCSTR lpstrDefExt; 00337 LPARAM lCustData; 00338 LPOFNHOOKPROC lpfnHook; 00339 LPCSTR lpTemplateName; 00340 #ifdef _MAC 00341 LPEDITMENU lpEditInfo; 00342 LPCSTR lpstrPrompt; 00343 #endif 00344 #if (_WIN32_WINNT >= 0x0500) 00345 void *pvReserved; 00346 DWORD dwReserved; 00347 DWORD FlagsEx; 00348 #endif 00349 } OPENFILENAMEA,*LPOPENFILENAMEA; 00350 typedef struct tagOFNW { 00351 DWORD lStructSize; 00352 HWND hwndOwner; 00353 HINSTANCE hInstance; 00354 LPCWSTR lpstrFilter; 00355 LPWSTR lpstrCustomFilter; 00356 DWORD nMaxCustFilter; 00357 DWORD nFilterIndex; 00358 LPWSTR lpstrFile; 00359 DWORD nMaxFile; 00360 LPWSTR lpstrFileTitle; 00361 DWORD nMaxFileTitle; 00362 LPCWSTR lpstrInitialDir; 00363 LPCWSTR lpstrTitle; 00364 DWORD Flags; 00365 WORD nFileOffset; 00366 WORD nFileExtension; 00367 LPCWSTR lpstrDefExt; 00368 LPARAM lCustData; 00369 LPOFNHOOKPROC lpfnHook; 00370 LPCWSTR lpTemplateName; 00371 #ifdef _MAC 00372 LPEDITMENU lpEditInfo; 00373 LPCSTR lpstrPrompt; 00374 #endif 00375 #if (_WIN32_WINNT >= 0x0500) 00376 void *pvReserved; 00377 DWORD dwReserved; 00378 DWORD FlagsEx; 00379 #endif 00380 } OPENFILENAMEW,*LPOPENFILENAMEW; 00381 typedef struct _OFNOTIFYA { 00382 NMHDR hdr; 00383 LPOPENFILENAMEA lpOFN; 00384 LPSTR pszFile; 00385 } OFNOTIFYA,*LPOFNOTIFYA; 00386 typedef struct _OFNOTIFYW { 00387 NMHDR hdr; 00388 LPOPENFILENAMEW lpOFN; 00389 LPWSTR pszFile; 00390 } OFNOTIFYW,*LPOFNOTIFYW; 00391 00392 typedef struct _OFNOTIFYEXA 00393 { 00394 NMHDR hdr; 00395 LPOPENFILENAMEA lpOFN; 00396 LPVOID psf; 00397 LPVOID pidl; 00398 } OFNOTIFYEXA, *LPOFNOTIFYEXA; 00399 00400 typedef struct _OFNOTIFYEXW 00401 { 00402 NMHDR hdr; 00403 LPOPENFILENAMEW lpOFN; 00404 LPVOID psf; 00405 LPVOID pidl; 00406 } OFNOTIFYEXW, *LPOFNOTIFYEXW; 00407 00408 typedef struct tagPSDA { 00409 DWORD lStructSize; 00410 HWND hwndOwner; 00411 HGLOBAL hDevMode; 00412 HGLOBAL hDevNames; 00413 DWORD Flags; 00414 POINT ptPaperSize; 00415 RECT rtMinMargin; 00416 RECT rtMargin; 00417 HINSTANCE hInstance; 00418 LPARAM lCustData; 00419 LPPAGESETUPHOOK lpfnPageSetupHook; 00420 LPPAGEPAINTHOOK lpfnPagePaintHook; 00421 LPCSTR lpPageSetupTemplateName; 00422 HGLOBAL hPageSetupTemplate; 00423 } PAGESETUPDLGA,*LPPAGESETUPDLGA; 00424 typedef struct tagPSDW { 00425 DWORD lStructSize; 00426 HWND hwndOwner; 00427 HGLOBAL hDevMode; 00428 HGLOBAL hDevNames; 00429 DWORD Flags; 00430 POINT ptPaperSize; 00431 RECT rtMinMargin; 00432 RECT rtMargin; 00433 HINSTANCE hInstance; 00434 LPARAM lCustData; 00435 LPPAGESETUPHOOK lpfnPageSetupHook; 00436 LPPAGEPAINTHOOK lpfnPagePaintHook; 00437 LPCWSTR lpPageSetupTemplateName; 00438 HGLOBAL hPageSetupTemplate; 00439 } PAGESETUPDLGW,*LPPAGESETUPDLGW; 00440 typedef struct tagPDA { 00441 DWORD lStructSize; 00442 HWND hwndOwner; 00443 HANDLE hDevMode; 00444 HANDLE hDevNames; 00445 HDC hDC; 00446 DWORD Flags; 00447 WORD nFromPage; 00448 WORD nToPage; 00449 WORD nMinPage; 00450 WORD nMaxPage; 00451 WORD nCopies; 00452 HINSTANCE hInstance; 00453 DWORD lCustData; 00454 LPPRINTHOOKPROC lpfnPrintHook; 00455 LPSETUPHOOKPROC lpfnSetupHook; 00456 LPCSTR lpPrintTemplateName; 00457 LPCSTR lpSetupTemplateName; 00458 HANDLE hPrintTemplate; 00459 HANDLE hSetupTemplate; 00460 } PRINTDLGA,*LPPRINTDLGA; 00461 typedef struct tagPDW { 00462 DWORD lStructSize; 00463 HWND hwndOwner; 00464 HANDLE hDevMode; 00465 HANDLE hDevNames; 00466 HDC hDC; 00467 DWORD Flags; 00468 WORD nFromPage; 00469 WORD nToPage; 00470 WORD nMinPage; 00471 WORD nMaxPage; 00472 WORD nCopies; 00473 HINSTANCE hInstance; 00474 DWORD lCustData; 00475 LPPRINTHOOKPROC lpfnPrintHook; 00476 LPSETUPHOOKPROC lpfnSetupHook; 00477 LPCWSTR lpPrintTemplateName; 00478 LPCWSTR lpSetupTemplateName; 00479 HANDLE hPrintTemplate; 00480 HANDLE hSetupTemplate; 00481 } PRINTDLGW,*LPPRINTDLGW; 00482 #if (WINVER >= 0x0500) && !defined (__OBJC__) 00483 #include <prsht.h> /* for HPROPSHEETPAGE */ 00484 typedef struct tagPRINTPAGERANGE { 00485 DWORD nFromPage; 00486 DWORD nToPage; 00487 } PRINTPAGERANGE, *LPPRINTPAGERANGE; 00488 typedef struct tagPDEXA { 00489 DWORD lStructSize; 00490 HWND hwndOwner; 00491 HGLOBAL hDevMode; 00492 HGLOBAL hDevNames; 00493 HDC hDC; 00494 DWORD Flags; 00495 DWORD Flags2; 00496 DWORD ExclusionFlags; 00497 DWORD nPageRanges; 00498 DWORD nMaxPageRanges; 00499 LPPRINTPAGERANGE lpPageRanges; 00500 DWORD nMinPage; 00501 DWORD nMaxPage; 00502 DWORD nCopies; 00503 HINSTANCE hInstance; 00504 LPCSTR lpPrintTemplateName; 00505 void* /*LPUNKNOWN*/ lpCallback; 00506 DWORD nPropertyPages; 00507 HPROPSHEETPAGE *lphPropertyPages; 00508 DWORD nStartPage; 00509 DWORD dwResultAction; 00510 } PRINTDLGEXA, *LPPRINTDLGEXA; 00511 typedef struct tagPDEXW { 00512 DWORD lStructSize; 00513 HWND hwndOwner; 00514 HGLOBAL hDevMode; 00515 HGLOBAL hDevNames; 00516 HDC hDC; 00517 DWORD Flags; 00518 DWORD Flags2; 00519 DWORD ExclusionFlags; 00520 DWORD nPageRanges; 00521 DWORD nMaxPageRanges; 00522 LPPRINTPAGERANGE lpPageRanges; 00523 DWORD nMinPage; 00524 DWORD nMaxPage; 00525 DWORD nCopies; 00526 HINSTANCE hInstance; 00527 LPCWSTR lpPrintTemplateName; 00528 void* /*LPUNKNOWN*/ lpCallback; 00529 DWORD nPropertyPages; 00530 HPROPSHEETPAGE *lphPropertyPages; 00531 DWORD nStartPage; 00532 DWORD dwResultAction; 00533 } PRINTDLGEXW, *LPPRINTDLGEXW; 00534 #endif /* WINVER >= 0x0500 */ 00535 00536 BOOL WINAPI ChooseColorA(LPCHOOSECOLORA); 00537 BOOL WINAPI ChooseColorW(LPCHOOSECOLORW); 00538 BOOL WINAPI ChooseFontA(LPCHOOSEFONTA); 00539 BOOL WINAPI ChooseFontW(LPCHOOSEFONTW); 00540 DWORD WINAPI CommDlgExtendedError(void); 00541 HWND WINAPI FindTextA(LPFINDREPLACEA); 00542 HWND WINAPI FindTextW(LPFINDREPLACEW); 00543 short WINAPI GetFileTitleA(LPCSTR,LPSTR,WORD); 00544 short WINAPI GetFileTitleW(LPCWSTR,LPWSTR,WORD); 00545 BOOL WINAPI GetOpenFileNameA(LPOPENFILENAMEA); 00546 BOOL WINAPI GetOpenFileNameW(LPOPENFILENAMEW); 00547 BOOL WINAPI GetSaveFileNameA(LPOPENFILENAMEA); 00548 BOOL WINAPI GetSaveFileNameW(LPOPENFILENAMEW); 00549 BOOL WINAPI PageSetupDlgA(LPPAGESETUPDLGA); 00550 BOOL WINAPI PageSetupDlgW(LPPAGESETUPDLGW); 00551 BOOL WINAPI PrintDlgA(LPPRINTDLGA); 00552 BOOL WINAPI PrintDlgW(LPPRINTDLGW); 00553 HWND WINAPI ReplaceTextA(LPFINDREPLACEA); 00554 HWND WINAPI ReplaceTextW(LPFINDREPLACEW); 00555 #if (WINVER >= 0x0500) && !defined (__OBJC__) 00556 HRESULT WINAPI PrintDlgExA(LPPRINTDLGEXA); 00557 HRESULT WINAPI PrintDlgExW(LPPRINTDLGEXW); 00558 #endif /* WINVER >= 0x0500 */ 00559 00560 #ifdef UNICODE 00561 #define LBSELCHSTRING LBSELCHSTRINGW 00562 #define SHAREVISTRING SHAREVISTRINGW 00563 #define FILEOKSTRING FILEOKSTRINGW 00564 #define COLOROKSTRING COLOROKSTRINGW 00565 #define SETRGBSTRING SETRGBSTRINGW 00566 #define HELPMSGSTRING HELPMSGSTRINGW 00567 #define FINDMSGSTRING FINDMSGSTRINGW 00568 typedef CHOOSECOLORW CHOOSECOLOR,*LPCHOOSECOLOR; 00569 typedef CHOOSEFONTW CHOOSEFONT,*LPCHOOSEFONT; 00570 typedef FINDREPLACEW FINDREPLACE,*LPFINDREPLACE; 00571 typedef OPENFILENAMEW OPENFILENAME,*LPOPENFILENAME; 00572 typedef OFNOTIFYW OFNOTIFY,*LPOFNOTIFY; 00573 typedef PAGESETUPDLGW PAGESETUPDLG,*LPPAGESETUPDLG; 00574 typedef PRINTDLGW PRINTDLG,*LPPRINTDLG; 00575 #define ChooseColor ChooseColorW 00576 #define ChooseFont ChooseFontW 00577 #define FindText FindTextW 00578 #define GetFileTitle GetFileTitleW 00579 #define GetOpenFileName GetOpenFileNameW 00580 #define GetSaveFileName GetSaveFileNameW 00581 #define PageSetupDlg PageSetupDlgW 00582 #define PrintDlg PrintDlgW 00583 #define ReplaceText ReplaceTextW 00584 #if (WINVER >= 0x0500) && !defined (__OBJC__) 00585 typedef PRINTDLGEXW PRINTDLGEX, *LPPRINTDLGEX; 00586 #define PrintDlgEx PrintDlgExW 00587 #endif /* WINVER >= 0x0500 */ 00588 #else /* UNICODE */ 00589 #define LBSELCHSTRING LBSELCHSTRINGA 00590 #define SHAREVISTRING SHAREVISTRINGA 00591 #define FILEOKSTRING FILEOKSTRINGA 00592 #define COLOROKSTRING COLOROKSTRINGA 00593 #define SETRGBSTRING SETRGBSTRINGA 00594 #define HELPMSGSTRING HELPMSGSTRINGA 00595 #define FINDMSGSTRING FINDMSGSTRINGA 00596 typedef CHOOSECOLORA CHOOSECOLOR,*LPCHOOSECOLOR; 00597 typedef CHOOSEFONTA CHOOSEFONT,*LPCHOOSEFONT; 00598 typedef FINDREPLACEA FINDREPLACE,*LPFINDREPLACE; 00599 typedef OPENFILENAMEA OPENFILENAME,*LPOPENFILENAME; 00600 typedef OFNOTIFYA OFNOTIFY,*LPOFNOTIFY; 00601 typedef PAGESETUPDLGA PAGESETUPDLG,*LPPAGESETUPDLG; 00602 typedef PRINTDLGA PRINTDLG,*LPPRINTDLG; 00603 #define ChooseColor ChooseColorA 00604 #define ChooseFont ChooseFontA 00605 #define FindText FindTextA 00606 #define GetFileTitle GetFileTitleA 00607 #define GetOpenFileName GetOpenFileNameA 00608 #define GetSaveFileName GetSaveFileNameA 00609 #define PageSetupDlg PageSetupDlgA 00610 #define PrintDlg PrintDlgA 00611 #define ReplaceText ReplaceTextA 00612 #if (WINVER >= 0x0500) && !defined (__OBJC__) 00613 typedef PRINTDLGEXA PRINTDLGEX, *LPPRINTDLGEX; 00614 #define PrintDlgEx PrintDlgExA 00615 #endif /* WINVER >= 0x0500 */ 00616 #endif /* UNICODE */ 00617 #ifndef _WIN64 00618 #pragma pack(pop) 00619 #endif 00620 #ifdef __cplusplus 00621 } 00622 #endif 00623 #endif Generated on Sat May 26 2012 04:29:53 for ReactOS by
1.7.6.1
|