Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Win32/UI/Controls/Dialogs/mod.rs

raw
1 #[cfg(feature = "Win32_Foundation")]
2 ::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ChooseColorA(param0 : *mut CHOOSECOLORA) -> super::super::super::Foundation:: BOOL);
3 #[cfg(feature = "Win32_Foundation")]
4 ::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ChooseColorW(param0 : *mut CHOOSECOLORW) -> super::super::super::Foundation:: BOOL);
5 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
6 ::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn ChooseFontA(param0 : *mut CHOOSEFONTA) -> super::super::super::Foundation:: BOOL);
7 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
8 ::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn ChooseFontW(param0 : *mut CHOOSEFONTW) -> super::super::super::Foundation:: BOOL);
9 ::windows_targets::link!("comdlg32.dll" "system" fn CommDlgExtendedError() -> COMMON_DLG_ERRORS);
10 #[cfg(feature = "Win32_Foundation")]
11 ::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindTextA(param0 : *mut FINDREPLACEA) -> super::super::super::Foundation:: HWND);
12 #[cfg(feature = "Win32_Foundation")]
13 ::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindTextW(param0 : *mut FINDREPLACEW) -> super::super::super::Foundation:: HWND);
14 ::windows_targets::link!("comdlg32.dll" "system" fn GetFileTitleA(param0 : ::windows_sys::core::PCSTR, buf : ::windows_sys::core::PSTR, cchsize : u16) -> i16);
15 ::windows_targets::link!("comdlg32.dll" "system" fn GetFileTitleW(param0 : ::windows_sys::core::PCWSTR, buf : ::windows_sys::core::PWSTR, cchsize : u16) -> i16);
16 #[cfg(feature = "Win32_Foundation")]
17 ::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetOpenFileNameA(param0 : *mut OPENFILENAMEA) -> super::super::super::Foundation:: BOOL);
18 #[cfg(feature = "Win32_Foundation")]
19 ::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetOpenFileNameW(param0 : *mut OPENFILENAMEW) -> super::super::super::Foundation:: BOOL);
20 #[cfg(feature = "Win32_Foundation")]
21 ::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSaveFileNameA(param0 : *mut OPENFILENAMEA) -> super::super::super::Foundation:: BOOL);
22 #[cfg(feature = "Win32_Foundation")]
23 ::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSaveFileNameW(param0 : *mut OPENFILENAMEW) -> super::super::super::Foundation:: BOOL);
24 #[cfg(feature = "Win32_Foundation")]
25 ::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PageSetupDlgA(param0 : *mut PAGESETUPDLGA) -> super::super::super::Foundation:: BOOL);
26 #[cfg(feature = "Win32_Foundation")]
27 ::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PageSetupDlgW(param0 : *mut PAGESETUPDLGW) -> super::super::super::Foundation:: BOOL);
28 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
29 ::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn PrintDlgA(ppd : *mut PRINTDLGA) -> super::super::super::Foundation:: BOOL);
30 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
31 ::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn PrintDlgExA(ppd : *mut PRINTDLGEXA) -> ::windows_sys::core::HRESULT);
32 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
33 ::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn PrintDlgExW(ppd : *mut PRINTDLGEXW) -> ::windows_sys::core::HRESULT);
34 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
35 ::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn PrintDlgW(ppd : *mut PRINTDLGW) -> super::super::super::Foundation:: BOOL);
36 #[cfg(feature = "Win32_Foundation")]
37 ::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReplaceTextA(param0 : *mut FINDREPLACEA) -> super::super::super::Foundation:: HWND);
38 #[cfg(feature = "Win32_Foundation")]
39 ::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReplaceTextW(param0 : *mut FINDREPLACEW) -> super::super::super::Foundation:: HWND);
40 pub type IPrintDialogCallback = *mut ::core::ffi::c_void;
41 pub type IPrintDialogServices = *mut ::core::ffi::c_void;
42 pub const BOLD_FONTTYPE: CHOOSEFONT_FONT_TYPE = 256u16;
43 pub const CCERR_CHOOSECOLORCODES: COMMON_DLG_ERRORS = 20480u32;
44 pub const CC_ANYCOLOR: CHOOSECOLOR_FLAGS = 256u32;
45 pub const CC_ENABLEHOOK: CHOOSECOLOR_FLAGS = 16u32;
46 pub const CC_ENABLETEMPLATE: CHOOSECOLOR_FLAGS = 32u32;
47 pub const CC_ENABLETEMPLATEHANDLE: CHOOSECOLOR_FLAGS = 64u32;
48 pub const CC_FULLOPEN: CHOOSECOLOR_FLAGS = 2u32;
49 pub const CC_PREVENTFULLOPEN: CHOOSECOLOR_FLAGS = 4u32;
50 pub const CC_RGBINIT: CHOOSECOLOR_FLAGS = 1u32;
51 pub const CC_SHOWHELP: CHOOSECOLOR_FLAGS = 8u32;
52 pub const CC_SOLIDCOLOR: CHOOSECOLOR_FLAGS = 128u32;
53 pub const CDERR_DIALOGFAILURE: COMMON_DLG_ERRORS = 65535u32;
54 pub const CDERR_FINDRESFAILURE: COMMON_DLG_ERRORS = 6u32;
55 pub const CDERR_GENERALCODES: COMMON_DLG_ERRORS = 0u32;
56 pub const CDERR_INITIALIZATION: COMMON_DLG_ERRORS = 2u32;
57 pub const CDERR_LOADRESFAILURE: COMMON_DLG_ERRORS = 7u32;
58 pub const CDERR_LOADSTRFAILURE: COMMON_DLG_ERRORS = 5u32;
59 pub const CDERR_LOCKRESFAILURE: COMMON_DLG_ERRORS = 8u32;
60 pub const CDERR_MEMALLOCFAILURE: COMMON_DLG_ERRORS = 9u32;
61 pub const CDERR_MEMLOCKFAILURE: COMMON_DLG_ERRORS = 10u32;
62 pub const CDERR_NOHINSTANCE: COMMON_DLG_ERRORS = 4u32;
63 pub const CDERR_NOHOOK: COMMON_DLG_ERRORS = 11u32;
64 pub const CDERR_NOTEMPLATE: COMMON_DLG_ERRORS = 3u32;
65 pub const CDERR_REGISTERMSGFAIL: COMMON_DLG_ERRORS = 12u32;
66 pub const CDERR_STRUCTSIZE: COMMON_DLG_ERRORS = 1u32;
67 pub const CDM_FIRST: u32 = 1124u32;
68 pub const CDM_GETFILEPATH: u32 = 1125u32;
69 pub const CDM_GETFOLDERIDLIST: u32 = 1127u32;
70 pub const CDM_GETFOLDERPATH: u32 = 1126u32;
71 pub const CDM_GETSPEC: u32 = 1124u32;
72 pub const CDM_HIDECONTROL: u32 = 1129u32;
73 pub const CDM_LAST: u32 = 1224u32;
74 pub const CDM_SETCONTROLTEXT: u32 = 1128u32;
75 pub const CDM_SETDEFEXT: u32 = 1130u32;
76 pub const CDN_FILEOK: u32 = 4294966690u32;
77 pub const CDN_FOLDERCHANGE: u32 = 4294966693u32;
78 pub const CDN_HELP: u32 = 4294966691u32;
79 pub const CDN_INCLUDEITEM: u32 = 4294966688u32;
80 pub const CDN_INITDONE: u32 = 4294966695u32;
81 pub const CDN_SELCHANGE: u32 = 4294966694u32;
82 pub const CDN_SHAREVIOLATION: u32 = 4294966692u32;
83 pub const CDN_TYPECHANGE: u32 = 4294966689u32;
84 pub const CD_LBSELADD: u32 = 2u32;
85 pub const CD_LBSELCHANGE: u32 = 0u32;
86 pub const CD_LBSELNOITEMS: i32 = -1i32;
87 pub const CD_LBSELSUB: u32 = 1u32;
88 pub const CFERR_CHOOSEFONTCODES: COMMON_DLG_ERRORS = 8192u32;
89 pub const CFERR_MAXLESSTHANMIN: COMMON_DLG_ERRORS = 8194u32;
90 pub const CFERR_NOFONTS: COMMON_DLG_ERRORS = 8193u32;
91 pub const CF_ANSIONLY: CHOOSEFONT_FLAGS = 1024u32;
92 pub const CF_APPLY: CHOOSEFONT_FLAGS = 512u32;
93 pub const CF_BOTH: CHOOSEFONT_FLAGS = 3u32;
94 pub const CF_EFFECTS: CHOOSEFONT_FLAGS = 256u32;
95 pub const CF_ENABLEHOOK: CHOOSEFONT_FLAGS = 8u32;
96 pub const CF_ENABLETEMPLATE: CHOOSEFONT_FLAGS = 16u32;
97 pub const CF_ENABLETEMPLATEHANDLE: CHOOSEFONT_FLAGS = 32u32;
98 pub const CF_FIXEDPITCHONLY: CHOOSEFONT_FLAGS = 16384u32;
99 pub const CF_FORCEFONTEXIST: CHOOSEFONT_FLAGS = 65536u32;
100 pub const CF_INACTIVEFONTS: CHOOSEFONT_FLAGS = 33554432u32;
101 pub const CF_INITTOLOGFONTSTRUCT: CHOOSEFONT_FLAGS = 64u32;
102 pub const CF_LIMITSIZE: CHOOSEFONT_FLAGS = 8192u32;
103 pub const CF_NOFACESEL: CHOOSEFONT_FLAGS = 524288u32;
104 pub const CF_NOOEMFONTS: CHOOSEFONT_FLAGS = 2048u32;
105 pub const CF_NOSCRIPTSEL: CHOOSEFONT_FLAGS = 8388608u32;
106 pub const CF_NOSIMULATIONS: CHOOSEFONT_FLAGS = 4096u32;
107 pub const CF_NOSIZESEL: CHOOSEFONT_FLAGS = 2097152u32;
108 pub const CF_NOSTYLESEL: CHOOSEFONT_FLAGS = 1048576u32;
109 pub const CF_NOVECTORFONTS: CHOOSEFONT_FLAGS = 2048u32;
110 pub const CF_NOVERTFONTS: CHOOSEFONT_FLAGS = 16777216u32;
111 pub const CF_PRINTERFONTS: CHOOSEFONT_FLAGS = 2u32;
112 pub const CF_SCALABLEONLY: CHOOSEFONT_FLAGS = 131072u32;
113 pub const CF_SCREENFONTS: CHOOSEFONT_FLAGS = 1u32;
114 pub const CF_SCRIPTSONLY: CHOOSEFONT_FLAGS = 1024u32;
115 pub const CF_SELECTSCRIPT: CHOOSEFONT_FLAGS = 4194304u32;
116 pub const CF_SHOWHELP: CHOOSEFONT_FLAGS = 4u32;
117 pub const CF_TTONLY: CHOOSEFONT_FLAGS = 262144u32;
118 pub const CF_USESTYLE: CHOOSEFONT_FLAGS = 128u32;
119 pub const CF_WYSIWYG: CHOOSEFONT_FLAGS = 32768u32;
120 pub const COLOROKSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_ColorOK");
121 pub const COLOROKSTRINGA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("commdlg_ColorOK");
122 pub const COLOROKSTRINGW: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_ColorOK");
123 pub const COLOR_ADD: u32 = 712u32;
124 pub const COLOR_BLUE: u32 = 708u32;
125 pub const COLOR_BLUEACCEL: u32 = 728u32;
126 pub const COLOR_BOX1: u32 = 720u32;
127 pub const COLOR_CURRENT: u32 = 709u32;
128 pub const COLOR_CUSTOM1: u32 = 721u32;
129 pub const COLOR_ELEMENT: u32 = 716u32;
130 pub const COLOR_GREEN: u32 = 707u32;
131 pub const COLOR_GREENACCEL: u32 = 727u32;
132 pub const COLOR_HUE: u32 = 703u32;
133 pub const COLOR_HUEACCEL: u32 = 723u32;
134 pub const COLOR_HUESCROLL: u32 = 700u32;
135 pub const COLOR_LUM: u32 = 705u32;
136 pub const COLOR_LUMACCEL: u32 = 725u32;
137 pub const COLOR_LUMSCROLL: u32 = 702u32;
138 pub const COLOR_MIX: u32 = 719u32;
139 pub const COLOR_PALETTE: u32 = 718u32;
140 pub const COLOR_RAINBOW: u32 = 710u32;
141 pub const COLOR_RED: u32 = 706u32;
142 pub const COLOR_REDACCEL: u32 = 726u32;
143 pub const COLOR_SAMPLES: u32 = 717u32;
144 pub const COLOR_SAT: u32 = 704u32;
145 pub const COLOR_SATACCEL: u32 = 724u32;
146 pub const COLOR_SATSCROLL: u32 = 701u32;
147 pub const COLOR_SAVE: u32 = 711u32;
148 pub const COLOR_SCHEMES: u32 = 715u32;
149 pub const COLOR_SOLID: u32 = 713u32;
150 pub const COLOR_SOLID_LEFT: u32 = 730u32;
151 pub const COLOR_SOLID_RIGHT: u32 = 731u32;
152 pub const COLOR_TUNE: u32 = 714u32;
153 pub const DLG_COLOR: u32 = 10u32;
154 pub const DN_DEFAULTPRN: u32 = 1u32;
155 pub const FILEOKSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_FileNameOK");
156 pub const FILEOKSTRINGA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("commdlg_FileNameOK");
157 pub const FILEOKSTRINGW: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_FileNameOK");
158 pub const FINDMSGSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_FindReplace");
159 pub const FINDMSGSTRINGA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("commdlg_FindReplace");
160 pub const FINDMSGSTRINGW: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_FindReplace");
161 pub const FNERR_BUFFERTOOSMALL: COMMON_DLG_ERRORS = 12291u32;
162 pub const FNERR_FILENAMECODES: COMMON_DLG_ERRORS = 12288u32;
163 pub const FNERR_INVALIDFILENAME: COMMON_DLG_ERRORS = 12290u32;
164 pub const FNERR_SUBCLASSFAILURE: COMMON_DLG_ERRORS = 12289u32;
165 pub const FRERR_BUFFERLENGTHZERO: COMMON_DLG_ERRORS = 16385u32;
166 pub const FRERR_FINDREPLACECODES: COMMON_DLG_ERRORS = 16384u32;
167 pub const FRM_FIRST: u32 = 1124u32;
168 pub const FRM_LAST: u32 = 1224u32;
169 pub const FRM_SETOPERATIONRESULT: u32 = 1124u32;
170 pub const FRM_SETOPERATIONRESULTTEXT: u32 = 1125u32;
171 pub const FR_DIALOGTERM: FINDREPLACE_FLAGS = 64u32;
172 pub const FR_DOWN: FINDREPLACE_FLAGS = 1u32;
173 pub const FR_ENABLEHOOK: FINDREPLACE_FLAGS = 256u32;
174 pub const FR_ENABLETEMPLATE: FINDREPLACE_FLAGS = 512u32;
175 pub const FR_ENABLETEMPLATEHANDLE: FINDREPLACE_FLAGS = 8192u32;
176 pub const FR_FINDNEXT: FINDREPLACE_FLAGS = 8u32;
177 pub const FR_HIDEMATCHCASE: FINDREPLACE_FLAGS = 32768u32;
178 pub const FR_HIDEUPDOWN: FINDREPLACE_FLAGS = 16384u32;
179 pub const FR_HIDEWHOLEWORD: FINDREPLACE_FLAGS = 65536u32;
180 pub const FR_MATCHALEFHAMZA: FINDREPLACE_FLAGS = 2147483648u32;
181 pub const FR_MATCHCASE: FINDREPLACE_FLAGS = 4u32;
182 pub const FR_MATCHDIAC: FINDREPLACE_FLAGS = 536870912u32;
183 pub const FR_MATCHKASHIDA: FINDREPLACE_FLAGS = 1073741824u32;
184 pub const FR_NOMATCHCASE: FINDREPLACE_FLAGS = 2048u32;
185 pub const FR_NOUPDOWN: FINDREPLACE_FLAGS = 1024u32;
186 pub const FR_NOWHOLEWORD: FINDREPLACE_FLAGS = 4096u32;
187 pub const FR_NOWRAPAROUND: FINDREPLACE_FLAGS = 524288u32;
188 pub const FR_RAW: FINDREPLACE_FLAGS = 131072u32;
189 pub const FR_REPLACE: FINDREPLACE_FLAGS = 16u32;
190 pub const FR_REPLACEALL: FINDREPLACE_FLAGS = 32u32;
191 pub const FR_SHOWHELP: FINDREPLACE_FLAGS = 128u32;
192 pub const FR_SHOWWRAPAROUND: FINDREPLACE_FLAGS = 262144u32;
193 pub const FR_WHOLEWORD: FINDREPLACE_FLAGS = 2u32;
194 pub const FR_WRAPAROUND: FINDREPLACE_FLAGS = 1048576u32;
195 pub const HELPMSGSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_help");
196 pub const HELPMSGSTRINGA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("commdlg_help");
197 pub const HELPMSGSTRINGW: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_help");
198 pub const ITALIC_FONTTYPE: CHOOSEFONT_FONT_TYPE = 512u16;
199 pub const LBSELCHSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_LBSelChangedNotify");
200 pub const LBSELCHSTRINGA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("commdlg_LBSelChangedNotify");
201 pub const LBSELCHSTRINGW: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_LBSelChangedNotify");
202 pub const NUM_BASIC_COLORS: u32 = 48u32;
203 pub const NUM_CUSTOM_COLORS: u32 = 16u32;
204 pub const OFN_ALLOWMULTISELECT: OPEN_FILENAME_FLAGS = 512u32;
205 pub const OFN_CREATEPROMPT: OPEN_FILENAME_FLAGS = 8192u32;
206 pub const OFN_DONTADDTORECENT: OPEN_FILENAME_FLAGS = 33554432u32;
207 pub const OFN_ENABLEHOOK: OPEN_FILENAME_FLAGS = 32u32;
208 pub const OFN_ENABLEINCLUDENOTIFY: OPEN_FILENAME_FLAGS = 4194304u32;
209 pub const OFN_ENABLESIZING: OPEN_FILENAME_FLAGS = 8388608u32;
210 pub const OFN_ENABLETEMPLATE: OPEN_FILENAME_FLAGS = 64u32;
211 pub const OFN_ENABLETEMPLATEHANDLE: OPEN_FILENAME_FLAGS = 128u32;
212 pub const OFN_EXPLORER: OPEN_FILENAME_FLAGS = 524288u32;
213 pub const OFN_EXTENSIONDIFFERENT: OPEN_FILENAME_FLAGS = 1024u32;
214 pub const OFN_EX_NONE: OPEN_FILENAME_FLAGS_EX = 0u32;
215 pub const OFN_EX_NOPLACESBAR: OPEN_FILENAME_FLAGS_EX = 1u32;
216 pub const OFN_FILEMUSTEXIST: OPEN_FILENAME_FLAGS = 4096u32;
217 pub const OFN_FORCESHOWHIDDEN: OPEN_FILENAME_FLAGS = 268435456u32;
218 pub const OFN_HIDEREADONLY: OPEN_FILENAME_FLAGS = 4u32;
219 pub const OFN_LONGNAMES: OPEN_FILENAME_FLAGS = 2097152u32;
220 pub const OFN_NOCHANGEDIR: OPEN_FILENAME_FLAGS = 8u32;
221 pub const OFN_NODEREFERENCELINKS: OPEN_FILENAME_FLAGS = 1048576u32;
222 pub const OFN_NOLONGNAMES: OPEN_FILENAME_FLAGS = 262144u32;
223 pub const OFN_NONETWORKBUTTON: OPEN_FILENAME_FLAGS = 131072u32;
224 pub const OFN_NOREADONLYRETURN: OPEN_FILENAME_FLAGS = 32768u32;
225 pub const OFN_NOTESTFILECREATE: OPEN_FILENAME_FLAGS = 65536u32;
226 pub const OFN_NOVALIDATE: OPEN_FILENAME_FLAGS = 256u32;
227 pub const OFN_OVERWRITEPROMPT: OPEN_FILENAME_FLAGS = 2u32;
228 pub const OFN_PATHMUSTEXIST: OPEN_FILENAME_FLAGS = 2048u32;
229 pub const OFN_READONLY: OPEN_FILENAME_FLAGS = 1u32;
230 pub const OFN_SHAREAWARE: OPEN_FILENAME_FLAGS = 16384u32;
231 pub const OFN_SHAREFALLTHROUGH: u32 = 2u32;
232 pub const OFN_SHARENOWARN: u32 = 1u32;
233 pub const OFN_SHAREWARN: u32 = 0u32;
234 pub const OFN_SHOWHELP: OPEN_FILENAME_FLAGS = 16u32;
235 pub const PDERR_CREATEICFAILURE: COMMON_DLG_ERRORS = 4106u32;
236 pub const PDERR_DEFAULTDIFFERENT: COMMON_DLG_ERRORS = 4108u32;
237 pub const PDERR_DNDMMISMATCH: COMMON_DLG_ERRORS = 4105u32;
238 pub const PDERR_GETDEVMODEFAIL: COMMON_DLG_ERRORS = 4101u32;
239 pub const PDERR_INITFAILURE: COMMON_DLG_ERRORS = 4102u32;
240 pub const PDERR_LOADDRVFAILURE: COMMON_DLG_ERRORS = 4100u32;
241 pub const PDERR_NODEFAULTPRN: COMMON_DLG_ERRORS = 4104u32;
242 pub const PDERR_NODEVICES: COMMON_DLG_ERRORS = 4103u32;
243 pub const PDERR_PARSEFAILURE: COMMON_DLG_ERRORS = 4098u32;
244 pub const PDERR_PRINTERCODES: COMMON_DLG_ERRORS = 4096u32;
245 pub const PDERR_PRINTERNOTFOUND: COMMON_DLG_ERRORS = 4107u32;
246 pub const PDERR_RETDEFFAILURE: COMMON_DLG_ERRORS = 4099u32;
247 pub const PDERR_SETUPFAILURE: COMMON_DLG_ERRORS = 4097u32;
248 pub const PD_ALLPAGES: PRINTDLGEX_FLAGS = 0u32;
249 pub const PD_COLLATE: PRINTDLGEX_FLAGS = 16u32;
250 pub const PD_CURRENTPAGE: PRINTDLGEX_FLAGS = 4194304u32;
251 pub const PD_DISABLEPRINTTOFILE: PRINTDLGEX_FLAGS = 524288u32;
252 pub const PD_ENABLEPRINTHOOK: PRINTDLGEX_FLAGS = 4096u32;
253 pub const PD_ENABLEPRINTTEMPLATE: PRINTDLGEX_FLAGS = 16384u32;
254 pub const PD_ENABLEPRINTTEMPLATEHANDLE: PRINTDLGEX_FLAGS = 65536u32;
255 pub const PD_ENABLESETUPHOOK: PRINTDLGEX_FLAGS = 8192u32;
256 pub const PD_ENABLESETUPTEMPLATE: PRINTDLGEX_FLAGS = 32768u32;
257 pub const PD_ENABLESETUPTEMPLATEHANDLE: PRINTDLGEX_FLAGS = 131072u32;
258 pub const PD_EXCLUSIONFLAGS: PRINTDLGEX_FLAGS = 16777216u32;
259 pub const PD_HIDEPRINTTOFILE: PRINTDLGEX_FLAGS = 1048576u32;
260 pub const PD_NOCURRENTPAGE: PRINTDLGEX_FLAGS = 8388608u32;
261 pub const PD_NONETWORKBUTTON: PRINTDLGEX_FLAGS = 2097152u32;
262 pub const PD_NOPAGENUMS: PRINTDLGEX_FLAGS = 8u32;
263 pub const PD_NOSELECTION: PRINTDLGEX_FLAGS = 4u32;
264 pub const PD_NOWARNING: PRINTDLGEX_FLAGS = 128u32;
265 pub const PD_PAGENUMS: PRINTDLGEX_FLAGS = 2u32;
266 pub const PD_PRINTSETUP: PRINTDLGEX_FLAGS = 64u32;
267 pub const PD_PRINTTOFILE: PRINTDLGEX_FLAGS = 32u32;
268 pub const PD_RESULT_APPLY: u32 = 2u32;
269 pub const PD_RESULT_CANCEL: u32 = 0u32;
270 pub const PD_RESULT_PRINT: u32 = 1u32;
271 pub const PD_RETURNDC: PRINTDLGEX_FLAGS = 256u32;
272 pub const PD_RETURNDEFAULT: PRINTDLGEX_FLAGS = 1024u32;
273 pub const PD_RETURNIC: PRINTDLGEX_FLAGS = 512u32;
274 pub const PD_SELECTION: PRINTDLGEX_FLAGS = 1u32;
275 pub const PD_SHOWHELP: PRINTDLGEX_FLAGS = 2048u32;
276 pub const PD_USEDEVMODECOPIES: PRINTDLGEX_FLAGS = 262144u32;
277 pub const PD_USEDEVMODECOPIESANDCOLLATE: PRINTDLGEX_FLAGS = 262144u32;
278 pub const PD_USELARGETEMPLATE: PRINTDLGEX_FLAGS = 268435456u32;
279 pub const PRINTER_FONTTYPE: CHOOSEFONT_FONT_TYPE = 16384u16;
280 pub const PSD_DEFAULTMINMARGINS: PAGESETUPDLG_FLAGS = 0u32;
281 pub const PSD_DISABLEMARGINS: PAGESETUPDLG_FLAGS = 16u32;
282 pub const PSD_DISABLEORIENTATION: PAGESETUPDLG_FLAGS = 256u32;
283 pub const PSD_DISABLEPAGEPAINTING: PAGESETUPDLG_FLAGS = 524288u32;
284 pub const PSD_DISABLEPAPER: PAGESETUPDLG_FLAGS = 512u32;
285 pub const PSD_DISABLEPRINTER: PAGESETUPDLG_FLAGS = 32u32;
286 pub const PSD_ENABLEPAGEPAINTHOOK: PAGESETUPDLG_FLAGS = 262144u32;
287 pub const PSD_ENABLEPAGESETUPHOOK: PAGESETUPDLG_FLAGS = 8192u32;
288 pub const PSD_ENABLEPAGESETUPTEMPLATE: PAGESETUPDLG_FLAGS = 32768u32;
289 pub const PSD_ENABLEPAGESETUPTEMPLATEHANDLE: PAGESETUPDLG_FLAGS = 131072u32;
290 pub const PSD_INHUNDREDTHSOFMILLIMETERS: PAGESETUPDLG_FLAGS = 8u32;
291 pub const PSD_INTHOUSANDTHSOFINCHES: PAGESETUPDLG_FLAGS = 4u32;
292 pub const PSD_INWININIINTLMEASURE: PAGESETUPDLG_FLAGS = 0u32;
293 pub const PSD_MARGINS: PAGESETUPDLG_FLAGS = 2u32;
294 pub const PSD_MINMARGINS: PAGESETUPDLG_FLAGS = 1u32;
295 pub const PSD_NONETWORKBUTTON: PAGESETUPDLG_FLAGS = 2097152u32;
296 pub const PSD_NOWARNING: PAGESETUPDLG_FLAGS = 128u32;
297 pub const PSD_RETURNDEFAULT: PAGESETUPDLG_FLAGS = 1024u32;
298 pub const PSD_SHOWHELP: PAGESETUPDLG_FLAGS = 2048u32;
299 pub const PS_OPENTYPE_FONTTYPE: u32 = 65536u32;
300 pub const REGULAR_FONTTYPE: CHOOSEFONT_FONT_TYPE = 1024u16;
301 pub const SCREEN_FONTTYPE: CHOOSEFONT_FONT_TYPE = 8192u16;
302 pub const SETRGBSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_SetRGBColor");
303 pub const SETRGBSTRINGA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("commdlg_SetRGBColor");
304 pub const SETRGBSTRINGW: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_SetRGBColor");
305 pub const SHAREVISTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_ShareViolation");
306 pub const SHAREVISTRINGA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("commdlg_ShareViolation");
307 pub const SHAREVISTRINGW: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_ShareViolation");
308 pub const SIMULATED_FONTTYPE: CHOOSEFONT_FONT_TYPE = 32768u16;
309 pub const START_PAGE_GENERAL: u32 = 4294967295u32;
310 pub const SYMBOL_FONTTYPE: u32 = 524288u32;
311 pub const TT_OPENTYPE_FONTTYPE: u32 = 131072u32;
312 pub const TYPE1_FONTTYPE: u32 = 262144u32;
313 pub const WM_CHOOSEFONT_GETLOGFONT: u32 = 1025u32;
314 pub const WM_CHOOSEFONT_SETFLAGS: u32 = 1126u32;
315 pub const WM_CHOOSEFONT_SETLOGFONT: u32 = 1125u32;
316 pub const WM_PSD_ENVSTAMPRECT: u32 = 1029u32;
317 pub const WM_PSD_FULLPAGERECT: u32 = 1025u32;
318 pub const WM_PSD_GREEKTEXTRECT: u32 = 1028u32;
319 pub const WM_PSD_MARGINRECT: u32 = 1027u32;
320 pub const WM_PSD_MINMARGINRECT: u32 = 1026u32;
321 pub const WM_PSD_YAFULLPAGERECT: u32 = 1030u32;
322 pub type CHOOSECOLOR_FLAGS = u32;
323 pub type CHOOSEFONT_FLAGS = u32;
324 pub type CHOOSEFONT_FONT_TYPE = u16;
325 pub type COMMON_DLG_ERRORS = u32;
326 pub type FINDREPLACE_FLAGS = u32;
327 pub type OPEN_FILENAME_FLAGS = u32;
328 pub type OPEN_FILENAME_FLAGS_EX = u32;
329 pub type PAGESETUPDLG_FLAGS = u32;
330 pub type PRINTDLGEX_FLAGS = u32;
331 #[repr(C)]
332 #[doc = "Required features: `\"Win32_Foundation\"`"]
333 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
334 #[cfg(feature = "Win32_Foundation")]
335 pub struct CHOOSECOLORA {
336 pub lStructSize: u32,
337 pub hwndOwner: super::super::super::Foundation::HWND,
338 pub hInstance: super::super::super::Foundation::HWND,
339 pub rgbResult: super::super::super::Foundation::COLORREF,
340 pub lpCustColors: *mut super::super::super::Foundation::COLORREF,
341 pub Flags: CHOOSECOLOR_FLAGS,
342 pub lCustData: super::super::super::Foundation::LPARAM,
343 pub lpfnHook: LPCCHOOKPROC,
344 pub lpTemplateName: ::windows_sys::core::PCSTR,
345 }
346 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
347 #[cfg(feature = "Win32_Foundation")]
348 impl ::core::marker::Copy for CHOOSECOLORA {}
349 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
350 #[cfg(feature = "Win32_Foundation")]
351 impl ::core::clone::Clone for CHOOSECOLORA {
352 fn clone(&self) -> Self {
353 *self
354 }
355 }
356 #[repr(C, packed(1))]
357 #[doc = "Required features: `\"Win32_Foundation\"`"]
358 #[cfg(target_arch = "x86")]
359 #[cfg(feature = "Win32_Foundation")]
360 pub struct CHOOSECOLORA {
361 pub lStructSize: u32,
362 pub hwndOwner: super::super::super::Foundation::HWND,
363 pub hInstance: super::super::super::Foundation::HWND,
364 pub rgbResult: super::super::super::Foundation::COLORREF,
365 pub lpCustColors: *mut super::super::super::Foundation::COLORREF,
366 pub Flags: CHOOSECOLOR_FLAGS,
367 pub lCustData: super::super::super::Foundation::LPARAM,
368 pub lpfnHook: LPCCHOOKPROC,
369 pub lpTemplateName: ::windows_sys::core::PCSTR,
370 }
371 #[cfg(target_arch = "x86")]
372 #[cfg(feature = "Win32_Foundation")]
373 impl ::core::marker::Copy for CHOOSECOLORA {}
374 #[cfg(target_arch = "x86")]
375 #[cfg(feature = "Win32_Foundation")]
376 impl ::core::clone::Clone for CHOOSECOLORA {
377 fn clone(&self) -> Self {
378 *self
379 }
380 }
381 #[repr(C)]
382 #[doc = "Required features: `\"Win32_Foundation\"`"]
383 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
384 #[cfg(feature = "Win32_Foundation")]
385 pub struct CHOOSECOLORW {
386 pub lStructSize: u32,
387 pub hwndOwner: super::super::super::Foundation::HWND,
388 pub hInstance: super::super::super::Foundation::HWND,
389 pub rgbResult: super::super::super::Foundation::COLORREF,
390 pub lpCustColors: *mut super::super::super::Foundation::COLORREF,
391 pub Flags: CHOOSECOLOR_FLAGS,
392 pub lCustData: super::super::super::Foundation::LPARAM,
393 pub lpfnHook: LPCCHOOKPROC,
394 pub lpTemplateName: ::windows_sys::core::PCWSTR,
395 }
396 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
397 #[cfg(feature = "Win32_Foundation")]
398 impl ::core::marker::Copy for CHOOSECOLORW {}
399 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
400 #[cfg(feature = "Win32_Foundation")]
401 impl ::core::clone::Clone for CHOOSECOLORW {
402 fn clone(&self) -> Self {
403 *self
404 }
405 }
406 #[repr(C, packed(1))]
407 #[doc = "Required features: `\"Win32_Foundation\"`"]
408 #[cfg(target_arch = "x86")]
409 #[cfg(feature = "Win32_Foundation")]
410 pub struct CHOOSECOLORW {
411 pub lStructSize: u32,
412 pub hwndOwner: super::super::super::Foundation::HWND,
413 pub hInstance: super::super::super::Foundation::HWND,
414 pub rgbResult: super::super::super::Foundation::COLORREF,
415 pub lpCustColors: *mut super::super::super::Foundation::COLORREF,
416 pub Flags: CHOOSECOLOR_FLAGS,
417 pub lCustData: super::super::super::Foundation::LPARAM,
418 pub lpfnHook: LPCCHOOKPROC,
419 pub lpTemplateName: ::windows_sys::core::PCWSTR,
420 }
421 #[cfg(target_arch = "x86")]
422 #[cfg(feature = "Win32_Foundation")]
423 impl ::core::marker::Copy for CHOOSECOLORW {}
424 #[cfg(target_arch = "x86")]
425 #[cfg(feature = "Win32_Foundation")]
426 impl ::core::clone::Clone for CHOOSECOLORW {
427 fn clone(&self) -> Self {
428 *self
429 }
430 }
431 #[repr(C)]
432 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
433 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
434 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
435 pub struct CHOOSEFONTA {
436 pub lStructSize: u32,
437 pub hwndOwner: super::super::super::Foundation::HWND,
438 pub hDC: super::super::super::Graphics::Gdi::HDC,
439 pub lpLogFont: *mut super::super::super::Graphics::Gdi::LOGFONTA,
440 pub iPointSize: i32,
441 pub Flags: CHOOSEFONT_FLAGS,
442 pub rgbColors: super::super::super::Foundation::COLORREF,
443 pub lCustData: super::super::super::Foundation::LPARAM,
444 pub lpfnHook: LPCFHOOKPROC,
445 pub lpTemplateName: ::windows_sys::core::PCSTR,
446 pub hInstance: super::super::super::Foundation::HINSTANCE,
447 pub lpszStyle: ::windows_sys::core::PSTR,
448 pub nFontType: CHOOSEFONT_FONT_TYPE,
449 pub ___MISSING_ALIGNMENT__: u16,
450 pub nSizeMin: i32,
451 pub nSizeMax: i32,
452 }
453 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
454 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
455 impl ::core::marker::Copy for CHOOSEFONTA {}
456 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
457 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
458 impl ::core::clone::Clone for CHOOSEFONTA {
459 fn clone(&self) -> Self {
460 *self
461 }
462 }
463 #[repr(C, packed(1))]
464 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
465 #[cfg(target_arch = "x86")]
466 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
467 pub struct CHOOSEFONTA {
468 pub lStructSize: u32,
469 pub hwndOwner: super::super::super::Foundation::HWND,
470 pub hDC: super::super::super::Graphics::Gdi::HDC,
471 pub lpLogFont: *mut super::super::super::Graphics::Gdi::LOGFONTA,
472 pub iPointSize: i32,
473 pub Flags: CHOOSEFONT_FLAGS,
474 pub rgbColors: super::super::super::Foundation::COLORREF,
475 pub lCustData: super::super::super::Foundation::LPARAM,
476 pub lpfnHook: LPCFHOOKPROC,
477 pub lpTemplateName: ::windows_sys::core::PCSTR,
478 pub hInstance: super::super::super::Foundation::HINSTANCE,
479 pub lpszStyle: ::windows_sys::core::PSTR,
480 pub nFontType: CHOOSEFONT_FONT_TYPE,
481 pub ___MISSING_ALIGNMENT__: u16,
482 pub nSizeMin: i32,
483 pub nSizeMax: i32,
484 }
485 #[cfg(target_arch = "x86")]
486 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
487 impl ::core::marker::Copy for CHOOSEFONTA {}
488 #[cfg(target_arch = "x86")]
489 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
490 impl ::core::clone::Clone for CHOOSEFONTA {
491 fn clone(&self) -> Self {
492 *self
493 }
494 }
495 #[repr(C)]
496 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
497 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
498 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
499 pub struct CHOOSEFONTW {
500 pub lStructSize: u32,
501 pub hwndOwner: super::super::super::Foundation::HWND,
502 pub hDC: super::super::super::Graphics::Gdi::HDC,
503 pub lpLogFont: *mut super::super::super::Graphics::Gdi::LOGFONTW,
504 pub iPointSize: i32,
505 pub Flags: CHOOSEFONT_FLAGS,
506 pub rgbColors: super::super::super::Foundation::COLORREF,
507 pub lCustData: super::super::super::Foundation::LPARAM,
508 pub lpfnHook: LPCFHOOKPROC,
509 pub lpTemplateName: ::windows_sys::core::PCWSTR,
510 pub hInstance: super::super::super::Foundation::HINSTANCE,
511 pub lpszStyle: ::windows_sys::core::PWSTR,
512 pub nFontType: CHOOSEFONT_FONT_TYPE,
513 pub ___MISSING_ALIGNMENT__: u16,
514 pub nSizeMin: i32,
515 pub nSizeMax: i32,
516 }
517 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
518 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
519 impl ::core::marker::Copy for CHOOSEFONTW {}
520 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
521 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
522 impl ::core::clone::Clone for CHOOSEFONTW {
523 fn clone(&self) -> Self {
524 *self
525 }
526 }
527 #[repr(C, packed(1))]
528 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
529 #[cfg(target_arch = "x86")]
530 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
531 pub struct CHOOSEFONTW {
532 pub lStructSize: u32,
533 pub hwndOwner: super::super::super::Foundation::HWND,
534 pub hDC: super::super::super::Graphics::Gdi::HDC,
535 pub lpLogFont: *mut super::super::super::Graphics::Gdi::LOGFONTW,
536 pub iPointSize: i32,
537 pub Flags: CHOOSEFONT_FLAGS,
538 pub rgbColors: super::super::super::Foundation::COLORREF,
539 pub lCustData: super::super::super::Foundation::LPARAM,
540 pub lpfnHook: LPCFHOOKPROC,
541 pub lpTemplateName: ::windows_sys::core::PCWSTR,
542 pub hInstance: super::super::super::Foundation::HINSTANCE,
543 pub lpszStyle: ::windows_sys::core::PWSTR,
544 pub nFontType: CHOOSEFONT_FONT_TYPE,
545 pub ___MISSING_ALIGNMENT__: u16,
546 pub nSizeMin: i32,
547 pub nSizeMax: i32,
548 }
549 #[cfg(target_arch = "x86")]
550 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
551 impl ::core::marker::Copy for CHOOSEFONTW {}
552 #[cfg(target_arch = "x86")]
553 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
554 impl ::core::clone::Clone for CHOOSEFONTW {
555 fn clone(&self) -> Self {
556 *self
557 }
558 }
559 #[repr(C)]
560 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
561 pub struct DEVNAMES {
562 pub wDriverOffset: u16,
563 pub wDeviceOffset: u16,
564 pub wOutputOffset: u16,
565 pub wDefault: u16,
566 }
567 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
568 impl ::core::marker::Copy for DEVNAMES {}
569 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
570 impl ::core::clone::Clone for DEVNAMES {
571 fn clone(&self) -> Self {
572 *self
573 }
574 }
575 #[repr(C, packed(1))]
576 #[cfg(target_arch = "x86")]
577 pub struct DEVNAMES {
578 pub wDriverOffset: u16,
579 pub wDeviceOffset: u16,
580 pub wOutputOffset: u16,
581 pub wDefault: u16,
582 }
583 #[cfg(target_arch = "x86")]
584 impl ::core::marker::Copy for DEVNAMES {}
585 #[cfg(target_arch = "x86")]
586 impl ::core::clone::Clone for DEVNAMES {
587 fn clone(&self) -> Self {
588 *self
589 }
590 }
591 #[repr(C)]
592 #[doc = "Required features: `\"Win32_Foundation\"`"]
593 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
594 #[cfg(feature = "Win32_Foundation")]
595 pub struct FINDREPLACEA {
596 pub lStructSize: u32,
597 pub hwndOwner: super::super::super::Foundation::HWND,
598 pub hInstance: super::super::super::Foundation::HINSTANCE,
599 pub Flags: FINDREPLACE_FLAGS,
600 pub lpstrFindWhat: ::windows_sys::core::PSTR,
601 pub lpstrReplaceWith: ::windows_sys::core::PSTR,
602 pub wFindWhatLen: u16,
603 pub wReplaceWithLen: u16,
604 pub lCustData: super::super::super::Foundation::LPARAM,
605 pub lpfnHook: LPFRHOOKPROC,
606 pub lpTemplateName: ::windows_sys::core::PCSTR,
607 }
608 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
609 #[cfg(feature = "Win32_Foundation")]
610 impl ::core::marker::Copy for FINDREPLACEA {}
611 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
612 #[cfg(feature = "Win32_Foundation")]
613 impl ::core::clone::Clone for FINDREPLACEA {
614 fn clone(&self) -> Self {
615 *self
616 }
617 }
618 #[repr(C, packed(1))]
619 #[doc = "Required features: `\"Win32_Foundation\"`"]
620 #[cfg(target_arch = "x86")]
621 #[cfg(feature = "Win32_Foundation")]
622 pub struct FINDREPLACEA {
623 pub lStructSize: u32,
624 pub hwndOwner: super::super::super::Foundation::HWND,
625 pub hInstance: super::super::super::Foundation::HINSTANCE,
626 pub Flags: FINDREPLACE_FLAGS,
627 pub lpstrFindWhat: ::windows_sys::core::PSTR,
628 pub lpstrReplaceWith: ::windows_sys::core::PSTR,
629 pub wFindWhatLen: u16,
630 pub wReplaceWithLen: u16,
631 pub lCustData: super::super::super::Foundation::LPARAM,
632 pub lpfnHook: LPFRHOOKPROC,
633 pub lpTemplateName: ::windows_sys::core::PCSTR,
634 }
635 #[cfg(target_arch = "x86")]
636 #[cfg(feature = "Win32_Foundation")]
637 impl ::core::marker::Copy for FINDREPLACEA {}
638 #[cfg(target_arch = "x86")]
639 #[cfg(feature = "Win32_Foundation")]
640 impl ::core::clone::Clone for FINDREPLACEA {
641 fn clone(&self) -> Self {
642 *self
643 }
644 }
645 #[repr(C)]
646 #[doc = "Required features: `\"Win32_Foundation\"`"]
647 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
648 #[cfg(feature = "Win32_Foundation")]
649 pub struct FINDREPLACEW {
650 pub lStructSize: u32,
651 pub hwndOwner: super::super::super::Foundation::HWND,
652 pub hInstance: super::super::super::Foundation::HINSTANCE,
653 pub Flags: FINDREPLACE_FLAGS,
654 pub lpstrFindWhat: ::windows_sys::core::PWSTR,
655 pub lpstrReplaceWith: ::windows_sys::core::PWSTR,
656 pub wFindWhatLen: u16,
657 pub wReplaceWithLen: u16,
658 pub lCustData: super::super::super::Foundation::LPARAM,
659 pub lpfnHook: LPFRHOOKPROC,
660 pub lpTemplateName: ::windows_sys::core::PCWSTR,
661 }
662 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
663 #[cfg(feature = "Win32_Foundation")]
664 impl ::core::marker::Copy for FINDREPLACEW {}
665 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
666 #[cfg(feature = "Win32_Foundation")]
667 impl ::core::clone::Clone for FINDREPLACEW {
668 fn clone(&self) -> Self {
669 *self
670 }
671 }
672 #[repr(C, packed(1))]
673 #[doc = "Required features: `\"Win32_Foundation\"`"]
674 #[cfg(target_arch = "x86")]
675 #[cfg(feature = "Win32_Foundation")]
676 pub struct FINDREPLACEW {
677 pub lStructSize: u32,
678 pub hwndOwner: super::super::super::Foundation::HWND,
679 pub hInstance: super::super::super::Foundation::HINSTANCE,
680 pub Flags: FINDREPLACE_FLAGS,
681 pub lpstrFindWhat: ::windows_sys::core::PWSTR,
682 pub lpstrReplaceWith: ::windows_sys::core::PWSTR,
683 pub wFindWhatLen: u16,
684 pub wReplaceWithLen: u16,
685 pub lCustData: super::super::super::Foundation::LPARAM,
686 pub lpfnHook: LPFRHOOKPROC,
687 pub lpTemplateName: ::windows_sys::core::PCWSTR,
688 }
689 #[cfg(target_arch = "x86")]
690 #[cfg(feature = "Win32_Foundation")]
691 impl ::core::marker::Copy for FINDREPLACEW {}
692 #[cfg(target_arch = "x86")]
693 #[cfg(feature = "Win32_Foundation")]
694 impl ::core::clone::Clone for FINDREPLACEW {
695 fn clone(&self) -> Self {
696 *self
697 }
698 }
699 #[repr(C)]
700 #[doc = "Required features: `\"Win32_Foundation\"`"]
701 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
702 #[cfg(feature = "Win32_Foundation")]
703 pub struct OFNOTIFYA {
704 pub hdr: super::NMHDR,
705 pub lpOFN: *mut OPENFILENAMEA,
706 pub pszFile: ::windows_sys::core::PSTR,
707 }
708 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
709 #[cfg(feature = "Win32_Foundation")]
710 impl ::core::marker::Copy for OFNOTIFYA {}
711 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
712 #[cfg(feature = "Win32_Foundation")]
713 impl ::core::clone::Clone for OFNOTIFYA {
714 fn clone(&self) -> Self {
715 *self
716 }
717 }
718 #[repr(C, packed(1))]
719 #[doc = "Required features: `\"Win32_Foundation\"`"]
720 #[cfg(target_arch = "x86")]
721 #[cfg(feature = "Win32_Foundation")]
722 pub struct OFNOTIFYA {
723 pub hdr: super::NMHDR,
724 pub lpOFN: *mut OPENFILENAMEA,
725 pub pszFile: ::windows_sys::core::PSTR,
726 }
727 #[cfg(target_arch = "x86")]
728 #[cfg(feature = "Win32_Foundation")]
729 impl ::core::marker::Copy for OFNOTIFYA {}
730 #[cfg(target_arch = "x86")]
731 #[cfg(feature = "Win32_Foundation")]
732 impl ::core::clone::Clone for OFNOTIFYA {
733 fn clone(&self) -> Self {
734 *self
735 }
736 }
737 #[repr(C)]
738 #[doc = "Required features: `\"Win32_Foundation\"`"]
739 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
740 #[cfg(feature = "Win32_Foundation")]
741 pub struct OFNOTIFYEXA {
742 pub hdr: super::NMHDR,
743 pub lpOFN: *mut OPENFILENAMEA,
744 pub psf: *mut ::core::ffi::c_void,
745 pub pidl: *mut ::core::ffi::c_void,
746 }
747 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
748 #[cfg(feature = "Win32_Foundation")]
749 impl ::core::marker::Copy for OFNOTIFYEXA {}
750 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
751 #[cfg(feature = "Win32_Foundation")]
752 impl ::core::clone::Clone for OFNOTIFYEXA {
753 fn clone(&self) -> Self {
754 *self
755 }
756 }
757 #[repr(C, packed(1))]
758 #[doc = "Required features: `\"Win32_Foundation\"`"]
759 #[cfg(target_arch = "x86")]
760 #[cfg(feature = "Win32_Foundation")]
761 pub struct OFNOTIFYEXA {
762 pub hdr: super::NMHDR,
763 pub lpOFN: *mut OPENFILENAMEA,
764 pub psf: *mut ::core::ffi::c_void,
765 pub pidl: *mut ::core::ffi::c_void,
766 }
767 #[cfg(target_arch = "x86")]
768 #[cfg(feature = "Win32_Foundation")]
769 impl ::core::marker::Copy for OFNOTIFYEXA {}
770 #[cfg(target_arch = "x86")]
771 #[cfg(feature = "Win32_Foundation")]
772 impl ::core::clone::Clone for OFNOTIFYEXA {
773 fn clone(&self) -> Self {
774 *self
775 }
776 }
777 #[repr(C)]
778 #[doc = "Required features: `\"Win32_Foundation\"`"]
779 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
780 #[cfg(feature = "Win32_Foundation")]
781 pub struct OFNOTIFYEXW {
782 pub hdr: super::NMHDR,
783 pub lpOFN: *mut OPENFILENAMEW,
784 pub psf: *mut ::core::ffi::c_void,
785 pub pidl: *mut ::core::ffi::c_void,
786 }
787 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
788 #[cfg(feature = "Win32_Foundation")]
789 impl ::core::marker::Copy for OFNOTIFYEXW {}
790 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
791 #[cfg(feature = "Win32_Foundation")]
792 impl ::core::clone::Clone for OFNOTIFYEXW {
793 fn clone(&self) -> Self {
794 *self
795 }
796 }
797 #[repr(C, packed(1))]
798 #[doc = "Required features: `\"Win32_Foundation\"`"]
799 #[cfg(target_arch = "x86")]
800 #[cfg(feature = "Win32_Foundation")]
801 pub struct OFNOTIFYEXW {
802 pub hdr: super::NMHDR,
803 pub lpOFN: *mut OPENFILENAMEW,
804 pub psf: *mut ::core::ffi::c_void,
805 pub pidl: *mut ::core::ffi::c_void,
806 }
807 #[cfg(target_arch = "x86")]
808 #[cfg(feature = "Win32_Foundation")]
809 impl ::core::marker::Copy for OFNOTIFYEXW {}
810 #[cfg(target_arch = "x86")]
811 #[cfg(feature = "Win32_Foundation")]
812 impl ::core::clone::Clone for OFNOTIFYEXW {
813 fn clone(&self) -> Self {
814 *self
815 }
816 }
817 #[repr(C)]
818 #[doc = "Required features: `\"Win32_Foundation\"`"]
819 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
820 #[cfg(feature = "Win32_Foundation")]
821 pub struct OFNOTIFYW {
822 pub hdr: super::NMHDR,
823 pub lpOFN: *mut OPENFILENAMEW,
824 pub pszFile: ::windows_sys::core::PWSTR,
825 }
826 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
827 #[cfg(feature = "Win32_Foundation")]
828 impl ::core::marker::Copy for OFNOTIFYW {}
829 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
830 #[cfg(feature = "Win32_Foundation")]
831 impl ::core::clone::Clone for OFNOTIFYW {
832 fn clone(&self) -> Self {
833 *self
834 }
835 }
836 #[repr(C, packed(1))]
837 #[doc = "Required features: `\"Win32_Foundation\"`"]
838 #[cfg(target_arch = "x86")]
839 #[cfg(feature = "Win32_Foundation")]
840 pub struct OFNOTIFYW {
841 pub hdr: super::NMHDR,
842 pub lpOFN: *mut OPENFILENAMEW,
843 pub pszFile: ::windows_sys::core::PWSTR,
844 }
845 #[cfg(target_arch = "x86")]
846 #[cfg(feature = "Win32_Foundation")]
847 impl ::core::marker::Copy for OFNOTIFYW {}
848 #[cfg(target_arch = "x86")]
849 #[cfg(feature = "Win32_Foundation")]
850 impl ::core::clone::Clone for OFNOTIFYW {
851 fn clone(&self) -> Self {
852 *self
853 }
854 }
855 #[repr(C)]
856 #[doc = "Required features: `\"Win32_Foundation\"`"]
857 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
858 #[cfg(feature = "Win32_Foundation")]
859 pub struct OPENFILENAMEA {
860 pub lStructSize: u32,
861 pub hwndOwner: super::super::super::Foundation::HWND,
862 pub hInstance: super::super::super::Foundation::HINSTANCE,
863 pub lpstrFilter: ::windows_sys::core::PCSTR,
864 pub lpstrCustomFilter: ::windows_sys::core::PSTR,
865 pub nMaxCustFilter: u32,
866 pub nFilterIndex: u32,
867 pub lpstrFile: ::windows_sys::core::PSTR,
868 pub nMaxFile: u32,
869 pub lpstrFileTitle: ::windows_sys::core::PSTR,
870 pub nMaxFileTitle: u32,
871 pub lpstrInitialDir: ::windows_sys::core::PCSTR,
872 pub lpstrTitle: ::windows_sys::core::PCSTR,
873 pub Flags: OPEN_FILENAME_FLAGS,
874 pub nFileOffset: u16,
875 pub nFileExtension: u16,
876 pub lpstrDefExt: ::windows_sys::core::PCSTR,
877 pub lCustData: super::super::super::Foundation::LPARAM,
878 pub lpfnHook: LPOFNHOOKPROC,
879 pub lpTemplateName: ::windows_sys::core::PCSTR,
880 pub pvReserved: *mut ::core::ffi::c_void,
881 pub dwReserved: u32,
882 pub FlagsEx: OPEN_FILENAME_FLAGS_EX,
883 }
884 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
885 #[cfg(feature = "Win32_Foundation")]
886 impl ::core::marker::Copy for OPENFILENAMEA {}
887 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
888 #[cfg(feature = "Win32_Foundation")]
889 impl ::core::clone::Clone for OPENFILENAMEA {
890 fn clone(&self) -> Self {
891 *self
892 }
893 }
894 #[repr(C, packed(1))]
895 #[doc = "Required features: `\"Win32_Foundation\"`"]
896 #[cfg(target_arch = "x86")]
897 #[cfg(feature = "Win32_Foundation")]
898 pub struct OPENFILENAMEA {
899 pub lStructSize: u32,
900 pub hwndOwner: super::super::super::Foundation::HWND,
901 pub hInstance: super::super::super::Foundation::HINSTANCE,
902 pub lpstrFilter: ::windows_sys::core::PCSTR,
903 pub lpstrCustomFilter: ::windows_sys::core::PSTR,
904 pub nMaxCustFilter: u32,
905 pub nFilterIndex: u32,
906 pub lpstrFile: ::windows_sys::core::PSTR,
907 pub nMaxFile: u32,
908 pub lpstrFileTitle: ::windows_sys::core::PSTR,
909 pub nMaxFileTitle: u32,
910 pub lpstrInitialDir: ::windows_sys::core::PCSTR,
911 pub lpstrTitle: ::windows_sys::core::PCSTR,
912 pub Flags: OPEN_FILENAME_FLAGS,
913 pub nFileOffset: u16,
914 pub nFileExtension: u16,
915 pub lpstrDefExt: ::windows_sys::core::PCSTR,
916 pub lCustData: super::super::super::Foundation::LPARAM,
917 pub lpfnHook: LPOFNHOOKPROC,
918 pub lpTemplateName: ::windows_sys::core::PCSTR,
919 pub pvReserved: *mut ::core::ffi::c_void,
920 pub dwReserved: u32,
921 pub FlagsEx: OPEN_FILENAME_FLAGS_EX,
922 }
923 #[cfg(target_arch = "x86")]
924 #[cfg(feature = "Win32_Foundation")]
925 impl ::core::marker::Copy for OPENFILENAMEA {}
926 #[cfg(target_arch = "x86")]
927 #[cfg(feature = "Win32_Foundation")]
928 impl ::core::clone::Clone for OPENFILENAMEA {
929 fn clone(&self) -> Self {
930 *self
931 }
932 }
933 #[repr(C)]
934 #[doc = "Required features: `\"Win32_Foundation\"`"]
935 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
936 #[cfg(feature = "Win32_Foundation")]
937 pub struct OPENFILENAMEW {
938 pub lStructSize: u32,
939 pub hwndOwner: super::super::super::Foundation::HWND,
940 pub hInstance: super::super::super::Foundation::HINSTANCE,
941 pub lpstrFilter: ::windows_sys::core::PCWSTR,
942 pub lpstrCustomFilter: ::windows_sys::core::PWSTR,
943 pub nMaxCustFilter: u32,
944 pub nFilterIndex: u32,
945 pub lpstrFile: ::windows_sys::core::PWSTR,
946 pub nMaxFile: u32,
947 pub lpstrFileTitle: ::windows_sys::core::PWSTR,
948 pub nMaxFileTitle: u32,
949 pub lpstrInitialDir: ::windows_sys::core::PCWSTR,
950 pub lpstrTitle: ::windows_sys::core::PCWSTR,
951 pub Flags: OPEN_FILENAME_FLAGS,
952 pub nFileOffset: u16,
953 pub nFileExtension: u16,
954 pub lpstrDefExt: ::windows_sys::core::PCWSTR,
955 pub lCustData: super::super::super::Foundation::LPARAM,
956 pub lpfnHook: LPOFNHOOKPROC,
957 pub lpTemplateName: ::windows_sys::core::PCWSTR,
958 pub pvReserved: *mut ::core::ffi::c_void,
959 pub dwReserved: u32,
960 pub FlagsEx: OPEN_FILENAME_FLAGS_EX,
961 }
962 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
963 #[cfg(feature = "Win32_Foundation")]
964 impl ::core::marker::Copy for OPENFILENAMEW {}
965 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
966 #[cfg(feature = "Win32_Foundation")]
967 impl ::core::clone::Clone for OPENFILENAMEW {
968 fn clone(&self) -> Self {
969 *self
970 }
971 }
972 #[repr(C, packed(1))]
973 #[doc = "Required features: `\"Win32_Foundation\"`"]
974 #[cfg(target_arch = "x86")]
975 #[cfg(feature = "Win32_Foundation")]
976 pub struct OPENFILENAMEW {
977 pub lStructSize: u32,
978 pub hwndOwner: super::super::super::Foundation::HWND,
979 pub hInstance: super::super::super::Foundation::HINSTANCE,
980 pub lpstrFilter: ::windows_sys::core::PCWSTR,
981 pub lpstrCustomFilter: ::windows_sys::core::PWSTR,
982 pub nMaxCustFilter: u32,
983 pub nFilterIndex: u32,
984 pub lpstrFile: ::windows_sys::core::PWSTR,
985 pub nMaxFile: u32,
986 pub lpstrFileTitle: ::windows_sys::core::PWSTR,
987 pub nMaxFileTitle: u32,
988 pub lpstrInitialDir: ::windows_sys::core::PCWSTR,
989 pub lpstrTitle: ::windows_sys::core::PCWSTR,
990 pub Flags: OPEN_FILENAME_FLAGS,
991 pub nFileOffset: u16,
992 pub nFileExtension: u16,
993 pub lpstrDefExt: ::windows_sys::core::PCWSTR,
994 pub lCustData: super::super::super::Foundation::LPARAM,
995 pub lpfnHook: LPOFNHOOKPROC,
996 pub lpTemplateName: ::windows_sys::core::PCWSTR,
997 pub pvReserved: *mut ::core::ffi::c_void,
998 pub dwReserved: u32,
999 pub FlagsEx: OPEN_FILENAME_FLAGS_EX,
1000 }
1001 #[cfg(target_arch = "x86")]
1002 #[cfg(feature = "Win32_Foundation")]
1003 impl ::core::marker::Copy for OPENFILENAMEW {}
1004 #[cfg(target_arch = "x86")]
1005 #[cfg(feature = "Win32_Foundation")]
1006 impl ::core::clone::Clone for OPENFILENAMEW {
1007 fn clone(&self) -> Self {
1008 *self
1009 }
1010 }
1011 #[repr(C)]
1012 #[doc = "Required features: `\"Win32_Foundation\"`"]
1013 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1014 #[cfg(feature = "Win32_Foundation")]
1015 pub struct OPENFILENAME_NT4A {
1016 pub lStructSize: u32,
1017 pub hwndOwner: super::super::super::Foundation::HWND,
1018 pub hInstance: super::super::super::Foundation::HINSTANCE,
1019 pub lpstrFilter: ::windows_sys::core::PCSTR,
1020 pub lpstrCustomFilter: ::windows_sys::core::PSTR,
1021 pub nMaxCustFilter: u32,
1022 pub nFilterIndex: u32,
1023 pub lpstrFile: ::windows_sys::core::PSTR,
1024 pub nMaxFile: u32,
1025 pub lpstrFileTitle: ::windows_sys::core::PSTR,
1026 pub nMaxFileTitle: u32,
1027 pub lpstrInitialDir: ::windows_sys::core::PCSTR,
1028 pub lpstrTitle: ::windows_sys::core::PCSTR,
1029 pub Flags: u32,
1030 pub nFileOffset: u16,
1031 pub nFileExtension: u16,
1032 pub lpstrDefExt: ::windows_sys::core::PCSTR,
1033 pub lCustData: super::super::super::Foundation::LPARAM,
1034 pub lpfnHook: LPOFNHOOKPROC,
1035 pub lpTemplateName: ::windows_sys::core::PCSTR,
1036 }
1037 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1038 #[cfg(feature = "Win32_Foundation")]
1039 impl ::core::marker::Copy for OPENFILENAME_NT4A {}
1040 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1041 #[cfg(feature = "Win32_Foundation")]
1042 impl ::core::clone::Clone for OPENFILENAME_NT4A {
1043 fn clone(&self) -> Self {
1044 *self
1045 }
1046 }
1047 #[repr(C, packed(1))]
1048 #[doc = "Required features: `\"Win32_Foundation\"`"]
1049 #[cfg(target_arch = "x86")]
1050 #[cfg(feature = "Win32_Foundation")]
1051 pub struct OPENFILENAME_NT4A {
1052 pub lStructSize: u32,
1053 pub hwndOwner: super::super::super::Foundation::HWND,
1054 pub hInstance: super::super::super::Foundation::HINSTANCE,
1055 pub lpstrFilter: ::windows_sys::core::PCSTR,
1056 pub lpstrCustomFilter: ::windows_sys::core::PSTR,
1057 pub nMaxCustFilter: u32,
1058 pub nFilterIndex: u32,
1059 pub lpstrFile: ::windows_sys::core::PSTR,
1060 pub nMaxFile: u32,
1061 pub lpstrFileTitle: ::windows_sys::core::PSTR,
1062 pub nMaxFileTitle: u32,
1063 pub lpstrInitialDir: ::windows_sys::core::PCSTR,
1064 pub lpstrTitle: ::windows_sys::core::PCSTR,
1065 pub Flags: u32,
1066 pub nFileOffset: u16,
1067 pub nFileExtension: u16,
1068 pub lpstrDefExt: ::windows_sys::core::PCSTR,
1069 pub lCustData: super::super::super::Foundation::LPARAM,
1070 pub lpfnHook: LPOFNHOOKPROC,
1071 pub lpTemplateName: ::windows_sys::core::PCSTR,
1072 }
1073 #[cfg(target_arch = "x86")]
1074 #[cfg(feature = "Win32_Foundation")]
1075 impl ::core::marker::Copy for OPENFILENAME_NT4A {}
1076 #[cfg(target_arch = "x86")]
1077 #[cfg(feature = "Win32_Foundation")]
1078 impl ::core::clone::Clone for OPENFILENAME_NT4A {
1079 fn clone(&self) -> Self {
1080 *self
1081 }
1082 }
1083 #[repr(C)]
1084 #[doc = "Required features: `\"Win32_Foundation\"`"]
1085 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1086 #[cfg(feature = "Win32_Foundation")]
1087 pub struct OPENFILENAME_NT4W {
1088 pub lStructSize: u32,
1089 pub hwndOwner: super::super::super::Foundation::HWND,
1090 pub hInstance: super::super::super::Foundation::HINSTANCE,
1091 pub lpstrFilter: ::windows_sys::core::PCWSTR,
1092 pub lpstrCustomFilter: ::windows_sys::core::PWSTR,
1093 pub nMaxCustFilter: u32,
1094 pub nFilterIndex: u32,
1095 pub lpstrFile: ::windows_sys::core::PWSTR,
1096 pub nMaxFile: u32,
1097 pub lpstrFileTitle: ::windows_sys::core::PWSTR,
1098 pub nMaxFileTitle: u32,
1099 pub lpstrInitialDir: ::windows_sys::core::PCWSTR,
1100 pub lpstrTitle: ::windows_sys::core::PCWSTR,
1101 pub Flags: u32,
1102 pub nFileOffset: u16,
1103 pub nFileExtension: u16,
1104 pub lpstrDefExt: ::windows_sys::core::PCWSTR,
1105 pub lCustData: super::super::super::Foundation::LPARAM,
1106 pub lpfnHook: LPOFNHOOKPROC,
1107 pub lpTemplateName: ::windows_sys::core::PCWSTR,
1108 }
1109 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1110 #[cfg(feature = "Win32_Foundation")]
1111 impl ::core::marker::Copy for OPENFILENAME_NT4W {}
1112 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1113 #[cfg(feature = "Win32_Foundation")]
1114 impl ::core::clone::Clone for OPENFILENAME_NT4W {
1115 fn clone(&self) -> Self {
1116 *self
1117 }
1118 }
1119 #[repr(C, packed(1))]
1120 #[doc = "Required features: `\"Win32_Foundation\"`"]
1121 #[cfg(target_arch = "x86")]
1122 #[cfg(feature = "Win32_Foundation")]
1123 pub struct OPENFILENAME_NT4W {
1124 pub lStructSize: u32,
1125 pub hwndOwner: super::super::super::Foundation::HWND,
1126 pub hInstance: super::super::super::Foundation::HINSTANCE,
1127 pub lpstrFilter: ::windows_sys::core::PCWSTR,
1128 pub lpstrCustomFilter: ::windows_sys::core::PWSTR,
1129 pub nMaxCustFilter: u32,
1130 pub nFilterIndex: u32,
1131 pub lpstrFile: ::windows_sys::core::PWSTR,
1132 pub nMaxFile: u32,
1133 pub lpstrFileTitle: ::windows_sys::core::PWSTR,
1134 pub nMaxFileTitle: u32,
1135 pub lpstrInitialDir: ::windows_sys::core::PCWSTR,
1136 pub lpstrTitle: ::windows_sys::core::PCWSTR,
1137 pub Flags: u32,
1138 pub nFileOffset: u16,
1139 pub nFileExtension: u16,
1140 pub lpstrDefExt: ::windows_sys::core::PCWSTR,
1141 pub lCustData: super::super::super::Foundation::LPARAM,
1142 pub lpfnHook: LPOFNHOOKPROC,
1143 pub lpTemplateName: ::windows_sys::core::PCWSTR,
1144 }
1145 #[cfg(target_arch = "x86")]
1146 #[cfg(feature = "Win32_Foundation")]
1147 impl ::core::marker::Copy for OPENFILENAME_NT4W {}
1148 #[cfg(target_arch = "x86")]
1149 #[cfg(feature = "Win32_Foundation")]
1150 impl ::core::clone::Clone for OPENFILENAME_NT4W {
1151 fn clone(&self) -> Self {
1152 *self
1153 }
1154 }
1155 #[repr(C)]
1156 #[doc = "Required features: `\"Win32_Foundation\"`"]
1157 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1158 #[cfg(feature = "Win32_Foundation")]
1159 pub struct PAGESETUPDLGA {
1160 pub lStructSize: u32,
1161 pub hwndOwner: super::super::super::Foundation::HWND,
1162 pub hDevMode: super::super::super::Foundation::HGLOBAL,
1163 pub hDevNames: super::super::super::Foundation::HGLOBAL,
1164 pub Flags: PAGESETUPDLG_FLAGS,
1165 pub ptPaperSize: super::super::super::Foundation::POINT,
1166 pub rtMinMargin: super::super::super::Foundation::RECT,
1167 pub rtMargin: super::super::super::Foundation::RECT,
1168 pub hInstance: super::super::super::Foundation::HINSTANCE,
1169 pub lCustData: super::super::super::Foundation::LPARAM,
1170 pub lpfnPageSetupHook: LPPAGESETUPHOOK,
1171 pub lpfnPagePaintHook: LPPAGEPAINTHOOK,
1172 pub lpPageSetupTemplateName: ::windows_sys::core::PCSTR,
1173 pub hPageSetupTemplate: super::super::super::Foundation::HGLOBAL,
1174 }
1175 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1176 #[cfg(feature = "Win32_Foundation")]
1177 impl ::core::marker::Copy for PAGESETUPDLGA {}
1178 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1179 #[cfg(feature = "Win32_Foundation")]
1180 impl ::core::clone::Clone for PAGESETUPDLGA {
1181 fn clone(&self) -> Self {
1182 *self
1183 }
1184 }
1185 #[repr(C, packed(1))]
1186 #[doc = "Required features: `\"Win32_Foundation\"`"]
1187 #[cfg(target_arch = "x86")]
1188 #[cfg(feature = "Win32_Foundation")]
1189 pub struct PAGESETUPDLGA {
1190 pub lStructSize: u32,
1191 pub hwndOwner: super::super::super::Foundation::HWND,
1192 pub hDevMode: super::super::super::Foundation::HGLOBAL,
1193 pub hDevNames: super::super::super::Foundation::HGLOBAL,
1194 pub Flags: PAGESETUPDLG_FLAGS,
1195 pub ptPaperSize: super::super::super::Foundation::POINT,
1196 pub rtMinMargin: super::super::super::Foundation::RECT,
1197 pub rtMargin: super::super::super::Foundation::RECT,
1198 pub hInstance: super::super::super::Foundation::HINSTANCE,
1199 pub lCustData: super::super::super::Foundation::LPARAM,
1200 pub lpfnPageSetupHook: LPPAGESETUPHOOK,
1201 pub lpfnPagePaintHook: LPPAGEPAINTHOOK,
1202 pub lpPageSetupTemplateName: ::windows_sys::core::PCSTR,
1203 pub hPageSetupTemplate: super::super::super::Foundation::HGLOBAL,
1204 }
1205 #[cfg(target_arch = "x86")]
1206 #[cfg(feature = "Win32_Foundation")]
1207 impl ::core::marker::Copy for PAGESETUPDLGA {}
1208 #[cfg(target_arch = "x86")]
1209 #[cfg(feature = "Win32_Foundation")]
1210 impl ::core::clone::Clone for PAGESETUPDLGA {
1211 fn clone(&self) -> Self {
1212 *self
1213 }
1214 }
1215 #[repr(C)]
1216 #[doc = "Required features: `\"Win32_Foundation\"`"]
1217 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1218 #[cfg(feature = "Win32_Foundation")]
1219 pub struct PAGESETUPDLGW {
1220 pub lStructSize: u32,
1221 pub hwndOwner: super::super::super::Foundation::HWND,
1222 pub hDevMode: super::super::super::Foundation::HGLOBAL,
1223 pub hDevNames: super::super::super::Foundation::HGLOBAL,
1224 pub Flags: PAGESETUPDLG_FLAGS,
1225 pub ptPaperSize: super::super::super::Foundation::POINT,
1226 pub rtMinMargin: super::super::super::Foundation::RECT,
1227 pub rtMargin: super::super::super::Foundation::RECT,
1228 pub hInstance: super::super::super::Foundation::HINSTANCE,
1229 pub lCustData: super::super::super::Foundation::LPARAM,
1230 pub lpfnPageSetupHook: LPPAGESETUPHOOK,
1231 pub lpfnPagePaintHook: LPPAGEPAINTHOOK,
1232 pub lpPageSetupTemplateName: ::windows_sys::core::PCWSTR,
1233 pub hPageSetupTemplate: super::super::super::Foundation::HGLOBAL,
1234 }
1235 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1236 #[cfg(feature = "Win32_Foundation")]
1237 impl ::core::marker::Copy for PAGESETUPDLGW {}
1238 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1239 #[cfg(feature = "Win32_Foundation")]
1240 impl ::core::clone::Clone for PAGESETUPDLGW {
1241 fn clone(&self) -> Self {
1242 *self
1243 }
1244 }
1245 #[repr(C, packed(1))]
1246 #[doc = "Required features: `\"Win32_Foundation\"`"]
1247 #[cfg(target_arch = "x86")]
1248 #[cfg(feature = "Win32_Foundation")]
1249 pub struct PAGESETUPDLGW {
1250 pub lStructSize: u32,
1251 pub hwndOwner: super::super::super::Foundation::HWND,
1252 pub hDevMode: super::super::super::Foundation::HGLOBAL,
1253 pub hDevNames: super::super::super::Foundation::HGLOBAL,
1254 pub Flags: PAGESETUPDLG_FLAGS,
1255 pub ptPaperSize: super::super::super::Foundation::POINT,
1256 pub rtMinMargin: super::super::super::Foundation::RECT,
1257 pub rtMargin: super::super::super::Foundation::RECT,
1258 pub hInstance: super::super::super::Foundation::HINSTANCE,
1259 pub lCustData: super::super::super::Foundation::LPARAM,
1260 pub lpfnPageSetupHook: LPPAGESETUPHOOK,
1261 pub lpfnPagePaintHook: LPPAGEPAINTHOOK,
1262 pub lpPageSetupTemplateName: ::windows_sys::core::PCWSTR,
1263 pub hPageSetupTemplate: super::super::super::Foundation::HGLOBAL,
1264 }
1265 #[cfg(target_arch = "x86")]
1266 #[cfg(feature = "Win32_Foundation")]
1267 impl ::core::marker::Copy for PAGESETUPDLGW {}
1268 #[cfg(target_arch = "x86")]
1269 #[cfg(feature = "Win32_Foundation")]
1270 impl ::core::clone::Clone for PAGESETUPDLGW {
1271 fn clone(&self) -> Self {
1272 *self
1273 }
1274 }
1275 #[repr(C)]
1276 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
1277 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1278 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1279 pub struct PRINTDLGA {
1280 pub lStructSize: u32,
1281 pub hwndOwner: super::super::super::Foundation::HWND,
1282 pub hDevMode: super::super::super::Foundation::HGLOBAL,
1283 pub hDevNames: super::super::super::Foundation::HGLOBAL,
1284 pub hDC: super::super::super::Graphics::Gdi::HDC,
1285 pub Flags: PRINTDLGEX_FLAGS,
1286 pub nFromPage: u16,
1287 pub nToPage: u16,
1288 pub nMinPage: u16,
1289 pub nMaxPage: u16,
1290 pub nCopies: u16,
1291 pub hInstance: super::super::super::Foundation::HINSTANCE,
1292 pub lCustData: super::super::super::Foundation::LPARAM,
1293 pub lpfnPrintHook: LPPRINTHOOKPROC,
1294 pub lpfnSetupHook: LPSETUPHOOKPROC,
1295 pub lpPrintTemplateName: ::windows_sys::core::PCSTR,
1296 pub lpSetupTemplateName: ::windows_sys::core::PCSTR,
1297 pub hPrintTemplate: super::super::super::Foundation::HGLOBAL,
1298 pub hSetupTemplate: super::super::super::Foundation::HGLOBAL,
1299 }
1300 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1301 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1302 impl ::core::marker::Copy for PRINTDLGA {}
1303 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1304 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1305 impl ::core::clone::Clone for PRINTDLGA {
1306 fn clone(&self) -> Self {
1307 *self
1308 }
1309 }
1310 #[repr(C, packed(1))]
1311 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
1312 #[cfg(target_arch = "x86")]
1313 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1314 pub struct PRINTDLGA {
1315 pub lStructSize: u32,
1316 pub hwndOwner: super::super::super::Foundation::HWND,
1317 pub hDevMode: super::super::super::Foundation::HGLOBAL,
1318 pub hDevNames: super::super::super::Foundation::HGLOBAL,
1319 pub hDC: super::super::super::Graphics::Gdi::HDC,
1320 pub Flags: PRINTDLGEX_FLAGS,
1321 pub nFromPage: u16,
1322 pub nToPage: u16,
1323 pub nMinPage: u16,
1324 pub nMaxPage: u16,
1325 pub nCopies: u16,
1326 pub hInstance: super::super::super::Foundation::HINSTANCE,
1327 pub lCustData: super::super::super::Foundation::LPARAM,
1328 pub lpfnPrintHook: LPPRINTHOOKPROC,
1329 pub lpfnSetupHook: LPSETUPHOOKPROC,
1330 pub lpPrintTemplateName: ::windows_sys::core::PCSTR,
1331 pub lpSetupTemplateName: ::windows_sys::core::PCSTR,
1332 pub hPrintTemplate: super::super::super::Foundation::HGLOBAL,
1333 pub hSetupTemplate: super::super::super::Foundation::HGLOBAL,
1334 }
1335 #[cfg(target_arch = "x86")]
1336 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1337 impl ::core::marker::Copy for PRINTDLGA {}
1338 #[cfg(target_arch = "x86")]
1339 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1340 impl ::core::clone::Clone for PRINTDLGA {
1341 fn clone(&self) -> Self {
1342 *self
1343 }
1344 }
1345 #[repr(C)]
1346 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
1347 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1348 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1349 pub struct PRINTDLGEXA {
1350 pub lStructSize: u32,
1351 pub hwndOwner: super::super::super::Foundation::HWND,
1352 pub hDevMode: super::super::super::Foundation::HGLOBAL,
1353 pub hDevNames: super::super::super::Foundation::HGLOBAL,
1354 pub hDC: super::super::super::Graphics::Gdi::HDC,
1355 pub Flags: PRINTDLGEX_FLAGS,
1356 pub Flags2: u32,
1357 pub ExclusionFlags: u32,
1358 pub nPageRanges: u32,
1359 pub nMaxPageRanges: u32,
1360 pub lpPageRanges: *mut PRINTPAGERANGE,
1361 pub nMinPage: u32,
1362 pub nMaxPage: u32,
1363 pub nCopies: u32,
1364 pub hInstance: super::super::super::Foundation::HINSTANCE,
1365 pub lpPrintTemplateName: ::windows_sys::core::PCSTR,
1366 pub lpCallback: ::windows_sys::core::IUnknown,
1367 pub nPropertyPages: u32,
1368 pub lphPropertyPages: *mut super::HPROPSHEETPAGE,
1369 pub nStartPage: u32,
1370 pub dwResultAction: u32,
1371 }
1372 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1373 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1374 impl ::core::marker::Copy for PRINTDLGEXA {}
1375 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1376 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1377 impl ::core::clone::Clone for PRINTDLGEXA {
1378 fn clone(&self) -> Self {
1379 *self
1380 }
1381 }
1382 #[repr(C, packed(1))]
1383 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
1384 #[cfg(target_arch = "x86")]
1385 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1386 pub struct PRINTDLGEXA {
1387 pub lStructSize: u32,
1388 pub hwndOwner: super::super::super::Foundation::HWND,
1389 pub hDevMode: super::super::super::Foundation::HGLOBAL,
1390 pub hDevNames: super::super::super::Foundation::HGLOBAL,
1391 pub hDC: super::super::super::Graphics::Gdi::HDC,
1392 pub Flags: PRINTDLGEX_FLAGS,
1393 pub Flags2: u32,
1394 pub ExclusionFlags: u32,
1395 pub nPageRanges: u32,
1396 pub nMaxPageRanges: u32,
1397 pub lpPageRanges: *mut PRINTPAGERANGE,
1398 pub nMinPage: u32,
1399 pub nMaxPage: u32,
1400 pub nCopies: u32,
1401 pub hInstance: super::super::super::Foundation::HINSTANCE,
1402 pub lpPrintTemplateName: ::windows_sys::core::PCSTR,
1403 pub lpCallback: ::windows_sys::core::IUnknown,
1404 pub nPropertyPages: u32,
1405 pub lphPropertyPages: *mut super::HPROPSHEETPAGE,
1406 pub nStartPage: u32,
1407 pub dwResultAction: u32,
1408 }
1409 #[cfg(target_arch = "x86")]
1410 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1411 impl ::core::marker::Copy for PRINTDLGEXA {}
1412 #[cfg(target_arch = "x86")]
1413 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1414 impl ::core::clone::Clone for PRINTDLGEXA {
1415 fn clone(&self) -> Self {
1416 *self
1417 }
1418 }
1419 #[repr(C)]
1420 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
1421 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1422 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1423 pub struct PRINTDLGEXW {
1424 pub lStructSize: u32,
1425 pub hwndOwner: super::super::super::Foundation::HWND,
1426 pub hDevMode: super::super::super::Foundation::HGLOBAL,
1427 pub hDevNames: super::super::super::Foundation::HGLOBAL,
1428 pub hDC: super::super::super::Graphics::Gdi::HDC,
1429 pub Flags: PRINTDLGEX_FLAGS,
1430 pub Flags2: u32,
1431 pub ExclusionFlags: u32,
1432 pub nPageRanges: u32,
1433 pub nMaxPageRanges: u32,
1434 pub lpPageRanges: *mut PRINTPAGERANGE,
1435 pub nMinPage: u32,
1436 pub nMaxPage: u32,
1437 pub nCopies: u32,
1438 pub hInstance: super::super::super::Foundation::HINSTANCE,
1439 pub lpPrintTemplateName: ::windows_sys::core::PCWSTR,
1440 pub lpCallback: ::windows_sys::core::IUnknown,
1441 pub nPropertyPages: u32,
1442 pub lphPropertyPages: *mut super::HPROPSHEETPAGE,
1443 pub nStartPage: u32,
1444 pub dwResultAction: u32,
1445 }
1446 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1447 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1448 impl ::core::marker::Copy for PRINTDLGEXW {}
1449 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1450 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1451 impl ::core::clone::Clone for PRINTDLGEXW {
1452 fn clone(&self) -> Self {
1453 *self
1454 }
1455 }
1456 #[repr(C, packed(1))]
1457 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
1458 #[cfg(target_arch = "x86")]
1459 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1460 pub struct PRINTDLGEXW {
1461 pub lStructSize: u32,
1462 pub hwndOwner: super::super::super::Foundation::HWND,
1463 pub hDevMode: super::super::super::Foundation::HGLOBAL,
1464 pub hDevNames: super::super::super::Foundation::HGLOBAL,
1465 pub hDC: super::super::super::Graphics::Gdi::HDC,
1466 pub Flags: PRINTDLGEX_FLAGS,
1467 pub Flags2: u32,
1468 pub ExclusionFlags: u32,
1469 pub nPageRanges: u32,
1470 pub nMaxPageRanges: u32,
1471 pub lpPageRanges: *mut PRINTPAGERANGE,
1472 pub nMinPage: u32,
1473 pub nMaxPage: u32,
1474 pub nCopies: u32,
1475 pub hInstance: super::super::super::Foundation::HINSTANCE,
1476 pub lpPrintTemplateName: ::windows_sys::core::PCWSTR,
1477 pub lpCallback: ::windows_sys::core::IUnknown,
1478 pub nPropertyPages: u32,
1479 pub lphPropertyPages: *mut super::HPROPSHEETPAGE,
1480 pub nStartPage: u32,
1481 pub dwResultAction: u32,
1482 }
1483 #[cfg(target_arch = "x86")]
1484 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1485 impl ::core::marker::Copy for PRINTDLGEXW {}
1486 #[cfg(target_arch = "x86")]
1487 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1488 impl ::core::clone::Clone for PRINTDLGEXW {
1489 fn clone(&self) -> Self {
1490 *self
1491 }
1492 }
1493 #[repr(C)]
1494 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
1495 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1496 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1497 pub struct PRINTDLGW {
1498 pub lStructSize: u32,
1499 pub hwndOwner: super::super::super::Foundation::HWND,
1500 pub hDevMode: super::super::super::Foundation::HGLOBAL,
1501 pub hDevNames: super::super::super::Foundation::HGLOBAL,
1502 pub hDC: super::super::super::Graphics::Gdi::HDC,
1503 pub Flags: PRINTDLGEX_FLAGS,
1504 pub nFromPage: u16,
1505 pub nToPage: u16,
1506 pub nMinPage: u16,
1507 pub nMaxPage: u16,
1508 pub nCopies: u16,
1509 pub hInstance: super::super::super::Foundation::HINSTANCE,
1510 pub lCustData: super::super::super::Foundation::LPARAM,
1511 pub lpfnPrintHook: LPPRINTHOOKPROC,
1512 pub lpfnSetupHook: LPSETUPHOOKPROC,
1513 pub lpPrintTemplateName: ::windows_sys::core::PCWSTR,
1514 pub lpSetupTemplateName: ::windows_sys::core::PCWSTR,
1515 pub hPrintTemplate: super::super::super::Foundation::HGLOBAL,
1516 pub hSetupTemplate: super::super::super::Foundation::HGLOBAL,
1517 }
1518 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1519 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1520 impl ::core::marker::Copy for PRINTDLGW {}
1521 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1522 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1523 impl ::core::clone::Clone for PRINTDLGW {
1524 fn clone(&self) -> Self {
1525 *self
1526 }
1527 }
1528 #[repr(C, packed(1))]
1529 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
1530 #[cfg(target_arch = "x86")]
1531 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1532 pub struct PRINTDLGW {
1533 pub lStructSize: u32,
1534 pub hwndOwner: super::super::super::Foundation::HWND,
1535 pub hDevMode: super::super::super::Foundation::HGLOBAL,
1536 pub hDevNames: super::super::super::Foundation::HGLOBAL,
1537 pub hDC: super::super::super::Graphics::Gdi::HDC,
1538 pub Flags: PRINTDLGEX_FLAGS,
1539 pub nFromPage: u16,
1540 pub nToPage: u16,
1541 pub nMinPage: u16,
1542 pub nMaxPage: u16,
1543 pub nCopies: u16,
1544 pub hInstance: super::super::super::Foundation::HINSTANCE,
1545 pub lCustData: super::super::super::Foundation::LPARAM,
1546 pub lpfnPrintHook: LPPRINTHOOKPROC,
1547 pub lpfnSetupHook: LPSETUPHOOKPROC,
1548 pub lpPrintTemplateName: ::windows_sys::core::PCWSTR,
1549 pub lpSetupTemplateName: ::windows_sys::core::PCWSTR,
1550 pub hPrintTemplate: super::super::super::Foundation::HGLOBAL,
1551 pub hSetupTemplate: super::super::super::Foundation::HGLOBAL,
1552 }
1553 #[cfg(target_arch = "x86")]
1554 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1555 impl ::core::marker::Copy for PRINTDLGW {}
1556 #[cfg(target_arch = "x86")]
1557 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1558 impl ::core::clone::Clone for PRINTDLGW {
1559 fn clone(&self) -> Self {
1560 *self
1561 }
1562 }
1563 #[repr(C)]
1564 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1565 pub struct PRINTPAGERANGE {
1566 pub nFromPage: u32,
1567 pub nToPage: u32,
1568 }
1569 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1570 impl ::core::marker::Copy for PRINTPAGERANGE {}
1571 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1572 impl ::core::clone::Clone for PRINTPAGERANGE {
1573 fn clone(&self) -> Self {
1574 *self
1575 }
1576 }
1577 #[repr(C, packed(1))]
1578 #[cfg(target_arch = "x86")]
1579 pub struct PRINTPAGERANGE {
1580 pub nFromPage: u32,
1581 pub nToPage: u32,
1582 }
1583 #[cfg(target_arch = "x86")]
1584 impl ::core::marker::Copy for PRINTPAGERANGE {}
1585 #[cfg(target_arch = "x86")]
1586 impl ::core::clone::Clone for PRINTPAGERANGE {
1587 fn clone(&self) -> Self {
1588 *self
1589 }
1590 }
1591 #[doc = "Required features: `\"Win32_Foundation\"`"]
1592 #[cfg(feature = "Win32_Foundation")]
1593 pub type LPCCHOOKPROC = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Foundation::HWND, param1: u32, param2: super::super::super::Foundation::WPARAM, param3: super::super::super::Foundation::LPARAM) -> usize>;
1594 #[doc = "Required features: `\"Win32_Foundation\"`"]
1595 #[cfg(feature = "Win32_Foundation")]
1596 pub type LPCFHOOKPROC = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Foundation::HWND, param1: u32, param2: super::super::super::Foundation::WPARAM, param3: super::super::super::Foundation::LPARAM) -> usize>;
1597 #[doc = "Required features: `\"Win32_Foundation\"`"]
1598 #[cfg(feature = "Win32_Foundation")]
1599 pub type LPFRHOOKPROC = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Foundation::HWND, param1: u32, param2: super::super::super::Foundation::WPARAM, param3: super::super::super::Foundation::LPARAM) -> usize>;
1600 #[doc = "Required features: `\"Win32_Foundation\"`"]
1601 #[cfg(feature = "Win32_Foundation")]
1602 pub type LPOFNHOOKPROC = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Foundation::HWND, param1: u32, param2: super::super::super::Foundation::WPARAM, param3: super::super::super::Foundation::LPARAM) -> usize>;
1603 #[doc = "Required features: `\"Win32_Foundation\"`"]
1604 #[cfg(feature = "Win32_Foundation")]
1605 pub type LPPAGEPAINTHOOK = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Foundation::HWND, param1: u32, param2: super::super::super::Foundation::WPARAM, param3: super::super::super::Foundation::LPARAM) -> usize>;
1606 #[doc = "Required features: `\"Win32_Foundation\"`"]
1607 #[cfg(feature = "Win32_Foundation")]
1608 pub type LPPAGESETUPHOOK = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Foundation::HWND, param1: u32, param2: super::super::super::Foundation::WPARAM, param3: super::super::super::Foundation::LPARAM) -> usize>;
1609 #[doc = "Required features: `\"Win32_Foundation\"`"]
1610 #[cfg(feature = "Win32_Foundation")]
1611 pub type LPPRINTHOOKPROC = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Foundation::HWND, param1: u32, param2: super::super::super::Foundation::WPARAM, param3: super::super::super::Foundation::LPARAM) -> usize>;
1612 #[doc = "Required features: `\"Win32_Foundation\"`"]
1613 #[cfg(feature = "Win32_Foundation")]
1614 pub type LPSETUPHOOKPROC = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Foundation::HWND, param1: u32, param2: super::super::super::Foundation::WPARAM, param3: super::super::super::Foundation::LPARAM) -> usize>;