ReactOS  0.4.12-dev-918-g6c6e7b8
commdlg.h
Go to the documentation of this file.
1 #ifndef _COMMDLG_H
2 #define _COMMDLG_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 #ifndef _WIN64
9 #pragma pack(push,1)
10 #endif
11 
12 #define SAVE_DIALOG 1
13 #define OPEN_DIALOG 2
14 
15 #define LBSELCHSTRINGA "commdlg_LBSelChangedNotify"
16 #define SHAREVISTRINGA "commdlg_ShareViolation"
17 #define FILEOKSTRINGA "commdlg_FileNameOK"
18 #define COLOROKSTRINGA "commdlg_ColorOK"
19 #define SETRGBSTRINGA "commdlg_SetRGBColor"
20 #define HELPMSGSTRINGA "commdlg_help"
21 #define FINDMSGSTRINGA "commdlg_FindReplace"
22 #define LBSELCHSTRINGW L"commdlg_LBSelChangedNotify"
23 #define SHAREVISTRINGW L"commdlg_ShareViolation"
24 #define FILEOKSTRINGW L"commdlg_FileNameOK"
25 #define COLOROKSTRINGW L"commdlg_ColorOK"
26 #define SETRGBSTRINGW L"commdlg_SetRGBColor"
27 #define HELPMSGSTRINGW L"commdlg_help"
28 #define FINDMSGSTRINGW L"commdlg_FindReplace"
29 #ifndef CDN_FIRST
30 #define CDN_FIRST ((UINT)-601) /* also in commctrl.h */
31 #define CDN_LAST ((UINT)-699)
32 #endif
33 #define CDN_INITDONE CDN_FIRST
34 #define CDN_SELCHANGE (CDN_FIRST-1U)
35 #define CDN_FOLDERCHANGE (CDN_FIRST-2U)
36 #define CDN_SHAREVIOLATION (CDN_FIRST-3U)
37 #define CDN_HELP (CDN_FIRST-4U)
38 #define CDN_FILEOK (CDN_FIRST-5U)
39 #define CDN_TYPECHANGE (CDN_FIRST-6U)
40 #define CDN_INCLUDEITEM (CDN_FIRST-7U)
41 #define CDM_FIRST (WM_USER+100)
42 #define CDM_LAST (WM_USER+200)
43 #define CDM_GETSPEC CDM_FIRST
44 #define CDM_GETFILEPATH (CDM_FIRST+1)
45 #define CDM_GETFOLDERPATH (CDM_FIRST+2)
46 #define CDM_GETFOLDERIDLIST (CDM_FIRST+3)
47 #define CDM_SETCONTROLTEXT (CDM_FIRST+4)
48 #define CDM_HIDECONTROL (CDM_FIRST+5)
49 #define CDM_SETDEFEXT (CDM_FIRST+6)
50 #define CC_RGBINIT 1
51 #define CC_FULLOPEN 2
52 #define CC_PREVENTFULLOPEN 4
53 #define CC_SHOWHELP 8
54 #define CC_ENABLEHOOK 16
55 #define CC_ENABLETEMPLATE 32
56 #define CC_ENABLETEMPLATEHANDLE 64
57 #define CC_SOLIDCOLOR 128
58 #define CC_ANYCOLOR 256
59 #define CF_SCREENFONTS 1
60 #define CF_PRINTERFONTS 2
61 #define CF_BOTH 3
62 #define CF_SHOWHELP 4
63 #define CF_ENABLEHOOK 8
64 #define CF_ENABLETEMPLATE 16
65 #define CF_ENABLETEMPLATEHANDLE 32
66 #define CF_INITTOLOGFONTSTRUCT 64
67 #define CF_USESTYLE 128
68 #define CF_EFFECTS 256
69 #define CF_APPLY 512
70 #define CF_ANSIONLY 1024
71 #define CF_SCRIPTSONLY CF_ANSIONLY
72 #define CF_NOVECTORFONTS 2048
73 #define CF_NOOEMFONTS 2048
74 #define CF_NOSIMULATIONS 4096
75 #define CF_LIMITSIZE 8192
76 #define CF_FIXEDPITCHONLY 16384
77 #define CF_WYSIWYG 32768
78 #define CF_FORCEFONTEXIST 65536
79 #define CF_SCALABLEONLY 131072
80 #define CF_TTONLY 262144
81 #define CF_NOFACESEL 524288
82 #define CF_NOSTYLESEL 1048576
83 #define CF_NOSIZESEL 2097152
84 #define CF_SELECTSCRIPT 4194304
85 #define CF_NOSCRIPTSEL 8388608
86 #define CF_NOVERTFONTS 0x1000000
87 #define SIMULATED_FONTTYPE 0x8000
88 #define PRINTER_FONTTYPE 0x4000
89 #define SCREEN_FONTTYPE 0x2000
90 #define BOLD_FONTTYPE 0x100
91 #define ITALIC_FONTTYPE 0x0200
92 #define REGULAR_FONTTYPE 0x0400
93 #define WM_CHOOSEFONT_GETLOGFONT (WM_USER+1)
94 #define WM_CHOOSEFONT_SETLOGFONT (WM_USER+101)
95 #define WM_CHOOSEFONT_SETFLAGS (WM_USER+102)
96 #define OFN_ALLOWMULTISELECT 512
97 #define OFN_CREATEPROMPT 0x2000
98 #define OFN_DONTADDTORECENT 0x2000000
99 #define OFN_ENABLEHOOK 32
100 #define OFN_ENABLEINCLUDENOTIFY 0x400000
101 #define OFN_ENABLESIZING 0x800000
102 #define OFN_ENABLETEMPLATE 64
103 #define OFN_ENABLETEMPLATEHANDLE 128
104 #define OFN_EXPLORER 0x80000
105 #define OFN_EXTENSIONDIFFERENT 0x400
106 #define OFN_FILEMUSTEXIST 0x1000
107 #define OFN_HIDEREADONLY 4
108 #define OFN_LONGNAMES 0x200000
109 #define OFN_NOCHANGEDIR 8
110 #define OFN_NODEREFERENCELINKS 0x100000
111 #define OFN_NOLONGNAMES 0x40000
112 #define OFN_NONETWORKBUTTON 0x20000
113 #define OFN_NOREADONLYRETURN 0x8000
114 #define OFN_NOTESTFILECREATE 0x10000
115 #define OFN_NOVALIDATE 256
116 #define OFN_OVERWRITEPROMPT 2
117 #define OFN_PATHMUSTEXIST 0x800
118 #define OFN_READONLY 1
119 #define OFN_SHAREAWARE 0x4000
120 #define OFN_SHOWHELP 16
121 #define OFN_EX_NOPLACESBAR 0x00000001
122 #define OFN_SHAREFALLTHROUGH 2
123 #define OFN_SHARENOWARN 1
124 #define OFN_SHAREWARN 0
125 #define OFN_NODEREFERENCELINKS 0x100000
126 #define FR_DIALOGTERM 64
127 #define FR_DOWN 1
128 #define FR_ENABLEHOOK 256
129 #define FR_ENABLETEMPLATE 512
130 #define FR_ENABLETEMPLATEHANDLE 0x2000
131 #define FR_FINDNEXT 8
132 #define FR_HIDEUPDOWN 0x4000
133 #define FR_HIDEMATCHCASE 0x8000
134 #define FR_HIDEWHOLEWORD 0x10000
135 #define FR_MATCHALEFHAMZA 0x80000000
136 #define FR_MATCHCASE 4
137 #define FR_MATCHDIAC 0x20000000
138 #define FR_MATCHKASHIDA 0x40000000
139 #define FR_NOMATCHCASE 0x800
140 #define FR_NOUPDOWN 0x400
141 #define FR_NOWHOLEWORD 4096
142 #define FR_REPLACE 16
143 #define FR_REPLACEALL 32
144 #define FR_SHOWHELP 128
145 #define FR_WHOLEWORD 2
146 #define PD_ALLPAGES 0
147 #define PD_SELECTION 1
148 #define PD_PAGENUMS 2
149 #define PD_NOSELECTION 4
150 #define PD_NOPAGENUMS 8
151 #define PD_COLLATE 16
152 #define PD_PRINTTOFILE 32
153 #define PD_PRINTSETUP 64
154 #define PD_NOWARNING 128
155 #define PD_RETURNDC 256
156 #define PD_RETURNIC 512
157 #define PD_RETURNDEFAULT 1024
158 #define PD_SHOWHELP 2048
159 #define PD_ENABLEPRINTHOOK 4096
160 #define PD_ENABLESETUPHOOK 8192
161 #define PD_ENABLEPRINTTEMPLATE 16384
162 #define PD_ENABLESETUPTEMPLATE 32768
163 #define PD_ENABLEPRINTTEMPLATEHANDLE 65536
164 #define PD_ENABLESETUPTEMPLATEHANDLE 0x20000
165 #define PD_USEDEVMODECOPIES 0x40000
166 #define PD_USEDEVMODECOPIESANDCOLLATE 0x40000
167 #define PD_DISABLEPRINTTOFILE 0x80000
168 #define PD_HIDEPRINTTOFILE 0x100000
169 #define PD_NONETWORKBUTTON 0x200000
170 #define PSD_DEFAULTMINMARGINS 0
171 #define PSD_INWININIINTLMEASURE 0
172 #define PSD_MINMARGINS 1
173 #define PSD_MARGINS 2
174 #define PSD_INTHOUSANDTHSOFINCHES 4
175 #define PSD_INHUNDREDTHSOFMILLIMETERS 8
176 #define PSD_DISABLEMARGINS 16
177 #define PSD_DISABLEPRINTER 32
178 #define PSD_NOWARNING 128
179 #define PSD_DISABLEORIENTATION 256
180 #define PSD_DISABLEPAPER 512
181 #define PSD_RETURNDEFAULT 1024
182 #define PSD_SHOWHELP 2048
183 #define PSD_ENABLEPAGESETUPHOOK 8192
184 #define PSD_ENABLEPAGESETUPTEMPLATE 0x8000
185 #define PSD_ENABLEPAGESETUPTEMPLATEHANDLE 0x20000
186 #define PSD_ENABLEPAGEPAINTHOOK 0x40000
187 #define PSD_DISABLEPAGEPAINTING 0x80000
188 #define WM_PSD_PAGESETUPDLG WM_USER
189 #define WM_PSD_FULLPAGERECT (WM_USER+1)
190 #define WM_PSD_MINMARGINRECT (WM_USER+2)
191 #define WM_PSD_MARGINRECT (WM_USER+3)
192 #define WM_PSD_GREEKTEXTRECT (WM_USER+4)
193 #define WM_PSD_ENVSTAMPRECT (WM_USER+5)
194 #define WM_PSD_YAFULLPAGERECT (WM_USER+6)
195 #define CD_LBSELNOITEMS (-1)
196 #define CD_LBSELCHANGE 0
197 #define CD_LBSELSUB 1
198 #define CD_LBSELADD 2
199 #define DN_DEFAULTPRN 1
200 
201 #define PD_RESULT_CANCEL 0
202 #define PD_RESULT_PRINT 1
203 #define PD_RESULT_APPLY 2
204 
205 #define START_PAGE_GENERAL 0xffffffff
206 
207 #ifndef SNDMSG
208 #ifdef __cplusplus
209 #define SNDMSG ::SendMessage
210 #else
211 #define SNDMSG SendMessage
212 #endif
213 #endif /* ifndef SNDMSG */
214 
215 #define CommDlg_OpenSave_GetSpec(d,s,m) ((int)SNDMSG((d),CDM_GETSPEC,(m),(LPARAM)(s)))
216 #define CommDlg_OpenSave_GetSpecA CommDlg_OpenSave_GetSpec
217 #define CommDlg_OpenSave_GetSpecW CommDlg_OpenSave_GetSpec
218 #define CommDlg_OpenSave_GetFilePath(d,s,m) ((int)SNDMSG((d),CDM_GETFILEPATH,(m),(LPARAM)(s)))
219 #define CommDlg_OpenSave_GetFilePathA CommDlg_OpenSave_GetFilePath
220 #define CommDlg_OpenSave_GetFilePathW CommDlg_OpenSave_GetFilePath
221 #define CommDlg_OpenSave_GetFolderPath(d,s,m) ((int)SNDMSG((d),CDM_GETFOLDERPATH,(m),(LPARAM)(LPSTR)(s)))
222 #define CommDlg_OpenSave_GetFolderPathA CommDlg_OpenSave_GetFolderPath
223 #define CommDlg_OpenSave_GetFolderPathW CommDlg_OpenSave_GetFolderPath
224 #define CommDlg_OpenSave_GetFolderIDList(d,i,m) ((int)SNDMSG((d),CDM_GETFOLDERIDLIST,(m),(LPARAM)(i)))
225 #define CommDlg_OpenSave_SetControlText(d,i,t) ((void)SNDMSG((d),CDM_SETCONTROLTEXT,(i),(LPARAM)(t)))
226 #define CommDlg_OpenSave_HideControl(d,i) ((void)SNDMSG((d),CDM_HIDECONTROL,(i),0))
227 #define CommDlg_OpenSave_SetDefExt(d,e) ((void)SNDMSG((d),CDM_SETDEFEXT,0,(LPARAM)(e)))
228 
238 typedef struct tagCHOOSECOLORA {
249 typedef struct tagCHOOSECOLORW {
260 typedef struct tagCHOOSEFONTA {
278 typedef struct tagCHOOSEFONTW {
296 typedef struct tagDEVNAMES {
302 typedef struct {
315 typedef struct {
328 typedef struct tagOFNA {
349 #ifdef _MAC
350  LPEDITMENU lpEditInfo;
351  LPCSTR lpstrPrompt;
352 #endif
353 #if (_WIN32_WINNT >= 0x0500)
354  void *pvReserved;
356  DWORD FlagsEx;
357 #endif
359 typedef struct tagOFNW {
380 #ifdef _MAC
381  LPEDITMENU lpEditInfo;
382  LPCSTR lpstrPrompt;
383 #endif
384 #if (_WIN32_WINNT >= 0x0500)
385  void *pvReserved;
387  DWORD FlagsEx;
388 #endif
390 
391 
392 #ifndef CDSIZEOF_STRUCT
393 #define CDSIZEOF_STRUCT(type,field) ((INT_PTR)&(((type *)0)->field) + sizeof(((type*)0)->field))
394 #endif
395 
396 #define OPENFILENAME_SIZE_VERSION_400A CDSIZEOF_STRUCT(OPENFILENAMEA,lpTemplateName)
397 #define OPENFILENAME_SIZE_VERSION_400W CDSIZEOF_STRUCT(OPENFILENAMEW,lpTemplateName)
398 
399 #ifdef UNICODE
400 #define OPENFILENAME_SIZE_VERSION_400 OPENFILENAME_SIZE_VERSION_400W
401 #else
402 #define OPENFILENAME_SIZE_VERSION_400 OPENFILENAME_SIZE_VERSION_400A
403 #endif
404 
405 typedef struct _OFNOTIFYA {
410 typedef struct _OFNOTIFYW {
415 
416 typedef struct _OFNOTIFYEXA
417 {
423 
424 typedef struct _OFNOTIFYEXW
425 {
431 
432 typedef struct tagPSDA {
448 typedef struct tagPSDW {
464 typedef struct tagPDA {
485 typedef struct tagPDW {
506 #if (WINVER >= 0x0500) && !defined (__OBJC__)
507 #include <prsht.h> /* for HPROPSHEETPAGE */
508 typedef struct tagPRINTPAGERANGE {
509  DWORD nFromPage;
510  DWORD nToPage;
511 } PRINTPAGERANGE, *LPPRINTPAGERANGE;
512 typedef struct tagPDEXA {
513  DWORD lStructSize;
514  HWND hwndOwner;
515  HGLOBAL hDevMode;
516  HGLOBAL hDevNames;
517  HDC hDC;
518  DWORD Flags;
519  DWORD Flags2;
520  DWORD ExclusionFlags;
521  DWORD nPageRanges;
522  DWORD nMaxPageRanges;
523  LPPRINTPAGERANGE lpPageRanges;
524  DWORD nMinPage;
525  DWORD nMaxPage;
526  DWORD nCopies;
528  LPCSTR lpPrintTemplateName;
529  void* /*LPUNKNOWN*/ lpCallback;
530  DWORD nPropertyPages;
531  HPROPSHEETPAGE *lphPropertyPages;
532  DWORD nStartPage;
533  DWORD dwResultAction;
534 } PRINTDLGEXA, *LPPRINTDLGEXA;
535 typedef struct tagPDEXW {
536  DWORD lStructSize;
537  HWND hwndOwner;
538  HGLOBAL hDevMode;
539  HGLOBAL hDevNames;
540  HDC hDC;
541  DWORD Flags;
542  DWORD Flags2;
543  DWORD ExclusionFlags;
544  DWORD nPageRanges;
545  DWORD nMaxPageRanges;
546  LPPRINTPAGERANGE lpPageRanges;
547  DWORD nMinPage;
548  DWORD nMaxPage;
549  DWORD nCopies;
551  LPCWSTR lpPrintTemplateName;
552  void* /*LPUNKNOWN*/ lpCallback;
553  DWORD nPropertyPages;
554  HPROPSHEETPAGE *lphPropertyPages;
555  DWORD nStartPage;
556  DWORD dwResultAction;
557 } PRINTDLGEXW, *LPPRINTDLGEXW;
558 #endif /* WINVER >= 0x0500 */
559 
560 #ifdef STDMETHOD
561 
562 DEFINE_GUID(IID_IPrintDialogCallback, 0x5852a2c3,0x6530,0x11d1,0xb6,0xa3,0x00,0x00,0xf8,0x75,0x7b,0xf9);
563 #define INTERFACE IPrintDialogCallback
564 DECLARE_INTERFACE_(IPrintDialogCallback,IUnknown)
565 {
566  /*** IUnknown methods ***/
570  /*** IPrintDialogCallback methods ***/
571  STDMETHOD(InitDone)(THIS) PURE;
572  STDMETHOD(SelectionChange)(THIS) PURE;
573  STDMETHOD(HandleMessage)(THIS_ HWND,UINT,WPARAM,LPARAM,LRESULT *) PURE;
574 };
575 #undef INTERFACE
576 
577 DEFINE_GUID(IID_IPrintDialogServices, 0x509aaeda,0x5639,0x11d1,0xb6,0xa1,0x00,0x00,0xf8,0x75,0x7b,0xf9);
578 #define INTERFACE IPrintDialogServices
579 DECLARE_INTERFACE_(IPrintDialogServices,IUnknown)
580 {
581  /*** IUnknown methods ***/
585  /*** IPrintDialogServices methods ***/
586  STDMETHOD(GetCurrentDevMode)(THIS_ LPDEVMODEW,UINT *) PURE;
587  STDMETHOD(GetCurrentPrinterName)(THIS_ LPWSTR,UINT *) PURE;
588  STDMETHOD(GetCurrentPortName)(THIS_ LPWSTR,UINT *) PURE;
589 };
590 #undef INTERFACE
591 
592 #endif /* STDMETHOD */
593 
613 #if (WINVER >= 0x0500) && !defined (__OBJC__)
614 HRESULT WINAPI PrintDlgExA(LPPRINTDLGEXA);
615 HRESULT WINAPI PrintDlgExW(LPPRINTDLGEXW);
616 #endif /* WINVER >= 0x0500 */
617 
618 #ifdef UNICODE
619 #define LBSELCHSTRING LBSELCHSTRINGW
620 #define SHAREVISTRING SHAREVISTRINGW
621 #define FILEOKSTRING FILEOKSTRINGW
622 #define COLOROKSTRING COLOROKSTRINGW
623 #define SETRGBSTRING SETRGBSTRINGW
624 #define HELPMSGSTRING HELPMSGSTRINGW
625 #define FINDMSGSTRING FINDMSGSTRINGW
630 typedef OFNOTIFYW OFNOTIFY,*LPOFNOTIFY;
632 typedef PRINTDLGW PRINTDLG,*LPPRINTDLG;
633 #define ChooseColor ChooseColorW
634 #define ChooseFont ChooseFontW
635 #define FindText FindTextW
636 #define GetFileTitle GetFileTitleW
637 #define GetOpenFileName GetOpenFileNameW
638 #define GetSaveFileName GetSaveFileNameW
639 #define PageSetupDlg PageSetupDlgW
640 #define PrintDlg PrintDlgW
641 #define ReplaceText ReplaceTextW
642 #if (WINVER >= 0x0500) && !defined (__OBJC__)
643 typedef PRINTDLGEXW PRINTDLGEX, *LPPRINTDLGEX;
644 #define PrintDlgEx PrintDlgExW
645 #endif /* WINVER >= 0x0500 */
646 #else /* UNICODE */
647 #define LBSELCHSTRING LBSELCHSTRINGA
648 #define SHAREVISTRING SHAREVISTRINGA
649 #define FILEOKSTRING FILEOKSTRINGA
650 #define COLOROKSTRING COLOROKSTRINGA
651 #define SETRGBSTRING SETRGBSTRINGA
652 #define HELPMSGSTRING HELPMSGSTRINGA
653 #define FINDMSGSTRING FINDMSGSTRINGA
661 #define ChooseColor ChooseColorA
662 #define ChooseFont ChooseFontA
663 #define FindText FindTextA
664 #define GetFileTitle GetFileTitleA
665 #define GetOpenFileName GetOpenFileNameA
666 #define GetSaveFileName GetSaveFileNameA
667 #define PageSetupDlg PageSetupDlgA
668 #define PrintDlg PrintDlgA
669 #define ReplaceText ReplaceTextA
670 #if (WINVER >= 0x0500) && !defined (__OBJC__)
671 typedef PRINTDLGEXA PRINTDLGEX, *LPPRINTDLGEX;
672 #define PrintDlgEx PrintDlgExA
673 #endif /* WINVER >= 0x0500 */
674 #endif /* UNICODE */
675 #ifndef _WIN64
676 #pragma pack(pop)
677 #endif
678 #ifdef __cplusplus
679 }
680 #endif
681 #endif
LPCWSTR lpPageSetupTemplateName
Definition: commdlg.h:461
HWND WINAPI FindTextW(LPFINDREPLACEW)
Definition: finddlg.c:492
struct tagDEVNAMES * LPDEVNAMES
LPWSTR lpstrFindWhat
Definition: commdlg.h:320
unsigned __int3264 UINT_PTR
Definition: activex.cpp:275
HINSTANCE hInstance
Definition: commdlg.h:362
BOOL WINAPI GetSaveFileNameA(LPOPENFILENAMEA)
INT iPointSize
Definition: commdlg.h:283
HGLOBAL hDevMode
Definition: commdlg.h:435
RECT rtMinMargin
Definition: commdlg.h:455
DWORD Flags
Definition: commdlg.h:373
LPARAM lCustData
Definition: commdlg.h:458
LPFRHOOKPROC lpfnHook
Definition: commdlg.h:312
LPLOGFONTA lpLogFont
Definition: commdlg.h:264
#define REFIID
Definition: guiddef.h:113
struct tagCHOOSECOLORA CHOOSECOLORA
LPCWSTR lpstrFilter
Definition: commdlg.h:363
struct _devicemodeW * LPDEVMODEW
WORD nFileExtension
Definition: commdlg.h:344
BOOL WINAPI PrintDlgW(LPPRINTDLGW)
Definition: printdlg.c:2391
WORD nMaxPage
Definition: commdlg.h:474
HWND hwndOwner
Definition: commdlg.h:487
HGLOBAL hSetupTemplate
Definition: commdlg.h:504
#define THIS_
Definition: basetyps.h:65
__CDHOOKPROC LPFRHOOKPROC
Definition: commdlg.h:232
struct _OFNOTIFYEXA * LPOFNOTIFYEXA
struct tagOFNW * LPOPENFILENAMEW
struct tagPSDW * LPPAGESETUPDLGW
_In_ BOOLEAN Release
Definition: classpnp.h:929
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
LPSTR lpstrFileTitle
Definition: commdlg.h:338
LPCWSTR lpstrInitialDir
Definition: commdlg.h:371
LPCSTR lpTemplateName
Definition: commdlg.h:270
WORD wDefault
Definition: commdlg.h:300
LPARAM lCustData
Definition: commdlg.h:346
#define THIS
Definition: basetyps.h:66
HWND hwndOwner
Definition: commdlg.h:330
LPSTR lpstrCustomFilter
Definition: commdlg.h:333
LPCWSTR lpTemplateName
Definition: commdlg.h:288
CHOOSECOLORA CHOOSECOLOR
Definition: commdlg.h:654
LPCSTR lpTemplateName
Definition: commdlg.h:247
LPSTR pszFile
Definition: commdlg.h:408
LPARAM lCustData
Definition: commdlg.h:311
DWORD nMaxFileTitle
Definition: commdlg.h:370
HWND hwndOwner
Definition: commdlg.h:434
COLORREF * lpCustColors
Definition: commdlg.h:254
HWND hInstance
Definition: commdlg.h:252
LPWSTR lpstrFile
Definition: commdlg.h:367
HGLOBAL hDevNames
Definition: commdlg.h:489
static HDC
Definition: imagelist.c:92
#define CALLBACK
Definition: compat.h:27
HANDLE HWND
Definition: compat.h:13
LPSTR lpstrFindWhat
Definition: commdlg.h:307
LPCSTR lpstrDefExt
Definition: commdlg.h:345
LPCSTR lpSetupTemplateName
Definition: commdlg.h:481
struct tagPDW * LPPRINTDLGW
LPVOID pidl
Definition: commdlg.h:429
LPCSTR lpPageSetupTemplateName
Definition: commdlg.h:445
WORD nCopies
Definition: commdlg.h:475
DWORD lStructSize
Definition: commdlg.h:261
DWORD lStructSize
Definition: commdlg.h:250
UINT_PTR WPARAM
Definition: windef.h:207
struct _OFNOTIFYEXW OFNOTIFYEXW
WORD wFindWhatLen
Definition: commdlg.h:309
LPCSTR lpTemplateName
Definition: commdlg.h:348
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
DWORD Flags
Definition: commdlg.h:491
HGLOBAL hPrintTemplate
Definition: commdlg.h:482
DWORD rgbColors
Definition: commdlg.h:267
struct _OFNOTIFYW * LPOFNOTIFYW
char * LPSTR
Definition: xmlstorage.h:182
WORD wReplaceWithLen
Definition: commdlg.h:310
RECT rtMargin
Definition: commdlg.h:456
LPCWSTR lpSetupTemplateName
Definition: commdlg.h:502
struct _OFNOTIFYEXW * LPOFNOTIFYEXW
COLORREF rgbResult
Definition: commdlg.h:242
int32_t INT
Definition: typedefs.h:56
RECT rtMargin
Definition: commdlg.h:440
WORD nFontType
Definition: commdlg.h:291
FINDREPLACEA * LPFINDREPLACE
Definition: commdlg.h:656
HGLOBAL hDevNames
Definition: commdlg.h:452
LPOFNHOOKPROC lpfnHook
Definition: commdlg.h:378
WORD nFontType
Definition: commdlg.h:273
#define STDMETHOD(m)
Definition: basetyps.h:62
DWORD lStructSize
Definition: commdlg.h:360
WORD nMinPage
Definition: commdlg.h:473
CHOOSEFONTA CHOOSEFONT
Definition: commdlg.h:655
DWORD nMaxFile
Definition: commdlg.h:337
struct tagOFNA OPENFILENAMEA
WORD nFileExtension
Definition: commdlg.h:375
HRESULT WINAPI PrintDlgExW(LPPRINTDLGEXW lppd)
Definition: printdlg.c:4173
__CDHOOKPROC LPCFHOOKPROC
Definition: commdlg.h:231
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
HWND hwndOwner
Definition: commdlg.h:280
HINSTANCE hInstance
Definition: charmap.c:20
LPCWSTR lpstrDefExt
Definition: commdlg.h:376
HINSTANCE hInstance
Definition: commdlg.h:318
BOOL WINAPI ChooseColorA(LPCHOOSECOLORA)
Definition: colordlg.c:1325
BOOL WINAPI PageSetupDlgA(LPPAGESETUPDLGA)
Definition: printdlg.c:3911
LPOFNHOOKPROC lpfnHook
Definition: commdlg.h:347
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
Definition: mswsock.h:90
WORD wReplaceWithLen
Definition: commdlg.h:323
unsigned int BOOL
Definition: ntddk_ex.h:94
HDC hDC
Definition: commdlg.h:490
DWORD Flags
Definition: commdlg.h:306
LPCFHOOKPROC lpfnHook
Definition: commdlg.h:269
BOOL WINAPI PrintDlgA(LPPRINTDLGA)
Definition: printdlg.c:2240
LPCCHOOKPROC lpfnHook
Definition: commdlg.h:246
LPARAM lCustData
Definition: commdlg.h:324
struct _PSP * HPROPSHEETPAGE
Definition: mstask.idl:90
BOOL WINAPI GetSaveFileNameW(LPOPENFILENAMEW)
Definition: filedlg.c:4286
struct tagDEVNAMES DEVNAMES
WORD nMinPage
Definition: commdlg.h:494
DWORD lStructSize
Definition: commdlg.h:449
struct _OFNOTIFYEXA OFNOTIFYEXA
WORD wDeviceOffset
Definition: commdlg.h:298
LPVOID pidl
Definition: commdlg.h:421
BOOL WINAPI ChooseFontW(LPCHOOSEFONTW)
Definition: fontdlg.c:185
WORD nFileOffset
Definition: commdlg.h:374
LPLOGFONTW lpLogFont
Definition: commdlg.h:282
HGLOBAL hDevMode
Definition: commdlg.h:488
HGLOBAL hPageSetupTemplate
Definition: commdlg.h:462
WORD nCopies
Definition: commdlg.h:496
WORD nFromPage
Definition: commdlg.h:471
LPPAGESETUPHOOK lpfnPageSetupHook
Definition: commdlg.h:459
NMHDR hdr
Definition: commdlg.h:418
WORD wDriverOffset
Definition: commdlg.h:297
LONG_PTR LPARAM
Definition: windef.h:208
DWORD Flags
Definition: commdlg.h:319
LPPRINTHOOKPROC lpfnPrintHook
Definition: commdlg.h:499
struct _OFNOTIFYA OFNOTIFYA
DWORD lStructSize
Definition: commdlg.h:433
short WINAPI GetFileTitleA(LPCSTR, LPSTR, WORD)
Definition: filedlg.c:4311
POINT ptPaperSize
Definition: commdlg.h:454
HINSTANCE hInstance
Definition: commdlg.h:331
OPENFILENAMEA OPENFILENAME
Definition: commdlg.h:657
LPCWSTR lpTemplateName
Definition: commdlg.h:379
const char * LPCSTR
Definition: xmlstorage.h:183
LPPAGEPAINTHOOK lpfnPagePaintHook
Definition: commdlg.h:460
HGLOBAL hPageSetupTemplate
Definition: commdlg.h:446
LPPRINTHOOKPROC lpfnPrintHook
Definition: commdlg.h:478
DWORD lStructSize
Definition: commdlg.h:486
LPFRHOOKPROC lpfnHook
Definition: commdlg.h:325
LPARAM lCustData
Definition: commdlg.h:477
DWORD nFilterIndex
Definition: commdlg.h:366
LPOPENFILENAMEA lpOFN
Definition: commdlg.h:407
HWND hwndOwner
Definition: commdlg.h:450
LPCWSTR lpTemplateName
Definition: commdlg.h:258
OFNOTIFYA OFNOTIFY
Definition: commdlg.h:658
LPCWSTR lpPrintTemplateName
Definition: commdlg.h:501
HWND WINAPI ReplaceTextW(LPFINDREPLACEW)
Definition: finddlg.c:526
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
Definition: guiddef.h:64
DWORD Flags
Definition: commdlg.h:437
FINDREPLACEA FINDREPLACE
Definition: commdlg.h:656
CHOOSECOLORA * LPCHOOSECOLOR
Definition: commdlg.h:654
NMHDR hdr
Definition: commdlg.h:406
PAGESETUPDLGA * LPPAGESETUPDLG
Definition: commdlg.h:659
HWND WINAPI FindTextA(LPFINDREPLACEA)
Definition: finddlg.c:441
LPCWSTR lpstrTitle
Definition: commdlg.h:372
WORD nToPage
Definition: commdlg.h:493
HWND hwndOwner
Definition: commdlg.h:251
LONG HRESULT
Definition: typedefs.h:77
HINSTANCE hInstance
Definition: commdlg.h:441
DWORD rgbColors
Definition: commdlg.h:285
HWND hwndOwner
Definition: commdlg.h:304
DWORD COLORREF
Definition: windef.h:285
static LPCSTR DWORD void * pvReserved
Definition: str.c:196
LPCSTR lpstrInitialDir
Definition: commdlg.h:340
WORD ___MISSING_ALIGNMENT__
Definition: commdlg.h:292
LPPAGEPAINTHOOK lpfnPagePaintHook
Definition: commdlg.h:444
DWORD lStructSize
Definition: commdlg.h:329
#define WINAPI
Definition: msvc.h:8
__CDHOOKPROC LPPAGESETUPHOOK
Definition: commdlg.h:235
NMHDR hdr
Definition: commdlg.h:411
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned long DWORD
Definition: ntddk_ex.h:95
WORD wFindWhatLen
Definition: commdlg.h:322
HGLOBAL hDevMode
Definition: commdlg.h:467
DWORD nMaxFile
Definition: commdlg.h:368
struct tagCHOOSECOLORW CHOOSECOLORW
LPOPENFILENAMEW lpOFN
Definition: commdlg.h:412
HRESULT WINAPI PrintDlgExA(LPPRINTDLGEXA lppd)
Definition: printdlg.c:4022
LPARAM lCustData
Definition: commdlg.h:245
DWORD Flags
Definition: commdlg.h:284
LPSETUPHOOKPROC lpfnSetupHook
Definition: commdlg.h:500
LPCSTR lpTemplateName
Definition: commdlg.h:313
struct tagPSDA PAGESETUPDLGA
DWORD nMaxCustFilter
Definition: commdlg.h:334
BOOL WINAPI PageSetupDlgW(LPPAGESETUPDLGW)
Definition: printdlg.c:3926
HWND hInstance
Definition: commdlg.h:241
__CDHOOKPROC LPSETUPHOOKPROC
Definition: commdlg.h:236
LPCFHOOKPROC lpfnHook
Definition: commdlg.h:287
__CDHOOKPROC LPPAGEPAINTHOOK
Definition: commdlg.h:234
BOOL WINAPI ChooseFontA(LPCHOOSEFONTA)
Definition: fontdlg.c:239
LPSETUPHOOKPROC lpfnSetupHook
Definition: commdlg.h:479
HWND hwndOwner
Definition: commdlg.h:361
struct tagOFNW OPENFILENAMEW
HGLOBAL hDevMode
Definition: commdlg.h:451
POINT ptPaperSize
Definition: commdlg.h:438
__CDHOOKPROC LPCCHOOKPROC
Definition: commdlg.h:230
CHOOSEFONTA * LPCHOOSEFONT
Definition: commdlg.h:655
RECT rtMinMargin
Definition: commdlg.h:439
__CDHOOKPROC LPPRINTHOOKPROC
Definition: commdlg.h:237
PRINTDLGA * LPPRINTDLG
Definition: commdlg.h:660
struct _OFNOTIFYA * LPOFNOTIFYA
LPCSTR lpPrintTemplateName
Definition: commdlg.h:480
BOOL WINAPI GetOpenFileNameW(LPOPENFILENAMEW)
DWORD nMaxCustFilter
Definition: commdlg.h:365
#define DECLARE_INTERFACE_(i, b)
Definition: basetyps.h:78
WORD nFromPage
Definition: commdlg.h:492
HGLOBAL hPrintTemplate
Definition: commdlg.h:503
DWORD Flags
Definition: commdlg.h:266
HINSTANCE hInstance
Definition: commdlg.h:497
DWORD lStructSize
Definition: commdlg.h:279
LPVOID psf
Definition: commdlg.h:420
HWND WINAPI ReplaceTextA(LPFINDREPLACEA)
Definition: finddlg.c:464
NMHDR hdr
Definition: commdlg.h:426
LPVOID psf
Definition: commdlg.h:428
struct tagCHOOSECOLORW * LPCHOOSECOLORW
HWND hwndOwner
Definition: commdlg.h:466
short WINAPI GetFileTitleW(LPCWSTR, LPWSTR, WORD)
Definition: filedlg.c:4341
LPSTR lpstrReplaceWith
Definition: commdlg.h:308
LPWSTR lpstrReplaceWith
Definition: commdlg.h:321
OFNOTIFYA * LPOFNOTIFY
Definition: commdlg.h:658
LPARAM lCustData
Definition: commdlg.h:286
LPOPENFILENAMEW lpOFN
Definition: commdlg.h:427
struct tagPSDW PAGESETUPDLGW
COLORREF rgbResult
Definition: commdlg.h:253
static HDC hDC
Definition: 3dtext.c:33
DWORD lStructSize
Definition: commdlg.h:303
struct tagCHOOSEFONTW * LPCHOOSEFONTW
WORD nMaxPage
Definition: commdlg.h:495
LPOPENFILENAMEA lpOFN
Definition: commdlg.h:419
DWORD lStructSize
Definition: commdlg.h:239
HINSTANCE hInstance
Definition: commdlg.h:476
LPSTR lpstrFile
Definition: commdlg.h:336
HWND hwndOwner
Definition: commdlg.h:262
HINSTANCE hInstance
Definition: commdlg.h:271
BOOL WINAPI ChooseColorW(LPCHOOSECOLORW)
HGLOBAL hDevNames
Definition: commdlg.h:468
DWORD lStructSize
Definition: commdlg.h:316
LPCCHOOKPROC lpfnHook
Definition: commdlg.h:257
INT iPointSize
Definition: commdlg.h:265
DWORD Flags
Definition: commdlg.h:453
LPCSTR lpstrFilter
Definition: commdlg.h:332
WORD ___MISSING_ALIGNMENT__
Definition: commdlg.h:274
#define PURE
Definition: basetyps.h:64
HWND hwndOwner
Definition: commdlg.h:240
unsigned int UINT
Definition: ndis.h:50
struct tagPSDA * LPPAGESETUPDLGA
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
LPWSTR lpstrFileTitle
Definition: commdlg.h:369
HINSTANCE hInstance
Definition: commdlg.h:457
PAGESETUPDLGA PAGESETUPDLG
Definition: commdlg.h:659
DWORD lStructSize
Definition: commdlg.h:465
HINSTANCE hInstance
Definition: commdlg.h:289
BOOL WINAPI GetOpenFileNameA(LPOPENFILENAMEA)
HINSTANCE hInstance
Definition: commdlg.h:305
WORD nToPage
Definition: commdlg.h:472
LPCSTR lpstrTitle
Definition: commdlg.h:341
struct tagPDW PRINTDLGW
LPWSTR lpstrCustomFilter
Definition: commdlg.h:364
LPARAM lCustData
Definition: commdlg.h:442
struct tagCHOOSEFONTW CHOOSEFONTW
LPARAM lCustData
Definition: commdlg.h:256
unsigned int ULONG
Definition: retypes.h:1
LPCWSTR lpTemplateName
Definition: commdlg.h:326
PRINTDLGA PRINTDLG
Definition: commdlg.h:660
struct tagPDA PRINTDLGA
DWORD Flags
Definition: commdlg.h:470
DWORD WINAPI CommDlgExtendedError(void)
Definition: cdlg32.c:139
HGLOBAL hSetupTemplate
Definition: commdlg.h:483
struct tagPDA * LPPRINTDLGA
LPARAM lCustData
Definition: commdlg.h:498
LPWSTR pszFile
Definition: commdlg.h:413
LPARAM lCustData
Definition: commdlg.h:268
WORD wOutputOffset
Definition: commdlg.h:299
OPENFILENAMEA * LPOPENFILENAME
Definition: commdlg.h:657
DWORD nFilterIndex
Definition: commdlg.h:335
LPSTR lpszStyle
Definition: commdlg.h:272
__CDHOOKPROC LPOFNHOOKPROC
Definition: commdlg.h:233
struct FINDREPLACEW * LPFINDREPLACEW
WCHAR * LPWSTR
Definition: xmlstorage.h:184
LPPAGESETUPHOOK lpfnPageSetupHook
Definition: commdlg.h:443
HGLOBAL hDevNames
Definition: commdlg.h:436
LONG_PTR LRESULT
Definition: windef.h:209
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
HWND hwndOwner
Definition: commdlg.h:317
struct FINDREPLACEA * LPFINDREPLACEA
localAdvHdr Flags2
Definition: fsrtlfuncs.h:1692
struct tagCHOOSEFONTA * LPCHOOSEFONTA
HDC hDC
Definition: commdlg.h:469
COLORREF * lpCustColors
Definition: commdlg.h:243
struct tagOFNA * LPOPENFILENAMEA
struct tagCHOOSECOLORA * LPCHOOSECOLORA
struct _OFNOTIFYW OFNOTIFYW
LPWSTR lpszStyle
Definition: commdlg.h:290
DWORD nMaxFileTitle
Definition: commdlg.h:339
struct tagCHOOSEFONTA CHOOSEFONTA
WORD nFileOffset
Definition: commdlg.h:343
LPARAM lCustData
Definition: commdlg.h:377
DWORD Flags
Definition: commdlg.h:342
UINT_PTR(CALLBACK * __CDHOOKPROC)(HWND, UINT, WPARAM, LPARAM)
Definition: commdlg.h:229