ReactOS 0.4.15-dev-7788-g1ad9096
commdlg.h
Go to the documentation of this file.
1#ifndef _COMMDLG_H
2#define _COMMDLG_H
3
4#ifdef __cplusplus
5extern "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
238typedef struct tagCHOOSECOLORA {
249typedef struct tagCHOOSECOLORW {
260typedef struct tagCHOOSEFONTA {
278typedef struct tagCHOOSEFONTW {
296typedef struct tagDEVNAMES {
302typedef struct {
315typedef struct {
328typedef 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
359typedef 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
405typedef struct _OFNOTIFYA {
410typedef struct _OFNOTIFYW {
415
416typedef struct _OFNOTIFYEXA
417{
423
424typedef struct _OFNOTIFYEXW
425{
431
432typedef struct tagPSDA {
448typedef struct tagPSDW {
464typedef struct tagPDA {
485typedef struct tagPDW {
506#if (WINVER >= 0x0500) && !defined (__OBJC__)
507#include <prsht.h> /* for HPROPSHEETPAGE */
508typedef struct tagPRINTPAGERANGE {
509 DWORD nFromPage;
510 DWORD nToPage;
511} PRINTPAGERANGE, *LPPRINTPAGERANGE;
512typedef struct tagPDEXA {
513 DWORD lStructSize;
514 HWND hwndOwner;
515 HGLOBAL hDevMode;
516 HGLOBAL hDevNames;
517 HDC hDC;
518 DWORD Flags;
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;
535typedef struct tagPDEXW {
536 DWORD lStructSize;
537 HWND hwndOwner;
538 HGLOBAL hDevMode;
539 HGLOBAL hDevNames;
540 HDC hDC;
541 DWORD Flags;
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
562DEFINE_GUID(IID_IPrintDialogCallback, 0x5852a2c3,0x6530,0x11d1,0xb6,0xa3,0x00,0x00,0xf8,0x75,0x7b,0xf9);
563#define INTERFACE IPrintDialogCallback
564DECLARE_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
577DEFINE_GUID(IID_IPrintDialogServices, 0x509aaeda,0x5639,0x11d1,0xb6,0xa1,0x00,0x00,0xf8,0x75,0x7b,0xf9);
578#define INTERFACE IPrintDialogServices
579DECLARE_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__)
614HRESULT WINAPI PrintDlgExA(LPPRINTDLGEXA);
615HRESULT 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
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__)
643typedef 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__)
671typedef 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
static HDC hDC
Definition: 3dtext.c:33
#define DECLARE_INTERFACE_(i, b)
Definition: basetyps.h:78
#define PURE
Definition: basetyps.h:64
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
#define STDMETHOD(m)
Definition: basetyps.h:62
_In_ BOOLEAN Release
Definition: cdrom.h:920
HINSTANCE hInstance
Definition: charmap.c:19
struct tagCHOOSECOLORA * LPCHOOSECOLORA
struct FINDREPLACEW * LPFINDREPLACEW
BOOL WINAPI PrintDlgA(LPPRINTDLGA)
Definition: printdlg.c:2252
OFNOTIFYA * LPOFNOTIFY
Definition: commdlg.h:658
BOOL WINAPI PageSetupDlgA(LPPAGESETUPDLGA)
Definition: printdlg.c:3923
struct tagCHOOSECOLORA CHOOSECOLORA
struct tagCHOOSECOLORW * LPCHOOSECOLORW
__CDHOOKPROC LPFRHOOKPROC
Definition: commdlg.h:232
struct tagOFNW * LPOPENFILENAMEW
PAGESETUPDLGA PAGESETUPDLG
Definition: commdlg.h:659
__CDHOOKPROC LPCCHOOKPROC
Definition: commdlg.h:230
struct tagDEVNAMES * LPDEVNAMES
BOOL WINAPI PageSetupDlgW(LPPAGESETUPDLGW)
Definition: printdlg.c:3938
HWND WINAPI ReplaceTextA(LPFINDREPLACEA)
Definition: finddlg.c:486
HWND WINAPI FindTextW(LPFINDREPLACEW)
Definition: finddlg.c:514
PRINTDLGA * LPPRINTDLG
Definition: commdlg.h:660
CHOOSEFONTA CHOOSEFONT
Definition: commdlg.h:655
struct _OFNOTIFYEXW * LPOFNOTIFYEXW
CHOOSECOLORA CHOOSECOLOR
Definition: commdlg.h:654
struct tagPSDA PAGESETUPDLGA
struct tagPDA * LPPRINTDLGA
short WINAPI GetFileTitleA(LPCSTR, LPSTR, WORD)
Definition: filedlg.c:4826
UINT_PTR(CALLBACK * __CDHOOKPROC)(HWND, UINT, WPARAM, LPARAM)
Definition: commdlg.h:229
CHOOSEFONTA * LPCHOOSEFONT
Definition: commdlg.h:655
struct tagPDW * LPPRINTDLGW
PAGESETUPDLGA * LPPAGESETUPDLG
Definition: commdlg.h:659
struct _OFNOTIFYW OFNOTIFYW
struct _OFNOTIFYEXA * LPOFNOTIFYEXA
struct tagCHOOSECOLORW CHOOSECOLORW
__CDHOOKPROC LPPAGESETUPHOOK
Definition: commdlg.h:235
struct tagOFNA * LPOPENFILENAMEA
struct _OFNOTIFYEXA OFNOTIFYEXA
OFNOTIFYA OFNOTIFY
Definition: commdlg.h:658
__CDHOOKPROC LPOFNHOOKPROC
Definition: commdlg.h:233
struct tagPDA PRINTDLGA
BOOL WINAPI PrintDlgW(LPPRINTDLGW)
Definition: printdlg.c:2403
short WINAPI GetFileTitleW(LPCWSTR, LPWSTR, WORD)
Definition: filedlg.c:4856
struct tagOFNA OPENFILENAMEA
struct FINDREPLACEA * LPFINDREPLACEA
BOOL WINAPI ChooseColorA(LPCHOOSECOLORA)
Definition: colordlg.c:1363
__CDHOOKPROC LPSETUPHOOKPROC
Definition: commdlg.h:236
BOOL WINAPI GetSaveFileNameA(LPOPENFILENAMEA)
BOOL WINAPI GetSaveFileNameW(LPOPENFILENAMEW)
Definition: filedlg.c:4801
OPENFILENAMEA * LPOPENFILENAME
Definition: commdlg.h:657
struct _OFNOTIFYEXW OFNOTIFYEXW
FINDREPLACEA FINDREPLACE
Definition: commdlg.h:656
struct tagPSDW PAGESETUPDLGW
struct tagCHOOSEFONTA CHOOSEFONTA
FINDREPLACEA * LPFINDREPLACE
Definition: commdlg.h:656
struct tagCHOOSEFONTA * LPCHOOSEFONTA
BOOL WINAPI ChooseFontA(LPCHOOSEFONTA)
Definition: fontdlg.c:238
struct tagCHOOSEFONTW * LPCHOOSEFONTW
DWORD WINAPI CommDlgExtendedError(void)
Definition: cdlg32.c:148
__CDHOOKPROC LPCFHOOKPROC
Definition: commdlg.h:231
struct tagOFNW OPENFILENAMEW
BOOL WINAPI ChooseColorW(LPCHOOSECOLORW)
struct tagDEVNAMES DEVNAMES
PRINTDLGA PRINTDLG
Definition: commdlg.h:660
HWND WINAPI ReplaceTextW(LPFINDREPLACEW)
Definition: finddlg.c:548
BOOL WINAPI GetOpenFileNameW(LPOPENFILENAMEW)
struct tagCHOOSEFONTW CHOOSEFONTW
HWND WINAPI FindTextA(LPFINDREPLACEA)
Definition: finddlg.c:463
CHOOSECOLORA * LPCHOOSECOLOR
Definition: commdlg.h:654
struct tagPSDW * LPPAGESETUPDLGW
struct _OFNOTIFYA OFNOTIFYA
__CDHOOKPROC LPPRINTHOOKPROC
Definition: commdlg.h:237
__CDHOOKPROC LPPAGEPAINTHOOK
Definition: commdlg.h:234
struct tagPDW PRINTDLGW
BOOL WINAPI GetOpenFileNameA(LPOPENFILENAMEA)
BOOL WINAPI ChooseFontW(LPCHOOSEFONTW)
Definition: fontdlg.c:184
OPENFILENAMEA OPENFILENAME
Definition: commdlg.h:657
struct _OFNOTIFYA * LPOFNOTIFYA
struct _OFNOTIFYW * LPOFNOTIFYW
struct tagPSDA * LPPAGESETUPDLGA
HRESULT WINAPI PrintDlgExW(LPPRINTDLGEXW lppd)
Definition: printdlg.c:4185
HRESULT WINAPI PrintDlgExA(LPPRINTDLGEXA lppd)
Definition: printdlg.c:4034
HANDLE HWND
Definition: compat.h:19
#define CALLBACK
Definition: compat.h:35
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
localAdvHdr Flags2
Definition: fsrtlfuncs.h:1692
static HDC
Definition: imagelist.c:92
static LPCSTR DWORD void * pvReserved
Definition: str.c:196
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
struct _PSP * HPROPSHEETPAGE
Definition: mstask.idl:90
unsigned __int3264 UINT_PTR
Definition: mstsclib_h.h:274
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
Definition: mswsock.h:95
unsigned int UINT
Definition: ndis.h:50
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
Definition: guiddef.h:68
#define REFIID
Definition: guiddef.h:118
DWORD lStructSize
Definition: commdlg.h:303
LPSTR lpstrFindWhat
Definition: commdlg.h:307
HINSTANCE hInstance
Definition: commdlg.h:305
LPCSTR lpTemplateName
Definition: commdlg.h:313
LPSTR lpstrReplaceWith
Definition: commdlg.h:308
LPFRHOOKPROC lpfnHook
Definition: commdlg.h:312
LPARAM lCustData
Definition: commdlg.h:311
WORD wReplaceWithLen
Definition: commdlg.h:310
DWORD Flags
Definition: commdlg.h:306
WORD wFindWhatLen
Definition: commdlg.h:309
HWND hwndOwner
Definition: commdlg.h:304
DWORD Flags
Definition: commdlg.h:319
LPCWSTR lpTemplateName
Definition: commdlg.h:326
LPFRHOOKPROC lpfnHook
Definition: commdlg.h:325
HWND hwndOwner
Definition: commdlg.h:317
WORD wReplaceWithLen
Definition: commdlg.h:323
WORD wFindWhatLen
Definition: commdlg.h:322
LPWSTR lpstrReplaceWith
Definition: commdlg.h:321
DWORD lStructSize
Definition: commdlg.h:316
LPWSTR lpstrFindWhat
Definition: commdlg.h:320
HINSTANCE hInstance
Definition: commdlg.h:318
LPARAM lCustData
Definition: commdlg.h:324
NMHDR hdr
Definition: commdlg.h:406
LPOPENFILENAMEA lpOFN
Definition: commdlg.h:407
LPSTR pszFile
Definition: commdlg.h:408
LPVOID psf
Definition: commdlg.h:420
NMHDR hdr
Definition: commdlg.h:418
LPVOID pidl
Definition: commdlg.h:421
LPOPENFILENAMEA lpOFN
Definition: commdlg.h:419
LPVOID pidl
Definition: commdlg.h:429
LPVOID psf
Definition: commdlg.h:428
LPOPENFILENAMEW lpOFN
Definition: commdlg.h:427
NMHDR hdr
Definition: commdlg.h:426
NMHDR hdr
Definition: commdlg.h:411
LPWSTR pszFile
Definition: commdlg.h:413
LPOPENFILENAMEW lpOFN
Definition: commdlg.h:412
HWND hInstance
Definition: commdlg.h:241
COLORREF rgbResult
Definition: commdlg.h:242
HWND hwndOwner
Definition: commdlg.h:240
LPARAM lCustData
Definition: commdlg.h:245
COLORREF * lpCustColors
Definition: commdlg.h:243
LPCCHOOKPROC lpfnHook
Definition: commdlg.h:246
LPCSTR lpTemplateName
Definition: commdlg.h:247
DWORD lStructSize
Definition: commdlg.h:239
HWND hInstance
Definition: commdlg.h:252
HWND hwndOwner
Definition: commdlg.h:251
LPCCHOOKPROC lpfnHook
Definition: commdlg.h:257
LPARAM lCustData
Definition: commdlg.h:256
COLORREF * lpCustColors
Definition: commdlg.h:254
DWORD lStructSize
Definition: commdlg.h:250
COLORREF rgbResult
Definition: commdlg.h:253
LPCWSTR lpTemplateName
Definition: commdlg.h:258
LPCSTR lpTemplateName
Definition: commdlg.h:270
WORD ___MISSING_ALIGNMENT__
Definition: commdlg.h:274
HINSTANCE hInstance
Definition: commdlg.h:271
LPCFHOOKPROC lpfnHook
Definition: commdlg.h:269
INT iPointSize
Definition: commdlg.h:265
LPLOGFONTA lpLogFont
Definition: commdlg.h:264
DWORD lStructSize
Definition: commdlg.h:261
LPSTR lpszStyle
Definition: commdlg.h:272
HWND hwndOwner
Definition: commdlg.h:262
LPARAM lCustData
Definition: commdlg.h:268
WORD nFontType
Definition: commdlg.h:273
DWORD Flags
Definition: commdlg.h:266
DWORD rgbColors
Definition: commdlg.h:267
HINSTANCE hInstance
Definition: commdlg.h:289
LPWSTR lpszStyle
Definition: commdlg.h:290
DWORD Flags
Definition: commdlg.h:284
WORD ___MISSING_ALIGNMENT__
Definition: commdlg.h:292
INT iPointSize
Definition: commdlg.h:283
LPLOGFONTW lpLogFont
Definition: commdlg.h:282
LPCFHOOKPROC lpfnHook
Definition: commdlg.h:287
DWORD lStructSize
Definition: commdlg.h:279
HWND hwndOwner
Definition: commdlg.h:280
LPCWSTR lpTemplateName
Definition: commdlg.h:288
LPARAM lCustData
Definition: commdlg.h:286
WORD nFontType
Definition: commdlg.h:291
DWORD rgbColors
Definition: commdlg.h:285
WORD wDeviceOffset
Definition: commdlg.h:298
WORD wDriverOffset
Definition: commdlg.h:297
WORD wDefault
Definition: commdlg.h:300
WORD wOutputOffset
Definition: commdlg.h:299
LPARAM lCustData
Definition: commdlg.h:346
LPCSTR lpstrDefExt
Definition: commdlg.h:345
DWORD nMaxCustFilter
Definition: commdlg.h:334
LPSTR lpstrFileTitle
Definition: commdlg.h:338
LPCSTR lpTemplateName
Definition: commdlg.h:348
LPSTR lpstrCustomFilter
Definition: commdlg.h:333
DWORD nFilterIndex
Definition: commdlg.h:335
HWND hwndOwner
Definition: commdlg.h:330
LPCSTR lpstrTitle
Definition: commdlg.h:341
HINSTANCE hInstance
Definition: commdlg.h:331
WORD nFileExtension
Definition: commdlg.h:344
LPSTR lpstrFile
Definition: commdlg.h:336
DWORD nMaxFileTitle
Definition: commdlg.h:339
DWORD Flags
Definition: commdlg.h:342
WORD nFileOffset
Definition: commdlg.h:343
LPCSTR lpstrInitialDir
Definition: commdlg.h:340
LPOFNHOOKPROC lpfnHook
Definition: commdlg.h:347
DWORD lStructSize
Definition: commdlg.h:329
LPCSTR lpstrFilter
Definition: commdlg.h:332
DWORD nMaxFile
Definition: commdlg.h:337
HINSTANCE hInstance
Definition: commdlg.h:362
HWND hwndOwner
Definition: commdlg.h:361
DWORD Flags
Definition: commdlg.h:373
DWORD nMaxFileTitle
Definition: commdlg.h:370
WORD nFileExtension
Definition: commdlg.h:375
LPCWSTR lpTemplateName
Definition: commdlg.h:379
LPWSTR lpstrFile
Definition: commdlg.h:367
DWORD nMaxCustFilter
Definition: commdlg.h:365
LPCWSTR lpstrInitialDir
Definition: commdlg.h:371
LPOFNHOOKPROC lpfnHook
Definition: commdlg.h:378
WORD nFileOffset
Definition: commdlg.h:374
LPCWSTR lpstrTitle
Definition: commdlg.h:372
LPWSTR lpstrFileTitle
Definition: commdlg.h:369
LPWSTR lpstrCustomFilter
Definition: commdlg.h:364
LPCWSTR lpstrDefExt
Definition: commdlg.h:376
LPARAM lCustData
Definition: commdlg.h:377
DWORD lStructSize
Definition: commdlg.h:360
DWORD nMaxFile
Definition: commdlg.h:368
LPCWSTR lpstrFilter
Definition: commdlg.h:363
DWORD nFilterIndex
Definition: commdlg.h:366
WORD nMaxPage
Definition: commdlg.h:474
HGLOBAL hSetupTemplate
Definition: commdlg.h:483
HDC hDC
Definition: commdlg.h:469
DWORD Flags
Definition: commdlg.h:470
LPARAM lCustData
Definition: commdlg.h:477
LPCSTR lpPrintTemplateName
Definition: commdlg.h:480
HINSTANCE hInstance
Definition: commdlg.h:476
WORD nCopies
Definition: commdlg.h:475
HGLOBAL hPrintTemplate
Definition: commdlg.h:482
LPPRINTHOOKPROC lpfnPrintHook
Definition: commdlg.h:478
WORD nFromPage
Definition: commdlg.h:471
HGLOBAL hDevMode
Definition: commdlg.h:467
LPCSTR lpSetupTemplateName
Definition: commdlg.h:481
WORD nToPage
Definition: commdlg.h:472
WORD nMinPage
Definition: commdlg.h:473
HGLOBAL hDevNames
Definition: commdlg.h:468
LPSETUPHOOKPROC lpfnSetupHook
Definition: commdlg.h:479
HWND hwndOwner
Definition: commdlg.h:466
DWORD lStructSize
Definition: commdlg.h:465
HGLOBAL hSetupTemplate
Definition: commdlg.h:504
LPPRINTHOOKPROC lpfnPrintHook
Definition: commdlg.h:499
HGLOBAL hDevMode
Definition: commdlg.h:488
LPSETUPHOOKPROC lpfnSetupHook
Definition: commdlg.h:500
LPCWSTR lpPrintTemplateName
Definition: commdlg.h:501
DWORD Flags
Definition: commdlg.h:491
HWND hwndOwner
Definition: commdlg.h:487
HINSTANCE hInstance
Definition: commdlg.h:497
LPCWSTR lpSetupTemplateName
Definition: commdlg.h:502
WORD nToPage
Definition: commdlg.h:493
HGLOBAL hPrintTemplate
Definition: commdlg.h:503
HGLOBAL hDevNames
Definition: commdlg.h:489
WORD nMaxPage
Definition: commdlg.h:495
WORD nMinPage
Definition: commdlg.h:494
HDC hDC
Definition: commdlg.h:490
DWORD lStructSize
Definition: commdlg.h:486
WORD nCopies
Definition: commdlg.h:496
LPARAM lCustData
Definition: commdlg.h:498
WORD nFromPage
Definition: commdlg.h:492
RECT rtMargin
Definition: commdlg.h:440
HINSTANCE hInstance
Definition: commdlg.h:441
LPCSTR lpPageSetupTemplateName
Definition: commdlg.h:445
POINT ptPaperSize
Definition: commdlg.h:438
HGLOBAL hDevMode
Definition: commdlg.h:435
HGLOBAL hPageSetupTemplate
Definition: commdlg.h:446
DWORD Flags
Definition: commdlg.h:437
DWORD lStructSize
Definition: commdlg.h:433
LPPAGEPAINTHOOK lpfnPagePaintHook
Definition: commdlg.h:444
HGLOBAL hDevNames
Definition: commdlg.h:436
LPPAGESETUPHOOK lpfnPageSetupHook
Definition: commdlg.h:443
HWND hwndOwner
Definition: commdlg.h:434
LPARAM lCustData
Definition: commdlg.h:442
RECT rtMinMargin
Definition: commdlg.h:439
LPCWSTR lpPageSetupTemplateName
Definition: commdlg.h:461
HINSTANCE hInstance
Definition: commdlg.h:457
HGLOBAL hDevNames
Definition: commdlg.h:452
LPPAGEPAINTHOOK lpfnPagePaintHook
Definition: commdlg.h:460
LPPAGESETUPHOOK lpfnPageSetupHook
Definition: commdlg.h:459
RECT rtMinMargin
Definition: commdlg.h:455
POINT ptPaperSize
Definition: commdlg.h:454
DWORD lStructSize
Definition: commdlg.h:449
RECT rtMargin
Definition: commdlg.h:456
DWORD Flags
Definition: commdlg.h:453
LPARAM lCustData
Definition: commdlg.h:458
HWND hwndOwner
Definition: commdlg.h:450
HGLOBAL hPageSetupTemplate
Definition: commdlg.h:462
HGLOBAL hDevMode
Definition: commdlg.h:451
int32_t INT
Definition: typedefs.h:58
uint32_t ULONG
Definition: typedefs.h:59
LONG_PTR LPARAM
Definition: windef.h:208
LONG_PTR LRESULT
Definition: windef.h:209
UINT_PTR WPARAM
Definition: windef.h:207
DWORD COLORREF
Definition: windef.h:300
#define WINAPI
Definition: msvc.h:6
struct _devicemodeW * LPDEVMODEW
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
const char * LPCSTR
Definition: xmlstorage.h:183
char * LPSTR
Definition: xmlstorage.h:182
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185