7 #define IDI_CPSUI_ICONID_FIRST 64000
9 #define IDI_CPSUI_EMPTY 64000
10 #define IDI_CPSUI_SEL_NONE 64001
11 #define IDI_CPSUI_WARNING 64002
12 #define IDI_CPSUI_NO 64003
13 #define IDI_CPSUI_YES 64004
14 #define IDI_CPSUI_FALSE 64005
15 #define IDI_CPSUI_TRUE 64006
16 #define IDI_CPSUI_OFF 64007
17 #define IDI_CPSUI_ON 64008
18 #define IDI_CPSUI_PAPER_OUTPUT 64009
19 #define IDI_CPSUI_ENVELOPE 64010
20 #define IDI_CPSUI_MEM 64011
21 #define IDI_CPSUI_FONTCARTHDR 64012
22 #define IDI_CPSUI_FONTCART 64013
23 #define IDI_CPSUI_STAPLER_ON 64014
24 #define IDI_CPSUI_STAPLER_OFF 64015
25 #define IDI_CPSUI_HT_HOST 64016
26 #define IDI_CPSUI_HT_DEVICE 64017
27 #define IDI_CPSUI_TT_PRINTASGRAPHIC 64018
28 #define IDI_CPSUI_TT_DOWNLOADSOFT 64019
29 #define IDI_CPSUI_TT_DOWNLOADVECT 64020
30 #define IDI_CPSUI_TT_SUBDEV 64021
31 #define IDI_CPSUI_PORTRAIT 64022
32 #define IDI_CPSUI_LANDSCAPE 64023
33 #define IDI_CPSUI_ROT_LAND 64024
34 #define IDI_CPSUI_AUTOSEL 64025
35 #define IDI_CPSUI_PAPER_TRAY 64026
36 #define IDI_CPSUI_PAPER_TRAY2 64027
37 #define IDI_CPSUI_PAPER_TRAY3 64028
38 #define IDI_CPSUI_TRANSPARENT 64029
39 #define IDI_CPSUI_COLLATE 64030
40 #define IDI_CPSUI_DUPLEX_NONE 64031
41 #define IDI_CPSUI_DUPLEX_HORZ 64032
42 #define IDI_CPSUI_DUPLEX_VERT 64033
43 #define IDI_CPSUI_RES_DRAFT 64034
44 #define IDI_CPSUI_RES_LOW 64035
45 #define IDI_CPSUI_RES_MEDIUM 64036
46 #define IDI_CPSUI_RES_HIGH 64037
47 #define IDI_CPSUI_RES_PRESENTATION 64038
48 #define IDI_CPSUI_MONO 64039
49 #define IDI_CPSUI_COLOR 64040
50 #define IDI_CPSUI_DITHER_NONE 64041
51 #define IDI_CPSUI_DITHER_COARSE 64042
52 #define IDI_CPSUI_DITHER_FINE 64043
53 #define IDI_CPSUI_DITHER_LINEART 64044
54 #define IDI_CPSUI_SCALING 64045
55 #define IDI_CPSUI_COPY 64046
56 #define IDI_CPSUI_HTCLRADJ 64047
57 #define IDI_CPSUI_HALFTONE_SETUP 64048
58 #define IDI_CPSUI_WATERMARK 64049
59 #define IDI_CPSUI_ERROR 64050
60 #define IDI_CPSUI_ICM_OPTION 64051
61 #define IDI_CPSUI_ICM_METHOD 64052
62 #define IDI_CPSUI_ICM_INTENT 64053
63 #define IDI_CPSUI_STD_FORM 64054
64 #define IDI_CPSUI_OUTBIN 64055
65 #define IDI_CPSUI_OUTPUT 64056
66 #define IDI_CPSUI_GRAPHIC 64057
67 #define IDI_CPSUI_ADVANCE 64058
68 #define IDI_CPSUI_DOCUMENT 64059
69 #define IDI_CPSUI_DEVICE 64060
70 #define IDI_CPSUI_DEVICE2 64061
71 #define IDI_CPSUI_PRINTER 64062
72 #define IDI_CPSUI_PRINTER2 64063
73 #define IDI_CPSUI_PRINTER3 64064
74 #define IDI_CPSUI_PRINTER4 64065
75 #define IDI_CPSUI_OPTION 64066
76 #define IDI_CPSUI_OPTION2 64067
77 #define IDI_CPSUI_STOP 64068
78 #define IDI_CPSUI_NOTINSTALLED 64069
79 #define IDI_CPSUI_WARNING_OVERLAY 64070
80 #define IDI_CPSUI_STOP_WARNING_OVERLAY 64071
81 #define IDI_CPSUI_GENERIC_OPTION 64072
82 #define IDI_CPSUI_GENERIC_ITEM 64073
83 #define IDI_CPSUI_RUN_DIALOG 64074
84 #define IDI_CPSUI_QUESTION 64075
85 #define IDI_CPSUI_FORMTRAYASSIGN 64076
86 #define IDI_CPSUI_PRINTER_FOLDER 64077
87 #define IDI_CPSUI_INSTALLABLE_OPTION 64078
88 #define IDI_CPSUI_PRINTER_FEATURE 64079
89 #define IDI_CPSUI_DEVICE_FEATURE 64080
90 #define IDI_CPSUI_FONTSUB 64081
91 #define IDI_CPSUI_POSTSCRIPT 64082
92 #define IDI_CPSUI_TELEPHONE 64083
93 #define IDI_CPSUI_DUPLEX_NONE_L 64084
94 #define IDI_CPSUI_DUPLEX_HORZ_L 64085
95 #define IDI_CPSUI_DUPLEX_VERT_L 64086
96 #define IDI_CPSUI_LF_PEN_PLOTTER 64087
97 #define IDI_CPSUI_SF_PEN_PLOTTER 64088
98 #define IDI_CPSUI_LF_RASTER_PLOTTER 64089
99 #define IDI_CPSUI_SF_RASTER_PLOTTER 64090
100 #define IDI_CPSUI_ROLL_PAPER 64091
101 #define IDI_CPSUI_PEN_CARROUSEL 64092
102 #define IDI_CPSUI_PLOTTER_PEN 64093
103 #define IDI_CPSUI_MANUAL_FEED 64094
104 #define IDI_CPSUI_FAX 64095
105 #define IDI_CPSUI_PAGE_PROTECT 64096
106 #define IDI_CPSUI_ENVELOPE_FEED 64097
107 #define IDI_CPSUI_FONTCART_SLOT 64098
108 #define IDI_CPSUI_LAYOUT_BMP_PORTRAIT 64099
109 #define IDI_CPSUI_LAYOUT_BMP_ARROWL 64100
110 #define IDI_CPSUI_LAYOUT_BMP_ARROWS 64101
111 #define IDI_CPSUI_LAYOUT_BMP_BOOKLETL 64102
112 #define IDI_CPSUI_LAYOUT_BMP_BOOKLETP 64103
113 #if (NTDDI_VERSION >= NTDDI_VISTA)
114 #define IDI_CPSUI_LAYOUT_BMP_ARROWLR 64104
115 #define IDI_CPSUI_LAYOUT_BMP_ROT_PORT 64105
116 #define IDI_CPSUI_LAYOUT_BMP_BOOKLETL_NB 64106
117 #define IDI_CPSUI_LAYOUT_BMP_BOOKLETP_NB 64107
118 #define IDI_CPSUI_ROT_PORT 64110
119 #define IDI_CPSUI_NUP_BORDER 64111
120 #define IDI_CPSUI_ICONID_LAST 64111
122 #define IDI_CPSUI_ICONID_LAST 64103
125 #define IDS_CPSUI_STRID_FIRST 64700
127 #define IDS_CPSUI_SETUP 64700
128 #define IDS_CPSUI_MORE 64701
129 #define IDS_CPSUI_CHANGE 64702
130 #define IDS_CPSUI_OPTION 64703
131 #define IDS_CPSUI_OF 64704
132 #define IDS_CPSUI_RANGE_FROM 64705
133 #define IDS_CPSUI_TO 64706
134 #define IDS_CPSUI_COLON_SEP 64707
135 #define IDS_CPSUI_LEFT_ANGLE 64708
136 #define IDS_CPSUI_RIGHT_ANGLE 64709
137 #define IDS_CPSUI_SLASH_SEP 64710
138 #define IDS_CPSUI_PERCENT 64711
139 #define IDS_CPSUI_LBCB_NOSEL 64712
140 #define IDS_CPSUI_PROPERTIES 64713
141 #define IDS_CPSUI_DEFAULTDOCUMENT 64714
142 #define IDS_CPSUI_DOCUMENT 64715
143 #define IDS_CPSUI_ADVANCEDOCUMENT 64716
144 #define IDS_CPSUI_PRINTER 64717
145 #define IDS_CPSUI_AUTOSELECT 64718
146 #define IDS_CPSUI_PAPER_OUTPUT 64719
147 #define IDS_CPSUI_GRAPHIC 64720
148 #define IDS_CPSUI_OPTIONS 64721
149 #define IDS_CPSUI_ADVANCED 64722
150 #define IDS_CPSUI_STDDOCPROPTAB 64723
151 #define IDS_CPSUI_STDDOCPROPTVTAB 64724
152 #define IDS_CPSUI_DEVICEOPTIONS 64725
153 #define IDS_CPSUI_FALSE 64726
154 #define IDS_CPSUI_TRUE 64727
155 #define IDS_CPSUI_NO 64728
156 #define IDS_CPSUI_YES 64729
157 #define IDS_CPSUI_OFF 64730
158 #define IDS_CPSUI_ON 64731
159 #define IDS_CPSUI_DEFAULT 64732
160 #define IDS_CPSUI_ERROR 64733
161 #define IDS_CPSUI_NONE 64734
162 #define IDS_CPSUI_NOT 64735
163 #define IDS_CPSUI_EXIST 64736
164 #define IDS_CPSUI_NOTINSTALLED 64737
165 #define IDS_CPSUI_ORIENTATION 64738
166 #define IDS_CPSUI_SCALING 64739
167 #define IDS_CPSUI_NUM_OF_COPIES 64740
168 #define IDS_CPSUI_SOURCE 64741
169 #define IDS_CPSUI_PRINTQUALITY 64742
170 #define IDS_CPSUI_RESOLUTION 64743
171 #define IDS_CPSUI_COLOR_APPERANCE 64744
172 #define IDS_CPSUI_DUPLEX 64745
173 #define IDS_CPSUI_TTOPTION 64746
174 #define IDS_CPSUI_FORMNAME 64747
175 #define IDS_CPSUI_ICM 64748
176 #define IDS_CPSUI_ICMMETHOD 64749
177 #define IDS_CPSUI_ICMINTENT 64750
178 #define IDS_CPSUI_MEDIA 64751
179 #define IDS_CPSUI_DITHERING 64752
180 #define IDS_CPSUI_PORTRAIT 64753
181 #define IDS_CPSUI_LANDSCAPE 64754
182 #define IDS_CPSUI_ROT_LAND 64755
183 #define IDS_CPSUI_COLLATE 64756
184 #define IDS_CPSUI_COLLATED 64757
185 #define IDS_CPSUI_PRINTFLDSETTING 64758
186 #define IDS_CPSUI_DRAFT 64759
187 #define IDS_CPSUI_LOW 64760
188 #define IDS_CPSUI_MEDIUM 64761
189 #define IDS_CPSUI_HIGH 64762
190 #define IDS_CPSUI_PRESENTATION 64763
191 #define IDS_CPSUI_COLOR 64764
192 #define IDS_CPSUI_GRAYSCALE 64765
193 #define IDS_CPSUI_MONOCHROME 64766
194 #define IDS_CPSUI_SIMPLEX 64767
195 #define IDS_CPSUI_HORIZONTAL 64768
196 #define IDS_CPSUI_VERTICAL 64769
197 #define IDS_CPSUI_LONG_SIDE 64770
198 #define IDS_CPSUI_SHORT_SIDE 64771
199 #define IDS_CPSUI_TT_PRINTASGRAPHIC 64772
200 #define IDS_CPSUI_TT_DOWNLOADSOFT 64773
201 #define IDS_CPSUI_TT_DOWNLOADVECT 64774
202 #define IDS_CPSUI_TT_SUBDEV 64775
203 #define IDS_CPSUI_ICM_BLACKWHITE 64776
204 #define IDS_CPSUI_ICM_NO 64777
205 #define IDS_CPSUI_ICM_YES 64778
206 #define IDS_CPSUI_ICM_SATURATION 64779
207 #define IDS_CPSUI_ICM_CONTRAST 64780
208 #define IDS_CPSUI_ICM_COLORMETRIC 64781
209 #define IDS_CPSUI_STANDARD 64782
210 #define IDS_CPSUI_GLOSSY 64783
211 #define IDS_CPSUI_TRANSPARENCY 64784
212 #define IDS_CPSUI_REGULAR 64785
213 #define IDS_CPSUI_BOND 64786
214 #define IDS_CPSUI_COARSE 64787
215 #define IDS_CPSUI_FINE 64788
216 #define IDS_CPSUI_LINEART 64789
217 #define IDS_CPSUI_ERRDIFFUSE 64790
218 #define IDS_CPSUI_HALFTONE 64791
219 #define IDS_CPSUI_HTCLRADJ 64792
220 #define IDS_CPSUI_USE_HOST_HT 64793
221 #define IDS_CPSUI_USE_DEVICE_HT 64794
222 #define IDS_CPSUI_USE_PRINTER_HT 64795
223 #define IDS_CPSUI_OUTBINASSIGN 64796
224 #define IDS_CPSUI_WATERMARK 64797
225 #define IDS_CPSUI_FORMTRAYASSIGN 64798
226 #define IDS_CPSUI_UPPER_TRAY 64799
227 #define IDS_CPSUI_ONLYONE 64800
228 #define IDS_CPSUI_LOWER_TRAY 64801
229 #define IDS_CPSUI_MIDDLE_TRAY 64802
230 #define IDS_CPSUI_MANUAL_TRAY 64803
231 #define IDS_CPSUI_ENVELOPE_TRAY 64804
232 #define IDS_CPSUI_ENVMANUAL_TRAY 64805
233 #define IDS_CPSUI_TRACTOR_TRAY 64806
234 #define IDS_CPSUI_SMALLFMT_TRAY 64807
235 #define IDS_CPSUI_LARGEFMT_TRAY 64808
236 #define IDS_CPSUI_LARGECAP_TRAY 64809
237 #define IDS_CPSUI_CASSETTE_TRAY 64810
238 #define IDS_CPSUI_DEFAULT_TRAY 64811
239 #define IDS_CPSUI_FORMSOURCE 64812
240 #define IDS_CPSUI_MANUALFEED 64813
241 #define IDS_CPSUI_PRINTERMEM_KB 64814
242 #define IDS_CPSUI_PRINTERMEM_MB 64815
243 #define IDS_CPSUI_PAGEPROTECT 64816
244 #define IDS_CPSUI_HALFTONE_SETUP 64817
245 #define IDS_CPSUI_INSTFONTCART 64818
246 #define IDS_CPSUI_SLOT1 64819
247 #define IDS_CPSUI_SLOT2 64820
248 #define IDS_CPSUI_SLOT3 64821
249 #define IDS_CPSUI_SLOT4 64822
250 #define IDS_CPSUI_LEFT_SLOT 64823
251 #define IDS_CPSUI_RIGHT_SLOT 64824
252 #define IDS_CPSUI_STAPLER 64825
253 #define IDS_CPSUI_STAPLER_ON 64826
254 #define IDS_CPSUI_STAPLER_OFF 64827
255 #define IDS_CPSUI_STACKER 64828
256 #define IDS_CPSUI_MAILBOX 64829
257 #define IDS_CPSUI_COPY 64830
258 #define IDS_CPSUI_COPIES 64831
259 #define IDS_CPSUI_TOTAL 64832
260 #define IDS_CPSUI_MAKE 64833
261 #define IDS_CPSUI_PRINT 64834
262 #define IDS_CPSUI_FAX 64835
263 #define IDS_CPSUI_PLOT 64836
264 #define IDS_CPSUI_SLOW 64837
265 #define IDS_CPSUI_FAST 64838
266 #define IDS_CPSUI_ROTATED 64839
267 #define IDS_CPSUI_RESET 64840
268 #define IDS_CPSUI_ALL 64841
269 #define IDS_CPSUI_DEVICE 64842
270 #define IDS_CPSUI_SETTINGS 64843
271 #define IDS_CPSUI_REVERT 64844
272 #define IDS_CPSUI_CHANGES 64845
273 #define IDS_CPSUI_CHANGED 64846
274 #define IDS_CPSUI_WARNING 64847
275 #define IDS_CPSUI_ABOUT 64848
276 #define IDS_CPSUI_VERSION 64849
277 #define IDS_CPSUI_NO_NAME 64850
278 #define IDS_CPSUI_SETTING 64851
279 #define IDS_CPSUI_DEVICE_SETTINGS 64852
280 #define IDS_CPSUI_STDDOCPROPTAB1 64853
281 #define IDS_CPSUI_STDDOCPROPTAB2 64854
282 #define IDS_CPSUI_PAGEORDER 64855
283 #define IDS_CPSUI_FRONTTOBACK 64856
284 #define IDS_CPSUI_BACKTOFRONT 64857
285 #define IDS_CPSUI_QUALITY_SETTINGS 64858
286 #define IDS_CPSUI_QUALITY_DRAFT 64859
287 #define IDS_CPSUI_QUALITY_BETTER 64860
288 #define IDS_CPSUI_QUALITY_BEST 64861
289 #define IDS_CPSUI_QUALITY_CUSTOM 64862
290 #define IDS_CPSUI_OUTPUTBIN 64863
291 #define IDS_CPSUI_NUP 64864
292 #define IDS_CPSUI_NUP_NORMAL 64865
293 #define IDS_CPSUI_NUP_TWOUP 64866
294 #define IDS_CPSUI_NUP_FOURUP 64867
295 #define IDS_CPSUI_NUP_SIXUP 64868
296 #define IDS_CPSUI_NUP_NINEUP 64869
297 #define IDS_CPSUI_NUP_SIXTEENUP 64870
298 #define IDS_CPSUI_SIDE1 64871
299 #define IDS_CPSUI_SIDE2 64872
300 #define IDS_CPSUI_BOOKLET 64873
301 #if (NTDDI_VERSION >= NTDDI_VISTA)
302 #define IDS_CPSUI_POSTER 64874
303 #define IDS_CPSUI_POSTER_2x2 64875
304 #define IDS_CPSUI_POSTER_3x3 64876
305 #define IDS_CPSUI_POSTER_4x4 64877
306 #define IDS_CPSUI_NUP_DIRECTION 64878
307 #define IDS_CPSUI_RIGHT_THEN_DOWN 64879
308 #define IDS_CPSUI_DOWN_THEN_RIGHT 64880
309 #define IDS_CPSUI_LEFT_THEN_DOWN 64881
310 #define IDS_CPSUI_DOWN_THEN_LEFT 64882
311 #define IDS_CPSUI_MANUAL_DUPLEX 64883
312 #define IDS_CPSUI_MANUAL_DUPLEX_ON 64884
313 #define IDS_CPSUI_MANUAL_DUPLEX_OFF 64885
314 #define IDS_CPSUI_ROT_PORT 64886
315 #define IDS_CPSUI_STAPLE 64887
316 #define IDS_CPSUI_BOOKLET_EDGE 64888
317 #define IDS_CPSUI_BOOKLET_EDGE_LEFT 64889
318 #define IDS_CPSUI_BOOKLET_EDGE_RIGHT 64890
319 #define IDS_CPSUI_NUP_BORDER 64891
320 #define IDS_CPSUI_NUP_BORDERED 64892
321 #define IDS_CPSUI_STRID_LAST 64892
323 #define IDS_CPSUI_STRID_LAST 64873
326 #if (!defined(RC_INVOKED))
330 #define TVOT_2STATES 0
331 #define TVOT_3STATES 1
332 #define TVOT_UDARROW 2
333 #define TVOT_TRACKBAR 3
334 #define TVOT_SCROLLBAR 4
335 #define TVOT_LISTBOX 5
336 #define TVOT_COMBOBOX 6
337 #define TVOT_EDITBOX 7
338 #define TVOT_PUSHBUTTON 8
339 #define TVOT_CHKBOX 9
340 #if (NTDDI_VERSION >= NTDDI_VISTA)
341 #define TVOT_NSTATES_EX 10
342 #define TVOT_LAST TVOT_NSTATES_EX
344 #define TVOT_LAST TVOT_CHKBOX
346 #define TVOT_NONE (TVOT_LAST + 1)
348 #define CHKBOXS_FALSE_TRUE 0
349 #define CHKBOXS_NO_YES 1
350 #define CHKBOXS_OFF_ON 2
351 #define CHKBOXS_FALSE_PDATA 3
352 #define CHKBOXS_NO_PDATA 4
353 #define CHKBOXS_OFF_PDATA 5
354 #define CHKBOXS_NONE_PDATA 6
356 #define PUSHBUTTON_TYPE_DLGPROC 0
357 #define PUSHBUTTON_TYPE_CALLBACK 1
358 #define PUSHBUTTON_TYPE_HTCLRADJ 2
359 #define PUSHBUTTON_TYPE_HTSETUP 3
361 #define MAX_RES_STR_CHARS 160
363 #define OPTPF_HIDE 0x01
364 #define OPTPF_DISABLED 0x02
365 #define OPTPF_ICONID_AS_HICON 0x04
366 #define OPTPF_OVERLAY_WARNING_ICON 0x08
367 #define OPTPF_OVERLAY_STOP_ICON 0x10
368 #define OPTPF_OVERLAY_NO_ICON 0x20
369 #define OPTPF_USE_HDLGTEMPLATE 0x40
371 #if (NTDDI_VERSION >= NTDDI_VISTA)
372 #define OPTPF_MASK 0x7f
375 #if (NTDDI_VERSION >= NTDDI_VISTA)
376 #define OPTCF_HIDE 0x01
377 #define OPTCF_MASK 0x01
380 #define OPTTF_TYPE_DISABLED 0x01
381 #define OPTTF_NOSPACE_BEFORE_POSTFIX 0x02
383 #if (NTDDI_VERSION >= NTDDI_VISTA)
384 #define OPTTF_MASK 0x03
387 #define OTS_LBCB_SORT 0x0001
388 #define OTS_LBCB_PROPPAGE_LBUSECB 0x0002
389 #define OTS_LBCB_PROPPAGE_CBUSELB 0x0004
390 #define OTS_LBCB_INCL_ITEM_NONE 0x0008
391 #define OTS_LBCB_NO_ICON16_IN_ITEM 0x0010
392 #define OTS_PUSH_INCL_SETUP_TITLE 0x0020
393 #define OTS_PUSH_NO_DOT_DOT_DOT 0x0040
394 #define OTS_PUSH_ENABLE_ALWAYS 0x0080
396 #if (NTDDI_VERSION >= NTDDI_VISTA)
397 #define OTS_MASK 0x00ff
400 #define EPF_PUSH_TYPE_DLGPROC 0x0001
401 #define EPF_INCL_SETUP_TITLE 0x0002
402 #define EPF_NO_DOT_DOT_DOT 0x0004
403 #define EPF_ICONID_AS_HICON 0x0008
404 #define EPF_OVERLAY_WARNING_ICON 0x0010
405 #define EPF_OVERLAY_STOP_ICON 0x0020
406 #define EPF_OVERLAY_NO_ICON 0x0040
407 #define EPF_USE_HDLGTEMPLATE 0x0080
409 #if (NTDDI_VERSION >= NTDDI_VISTA)
410 #define EPF_MASK 0x00ff
413 #define ECBF_CHECKNAME_AT_FRONT 0x0001
414 #define ECBF_CHECKNAME_ONLY_ENABLED 0x0002
415 #define ECBF_ICONID_AS_HICON 0x0004
416 #define ECBF_OVERLAY_WARNING_ICON 0x0008
417 #define ECBF_OVERLAY_ECBICON_IF_CHECKED 0x0010
418 #define ECBF_OVERLAY_STOP_ICON 0x0020
419 #define ECBF_OVERLAY_NO_ICON 0x0040
420 #define ECBF_CHECKNAME_ONLY 0x0080
422 #if (NTDDI_VERSION >= NTDDI_VISTA)
423 #define ECBF_MASK 0x00ff
426 #define OPTIF_COLLAPSE 0x00000001L
427 #define OPTIF_HIDE 0x00000002L
428 #define OPTIF_CALLBACK 0x00000004L
429 #define OPTIF_CHANGED 0x00000008L
430 #define OPTIF_CHANGEONCE 0x00000010L
431 #define OPTIF_DISABLED 0x00000020L
432 #define OPTIF_ECB_CHECKED 0x00000040L
433 #define OPTIF_EXT_HIDE 0x00000080L
434 #define OPTIF_EXT_DISABLED 0x00000100L
435 #define OPTIF_SEL_AS_HICON 0x00000200L
436 #define OPTIF_EXT_IS_EXTPUSH 0x00000400L
437 #define OPTIF_NO_GROUPBOX_NAME 0x00000800L
438 #define OPTIF_OVERLAY_WARNING_ICON 0x00001000L
439 #define OPTIF_OVERLAY_STOP_ICON 0x00002000L
440 #define OPTIF_OVERLAY_NO_ICON 0x00004000L
441 #define OPTIF_INITIAL_TVITEM 0x00008000L
442 #define OPTIF_HAS_POIEXT 0x00010000L
444 #define OPTIF_MASK 0x0001ffffL
448 #define DMPUB_FIRST 1
450 #define DMPUB_ORIENTATION 1
451 #define DMPUB_SCALE 2
452 #define DMPUB_COPIES_COLLATE 3
453 #define DMPUB_DEFSOURCE 4
454 #define DMPUB_PRINTQUALITY 5
455 #define DMPUB_COLOR 6
456 #define DMPUB_DUPLEX 7
457 #define DMPUB_TTOPTION 8
458 #define DMPUB_FORMNAME 9
459 #define DMPUB_ICMMETHOD 10
460 #define DMPUB_ICMINTENT 11
461 #define DMPUB_MEDIATYPE 12
462 #define DMPUB_DITHERTYPE 13
463 #define DMPUB_OUTPUTBIN 14
464 #define DMPUB_QUALITY 15
466 #define DMPUB_PAGEORDER 17
467 #if (NTDDI_VERSION >= NTDDI_VISTA)
468 #define DMPUB_NUP_DIRECTION 18
469 #define DMPUB_MANUAL_DUPLEX 19
470 #define DMPUB_STAPLE 20
471 #define DMPUB_BOOKLET_EDGE 21
472 #define DMPUB_LAST 21
474 #define DMPUB_LAST 17
477 #define DMPUB_OEM_PAPER_ITEM 97
478 #define DMPUB_OEM_GRAPHIC_ITEM 98
479 #define DMPUB_OEM_ROOT_ITEM 99
480 #define DMPUB_USER 100
482 #define MAKE_DMPUB_HIDEBIT(DMPub) (DWORD)(((DWORD)0x01 << ((DMPub) - 1)))
483 #define IS_DMPUB_HIDDEN(dw, DMPub) (BOOL)((DWORD)(dw) & MAKE_DMPUB_HIDEBIT(DMPub))
485 #define OIEXTF_ANSI_STRING 0x0001
487 #define CPSUICB_REASON_SEL_CHANGED 0
488 #define CPSUICB_REASON_PUSHBUTTON 1
489 #define CPSUICB_REASON_ECB_CHANGED 2
490 #define CPSUICB_REASON_DLGPROC 3
491 #define CPSUICB_REASON_UNDO_CHANGES 4
492 #define CPSUICB_REASON_EXTPUSH 5
493 #define CPSUICB_REASON_APPLYNOW 6
494 #define CPSUICB_REASON_OPTITEM_SETFOCUS 7
495 #define CPSUICB_REASON_ITEMS_REVERTED 8
496 #define CPSUICB_REASON_ABOUT 9
497 #define CPSUICB_REASON_SETACTIVE 10
498 #define CPSUICB_REASON_KILLACTIVE 11
500 #define CPSUICB_ACTION_NONE 0
501 #define CPSUICB_ACTION_OPTIF_CHANGED 1
502 #define CPSUICB_ACTION_REINIT_ITEMS 2
503 #define CPSUICB_ACTION_NO_APPLY_EXIT 3
504 #define CPSUICB_ACTION_ITEMS_APPLIED 4
506 #define DP_STD_TREEVIEWPAGE 0xFFFF
507 #define DP_STD_DOCPROPPAGE2 0xFFFE
508 #define DP_STD_DOCPROPPAGE1 0XFFFD
509 #define DP_STD_RESERVED_START 0xFFF0
511 #define MAX_DLGPAGE_COUNT 64
513 #define DPF_ICONID_AS_HICON 0x0001
514 #define DPF_USE_HDLGTEMPLATE 0x0002
516 #define CPSUIF_UPDATE_PERMISSION 0x0001
517 #define CPSUIF_ICONID_AS_HICON 0x0002
518 #define CPSUIF_ABOUT_CALLBACK 0x0004
520 #define CPSUI_PDLGPAGE_DOCPROP (PDLGPAGE)1
521 #define CPSUI_PDLGPAGE_ADVDOCPROP (PDLGPAGE)2
522 #define CPSUI_PDLGPAGE_PRINTERPROP (PDLGPAGE)3
523 #define CPSUI_PDLGPAGE_TREEVIEWONLY (PDLGPAGE)4
525 #define CPSUI_PDLGPAGE_TREEVIWONLY CPSUI_PDLGPAGE_TREEVIEWONLY
527 #define CPSFUNC_ADD_HPROPSHEETPAGE 0
528 #define CPSFUNC_ADD_PROPSHEETPAGEW 1
529 #define CPSFUNC_ADD_PCOMPROPSHEETUIA 2
530 #define CPSFUNC_ADD_PCOMPROPSHEETUIW 3
531 #define CPSFUNC_ADD_PFNPROPSHEETUIA 4
532 #define CPSFUNC_ADD_PFNPROPSHEETUIW 5
533 #define CPSFUNC_DELETE_HCOMPROPSHEET 6
534 #define CPSFUNC_SET_HSTARTPAGE 7
535 #define CPSFUNC_GET_PAGECOUNT 8
536 #define CPSFUNC_SET_RESULT 9
537 #define CPSFUNC_GET_HPSUIPAGES 10
538 #define CPSFUNC_LOAD_CPSUI_STRINGA 11
539 #define CPSFUNC_LOAD_CPSUI_STRINGW 12
540 #define CPSFUNC_LOAD_CPSUI_ICON 13
541 #define CPSFUNC_GET_PFNPROPSHEETUI_ICON 14
542 #define CPSFUNC_ADD_PROPSHEETPAGEA 15
543 #define CPSFUNC_INSERT_PSUIPAGEA 16
544 #define CPSFUNC_INSERT_PSUIPAGEW 17
545 #define CPSFUNC_SET_PSUIPAGE_TITLEA 18
546 #define CPSFUNC_SET_PSUIPAGE_TITLEW 19
547 #define CPSFUNC_SET_PSUIPAGE_ICON 20
548 #define CPSFUNC_SET_DATABLOCK 21
549 #define CPSFUNC_QUERY_DATABLOCK 22
550 #define CPSFUNC_SET_DMPUB_HIDEBITS 23
551 #define CPSFUNC_IGNORE_CPSUI_PSN_APPLY 24
552 #define CPSFUNC_DO_APPLY_CPSUI 25
554 #if (NTDDI_VERSION >= NTDDI_WINXP)
555 #define CPSFUNC_SET_FUSION_CONTEXT 26
556 #define MAX_CPSFUNC_INDEX 26
558 #define MAX_CPSFUNC_INDEX 25
562 #define CPSFUNC_ADD_PCOMPROPSHEETUI CPSFUNC_ADD_PCOMPROPSHEETUIW
563 #define CPSFUNC_ADD_PFNPROPSHEETUI CPSFUNC_ADD_PFNPROPSHEETUIW
564 #define CPSFUNC_LOAD_CPSUI_STRING CPSFUNC_LOAD_CPSUI_STRINGW
565 #define CPSFUNC_ADD_PROPSHEETPAGE CPSFUNC_ADD_PROPSHEETPAGEW
566 #define CPSFUNC_INSERT_PSUIPAGE CPSFUNC_INSERT_PSUIPAGEW
567 #define CPSFUNC_SET_PSUIPAGE_TITLE CPSFUNC_SET_PSUIPAGE_TITLEW
570 #define CPSFUNC_ADD_PCOMPROPSHEETUI CPSFUNC_ADD_PCOMPROPSHEETUIA
571 #define CPSFUNC_ADD_PFNPROPSHEETUI CPSFUNC_ADD_PFNPROPSHEETUIA
572 #define CPSFUNC_LOAD_CPSUI_STRING CPSFUNC_LOAD_CPSUI_STRINGA
573 #define CPSFUNC_ADD_PROPSHEETPAGE CPSFUNC_ADD_PROPSHEETPAGEA
574 #define CPSFUNC_INSERT_PSUIPAGE CPSFUNC_INSERT_PSUIPAGEA
575 #define CPSFUNC_SET_PSUIPAGE_TITLE CPSFUNC_SET_PSUIPAGE_TITLEA
580 #define SR_OWNER_PARENT 1
582 #define HINSPSUIPAGE_FIRST (HANDLE)0xFFFFFFFE
583 #define HINSPSUIPAGE_LAST (HANDLE)0xFFFFFFFF
584 #define HINSPSUIPAGE_INDEX(i) (HANDLE)MAKELONG(i, 0);
586 #define PSUIPAGEINSERT_GROUP_PARENT 0
587 #define PSUIPAGEINSERT_PCOMPROPSHEETUI 1
588 #define PSUIPAGEINSERT_PFNPROPSHEETUI 2
589 #define PSUIPAGEINSERT_PROPSHEETPAGE 3
590 #define PSUIPAGEINSERT_HPROPSHEETPAGE 4
591 #define PSUIPAGEINSERT_DLL 5
592 #define MAX_PSUIPAGEINSERT_INDEX 5
594 #define INSPSUIPAGE_MODE_BEFORE 0
595 #define INSPSUIPAGE_MODE_AFTER 1
596 #define INSPSUIPAGE_MODE_FIRST_CHILD 2
597 #define INSPSUIPAGE_MODE_LAST_CHILD 3
598 #define INSPSUIPAGE_MODE_INDEX 4
600 #define SSP_TVPAGE 10000
601 #define SSP_STDPAGE1 10001
602 #define SSP_STDPAGE2 10002
604 #define APPLYCPSUI_NO_NEWDEF 0x00000001
605 #define APPLYCPSUI_OK_CANCEL_BUTTON 0x00000002
607 #define PROPSHEETUI_REASON_INIT 0
608 #define PROPSHEETUI_REASON_GET_INFO_HEADER 1
609 #define PROPSHEETUI_REASON_DESTROY 2
610 #define PROPSHEETUI_REASON_SET_RESULT 3
611 #define PROPSHEETUI_REASON_GET_ICON 4
612 #define MAX_PROPSHEETUI_REASON_INDEX 4
614 #define PROPSHEETUI_INFO_VERSION 0x0100
616 #define PSUIINFO_UNICODE 0x0001
618 /* return-values for CommonPropertySheetUI on success */
619 #define CPSUI_CANCEL 0
621 #define CPSUI_RESTARTWINDOWS 2
622 #define CPSUI_REBOOTSYSTEM 3
624 #define ERR_CPSUI_GETLASTERROR -1
625 #define ERR_CPSUI_ALLOCMEM_FAILED -2
626 #define ERR_CPSUI_INVALID_PDATA -3
627 #define ERR_CPSUI_INVALID_LPARAM -4
628 #define ERR_CPSUI_NULL_HINST -5
629 #define ERR_CPSUI_NULL_CALLERNAME -6
630 #define ERR_CPSUI_NULL_OPTITEMNAME -7
631 #define ERR_CPSUI_NO_PROPSHEETPAGE -8
632 #define ERR_CPSUI_TOO_MANY_PROPSHEETPAGES -9
633 #define ERR_CPSUI_CREATEPROPPAGE_FAILED -10
634 #define ERR_CPSUI_MORE_THAN_ONE_TVPAGE -11
635 #define ERR_CPSUI_MORE_THAN_ONE_STDPAGE -12
636 #define ERR_CPSUI_INVALID_PDLGPAGE -13
637 #define ERR_CPSUI_INVALID_DLGPAGE_CBSIZE -14
638 #define ERR_CPSUI_TOO_MANY_DLGPAGES -15
639 #define ERR_CPSUI_INVALID_DLGPAGEIDX -16
640 #define ERR_CPSUI_SUBITEM_DIFF_DLGPAGEIDX -17
641 #define ERR_CPSUI_NULL_POPTITEM -18
642 #define ERR_CPSUI_INVALID_OPTITEM_CBSIZE -19
643 #define ERR_CPSUI_INVALID_OPTTYPE_CBSIZE -20
644 #define ERR_CPSUI_INVALID_OPTTYPE_COUNT -21
645 #define ERR_CPSUI_NULL_POPTPARAM -22
646 #define ERR_CPSUI_INVALID_OPTPARAM_CBSIZE -23
647 #define ERR_CPSUI_INVALID_EDITBOX_PSEL -24
648 #define ERR_CPSUI_INVALID_EDITBOX_BUF_SIZE -25
649 #define ERR_CPSUI_INVALID_ECB_CBSIZE -26
650 #define ERR_CPSUI_NULL_ECB_PTITLE -27
651 #define ERR_CPSUI_NULL_ECB_PCHECKEDNAME -28
652 #define ERR_CPSUI_INVALID_DMPUBID -29
653 #define ERR_CPSUI_INVALID_DMPUB_TVOT -30
654 #define ERR_CPSUI_CREATE_TRACKBAR_FAILED -31
655 #define ERR_CPSUI_CREATE_UDARROW_FAILED -32
656 #define ERR_CPSUI_CREATE_IMAGELIST_FAILED -33
657 #define ERR_CPSUI_INVALID_TVOT_TYPE -34
658 #define ERR_CPSUI_INVALID_LBCB_TYPE -35
659 #define ERR_CPSUI_SUBITEM_DIFF_OPTIF_HIDE -36
660 #define ERR_CPSUI_INVALID_PUSHBUTTON_TYPE -38
661 #define ERR_CPSUI_INVALID_EXTPUSH_CBSIZE -39
662 #define ERR_CPSUI_NULL_EXTPUSH_DLGPROC -40
663 #define ERR_CPSUI_NO_EXTPUSH_DLGTEMPLATEID -41
664 #define ERR_CPSUI_NULL_EXTPUSH_CALLBACK -42
665 #define ERR_CPSUI_DMCOPIES_USE_EXTPUSH -43
666 #define ERR_CPSUI_ZERO_OPTITEM -44
668 #define ERR_CPSUI_FUNCTION_NOT_IMPLEMENTED -9999
669 #define ERR_CPSUI_INTERNAL_ERROR -10000
671 #define PSUIHDRF_OBSOLETE 0x0001
672 #define PSUIHDRF_NOAPPLYNOW 0x0002
673 #define PSUIHDRF_PROPTITLE 0x0004
674 #define PSUIHDRF_USEHICON 0x0008
675 #define PSUIHDRF_DEFTITLE 0x0010
676 #define PSUIHDRF_EXACT_PTITLE 0x0020
680 #if (NTDDI_VERSION >= NTDDI_VISTA)
681 typedef struct _OPTCOMBO
{
688 } OPTCOMBO
, *POPTCOMBO
;
691 typedef struct _OPTPARAM
{
698 ULONG_PTR dwReserved
[2];
699 } OPTPARAM
, *POPTPARAM
;
701 typedef struct _OPTTYPE
{
710 ULONG_PTR dwReserved
[3];
711 } OPTTYPE
, *POPTTYPE
;
713 typedef struct _EXTPUSH
{
726 ULONG_PTR dwReserved
[3];
727 } EXTPUSH
, *PEXTPUSH
;
729 typedef struct _EXTCHKBOX
{
737 ULONG_PTR dwReserved
[2];
738 } EXTCHKBOX
, *PEXTCHKBOX
;
740 typedef struct _OIEXT
{
743 HINSTANCE hInstCaller
;
745 ULONG_PTR dwReserved
[4];
748 typedef struct _OPTITEM
{
760 PEXTCHKBOX pExtChkBox
;
769 ULONG_PTR dwReserved
[3];
770 } OPTITEM
, *POPTITEM
;
772 typedef struct _CPSUICBPARAM
{
786 } CPSUICBPARAM
, *PCPSUICBPARAM
;
789 (APIENTRY
*_CPSUICALLBACK
)(
790 PCPSUICBPARAM pCPSUICBParam
);
792 #define CPSUICALLBACK LONG APIENTRY
794 typedef struct _DLGPAGE
{
804 } DLGPAGE
, *PDLGPAGE
;
806 typedef struct _COMPROPSHEETUI
{
809 HINSTANCE hInstCaller
;
813 _CPSUICALLBACK pfnCallBack
;
822 ULONG_PTR dwReserved
[4];
823 } COMPROPSHEETUI
, *PCOMPROPSHEETUI
;
825 typedef struct _SETRESULT_INFO
{
830 } SETRESULT_INFO
, *PSETRESULT_INFO
;
832 typedef struct _INSERTPSUIPAGE_INFO
{
839 } INSERTPSUIPAGE_INFO
, *PINSERTPSUIPAGE_INFO
;
842 (CALLBACK
*PFNCOMPROPSHEET
)(
843 HANDLE hComPropSheet
,
848 typedef struct _PSPINFO
{
851 HANDLE hComPropSheet
;
853 PFNCOMPROPSHEET pfnComPropSheet
;
854 } PSPINFO
, *PPSPINFO
;
856 #define PPSPINFO_FROM_WM_INITDIALOG_LPARAM(lParam) \
857 (PPSPINFO)((LPBYTE)lParam + ((LPPROPSHEETPAGE)lParam)->dwSize)
859 typedef struct _CPSUIDATABLOCK
{
862 } CPSUIDATABLOCK
, *PCPSUIDATABLOCK
;
864 typedef struct _PROPSHEETUI_INFO
{
869 HANDLE hComPropSheet
;
870 PFNCOMPROPSHEET pfnComPropSheet
;
874 } PROPSHEETUI_INFO
, *PPROPSHEETUI_INFO
;
876 typedef struct _PROPSHEETUI_GETICON_INFO
{
882 } PROPSHEETUI_GETICON_INFO
, *PPROPSHEETUI_GETICON_INFO
;
885 (FAR
*PFNPROPSHEETUI
)(
886 PPROPSHEETUI_INFO pPSUIInfo
,
889 typedef struct _PROPSHEETUI_INFO_HEADER
{
899 } PROPSHEETUI_INFO_HEADER
, *PPROPSHEETUI_INFO_HEADER
;
905 CommonPropertySheetUIA(
907 PFNPROPSHEETUI pfnPropSheetUI
,
913 CommonPropertySheetUIW(
915 PFNPROPSHEETUI pfnPropSheetUI
,
920 #define CommonPropertySheetUI CommonPropertySheetUIW
922 #define CommonPropertySheetUI CommonPropertySheetUIA
934 ULONG_PTR CPSUIUserData
);
936 #endif /* (!defined(RC_INVOKED)) */
938 /* FIXME : These declarations doesn't exist in the official header */
939 ULONG_PTR WINAPI
GetPSTUIUserData(HWND
);
940 BOOL WINAPI
SetPSTUIUserData(HWND
, ULONG_PTR
);