Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygencompstui.h
Go to the documentation of this file.
00001 /* 00002 * compstui.h 00003 * 00004 * This file is part of the ReactOS PSDK package. 00005 * 00006 * Contributors: 00007 * Created by Amine Khaldi. 00008 * 00009 * THIS SOFTWARE IS NOT COPYRIGHTED 00010 * 00011 * This source code is offered for use in the public domain. You may 00012 * use, modify or distribute it freely. 00013 * 00014 * This code is distributed in the hope that it will be useful but 00015 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY 00016 * DISCLAIMED. This includes but is not limited to warranties of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00018 * 00019 */ 00020 00021 #pragma once 00022 00023 #ifdef __cplusplus 00024 extern "C" { 00025 #endif 00026 00027 #define IDI_CPSUI_ICONID_FIRST 64000 00028 00029 #define IDI_CPSUI_EMPTY 64000 00030 #define IDI_CPSUI_SEL_NONE 64001 00031 #define IDI_CPSUI_WARNING 64002 00032 #define IDI_CPSUI_NO 64003 00033 #define IDI_CPSUI_YES 64004 00034 #define IDI_CPSUI_FALSE 64005 00035 #define IDI_CPSUI_TRUE 64006 00036 #define IDI_CPSUI_OFF 64007 00037 #define IDI_CPSUI_ON 64008 00038 #define IDI_CPSUI_PAPER_OUTPUT 64009 00039 #define IDI_CPSUI_ENVELOPE 64010 00040 #define IDI_CPSUI_MEM 64011 00041 #define IDI_CPSUI_FONTCARTHDR 64012 00042 #define IDI_CPSUI_FONTCART 64013 00043 #define IDI_CPSUI_STAPLER_ON 64014 00044 #define IDI_CPSUI_STAPLER_OFF 64015 00045 #define IDI_CPSUI_HT_HOST 64016 00046 #define IDI_CPSUI_HT_DEVICE 64017 00047 #define IDI_CPSUI_TT_PRINTASGRAPHIC 64018 00048 #define IDI_CPSUI_TT_DOWNLOADSOFT 64019 00049 #define IDI_CPSUI_TT_DOWNLOADVECT 64020 00050 #define IDI_CPSUI_TT_SUBDEV 64021 00051 #define IDI_CPSUI_PORTRAIT 64022 00052 #define IDI_CPSUI_LANDSCAPE 64023 00053 #define IDI_CPSUI_ROT_LAND 64024 00054 #define IDI_CPSUI_AUTOSEL 64025 00055 #define IDI_CPSUI_PAPER_TRAY 64026 00056 #define IDI_CPSUI_PAPER_TRAY2 64027 00057 #define IDI_CPSUI_PAPER_TRAY3 64028 00058 #define IDI_CPSUI_TRANSPARENT 64029 00059 #define IDI_CPSUI_COLLATE 64030 00060 #define IDI_CPSUI_DUPLEX_NONE 64031 00061 #define IDI_CPSUI_DUPLEX_HORZ 64032 00062 #define IDI_CPSUI_DUPLEX_VERT 64033 00063 #define IDI_CPSUI_RES_DRAFT 64034 00064 #define IDI_CPSUI_RES_LOW 64035 00065 #define IDI_CPSUI_RES_MEDIUM 64036 00066 #define IDI_CPSUI_RES_HIGH 64037 00067 #define IDI_CPSUI_RES_PRESENTATION 64038 00068 #define IDI_CPSUI_MONO 64039 00069 #define IDI_CPSUI_COLOR 64040 00070 #define IDI_CPSUI_DITHER_NONE 64041 00071 #define IDI_CPSUI_DITHER_COARSE 64042 00072 #define IDI_CPSUI_DITHER_FINE 64043 00073 #define IDI_CPSUI_DITHER_LINEART 64044 00074 #define IDI_CPSUI_SCALING 64045 00075 #define IDI_CPSUI_COPY 64046 00076 #define IDI_CPSUI_HTCLRADJ 64047 00077 #define IDI_CPSUI_HALFTONE_SETUP 64048 00078 #define IDI_CPSUI_WATERMARK 64049 00079 #define IDI_CPSUI_ERROR 64050 00080 #define IDI_CPSUI_ICM_OPTION 64051 00081 #define IDI_CPSUI_ICM_METHOD 64052 00082 #define IDI_CPSUI_ICM_INTENT 64053 00083 #define IDI_CPSUI_STD_FORM 64054 00084 #define IDI_CPSUI_OUTBIN 64055 00085 #define IDI_CPSUI_OUTPUT 64056 00086 #define IDI_CPSUI_GRAPHIC 64057 00087 #define IDI_CPSUI_ADVANCE 64058 00088 #define IDI_CPSUI_DOCUMENT 64059 00089 #define IDI_CPSUI_DEVICE 64060 00090 #define IDI_CPSUI_DEVICE2 64061 00091 #define IDI_CPSUI_PRINTER 64062 00092 #define IDI_CPSUI_PRINTER2 64063 00093 #define IDI_CPSUI_PRINTER3 64064 00094 #define IDI_CPSUI_PRINTER4 64065 00095 #define IDI_CPSUI_OPTION 64066 00096 #define IDI_CPSUI_OPTION2 64067 00097 #define IDI_CPSUI_STOP 64068 00098 #define IDI_CPSUI_NOTINSTALLED 64069 00099 #define IDI_CPSUI_WARNING_OVERLAY 64070 00100 #define IDI_CPSUI_STOP_WARNING_OVERLAY 64071 00101 #define IDI_CPSUI_GENERIC_OPTION 64072 00102 #define IDI_CPSUI_GENERIC_ITEM 64073 00103 #define IDI_CPSUI_RUN_DIALOG 64074 00104 #define IDI_CPSUI_QUESTION 64075 00105 #define IDI_CPSUI_FORMTRAYASSIGN 64076 00106 #define IDI_CPSUI_PRINTER_FOLDER 64077 00107 #define IDI_CPSUI_INSTALLABLE_OPTION 64078 00108 #define IDI_CPSUI_PRINTER_FEATURE 64079 00109 #define IDI_CPSUI_DEVICE_FEATURE 64080 00110 #define IDI_CPSUI_FONTSUB 64081 00111 #define IDI_CPSUI_POSTSCRIPT 64082 00112 #define IDI_CPSUI_TELEPHONE 64083 00113 #define IDI_CPSUI_DUPLEX_NONE_L 64084 00114 #define IDI_CPSUI_DUPLEX_HORZ_L 64085 00115 #define IDI_CPSUI_DUPLEX_VERT_L 64086 00116 #define IDI_CPSUI_LF_PEN_PLOTTER 64087 00117 #define IDI_CPSUI_SF_PEN_PLOTTER 64088 00118 #define IDI_CPSUI_LF_RASTER_PLOTTER 64089 00119 #define IDI_CPSUI_SF_RASTER_PLOTTER 64090 00120 #define IDI_CPSUI_ROLL_PAPER 64091 00121 #define IDI_CPSUI_PEN_CARROUSEL 64092 00122 #define IDI_CPSUI_PLOTTER_PEN 64093 00123 #define IDI_CPSUI_MANUAL_FEED 64094 00124 #define IDI_CPSUI_FAX 64095 00125 #define IDI_CPSUI_PAGE_PROTECT 64096 00126 #define IDI_CPSUI_ENVELOPE_FEED 64097 00127 #define IDI_CPSUI_FONTCART_SLOT 64098 00128 #define IDI_CPSUI_LAYOUT_BMP_PORTRAIT 64099 00129 #define IDI_CPSUI_LAYOUT_BMP_ARROWL 64100 00130 #define IDI_CPSUI_LAYOUT_BMP_ARROWS 64101 00131 #define IDI_CPSUI_LAYOUT_BMP_BOOKLETL 64102 00132 #define IDI_CPSUI_LAYOUT_BMP_BOOKLETP 64103 00133 #if (NTDDI_VERSION >= NTDDI_VISTA) 00134 #define IDI_CPSUI_LAYOUT_BMP_ARROWLR 64104 00135 #define IDI_CPSUI_LAYOUT_BMP_ROT_PORT 64105 00136 #define IDI_CPSUI_LAYOUT_BMP_BOOKLETL_NB 64106 00137 #define IDI_CPSUI_LAYOUT_BMP_BOOKLETP_NB 64107 00138 #define IDI_CPSUI_ROT_PORT 64110 00139 #define IDI_CPSUI_NUP_BORDER 64111 00140 #define IDI_CPSUI_ICONID_LAST 64111 00141 #else 00142 #define IDI_CPSUI_ICONID_LAST 64103 00143 #endif 00144 00145 #define IDS_CPSUI_STRID_FIRST 64700 00146 00147 #define IDS_CPSUI_SETUP 64700 00148 #define IDS_CPSUI_MORE 64701 00149 #define IDS_CPSUI_CHANGE 64702 00150 #define IDS_CPSUI_OPTION 64703 00151 #define IDS_CPSUI_OF 64704 00152 #define IDS_CPSUI_RANGE_FROM 64705 00153 #define IDS_CPSUI_TO 64706 00154 #define IDS_CPSUI_COLON_SEP 64707 00155 #define IDS_CPSUI_LEFT_ANGLE 64708 00156 #define IDS_CPSUI_RIGHT_ANGLE 64709 00157 #define IDS_CPSUI_SLASH_SEP 64710 00158 #define IDS_CPSUI_PERCENT 64711 00159 #define IDS_CPSUI_LBCB_NOSEL 64712 00160 #define IDS_CPSUI_PROPERTIES 64713 00161 #define IDS_CPSUI_DEFAULTDOCUMENT 64714 00162 #define IDS_CPSUI_DOCUMENT 64715 00163 #define IDS_CPSUI_ADVANCEDOCUMENT 64716 00164 #define IDS_CPSUI_PRINTER 64717 00165 #define IDS_CPSUI_AUTOSELECT 64718 00166 #define IDS_CPSUI_PAPER_OUTPUT 64719 00167 #define IDS_CPSUI_GRAPHIC 64720 00168 #define IDS_CPSUI_OPTIONS 64721 00169 #define IDS_CPSUI_ADVANCED 64722 00170 #define IDS_CPSUI_STDDOCPROPTAB 64723 00171 #define IDS_CPSUI_STDDOCPROPTVTAB 64724 00172 #define IDS_CPSUI_DEVICEOPTIONS 64725 00173 #define IDS_CPSUI_FALSE 64726 00174 #define IDS_CPSUI_TRUE 64727 00175 #define IDS_CPSUI_NO 64728 00176 #define IDS_CPSUI_YES 64729 00177 #define IDS_CPSUI_OFF 64730 00178 #define IDS_CPSUI_ON 64731 00179 #define IDS_CPSUI_DEFAULT 64732 00180 #define IDS_CPSUI_ERROR 64733 00181 #define IDS_CPSUI_NONE 64734 00182 #define IDS_CPSUI_NOT 64735 00183 #define IDS_CPSUI_EXIST 64736 00184 #define IDS_CPSUI_NOTINSTALLED 64737 00185 #define IDS_CPSUI_ORIENTATION 64738 00186 #define IDS_CPSUI_SCALING 64739 00187 #define IDS_CPSUI_NUM_OF_COPIES 64740 00188 #define IDS_CPSUI_SOURCE 64741 00189 #define IDS_CPSUI_PRINTQUALITY 64742 00190 #define IDS_CPSUI_RESOLUTION 64743 00191 #define IDS_CPSUI_COLOR_APPERANCE 64744 00192 #define IDS_CPSUI_DUPLEX 64745 00193 #define IDS_CPSUI_TTOPTION 64746 00194 #define IDS_CPSUI_FORMNAME 64747 00195 #define IDS_CPSUI_ICM 64748 00196 #define IDS_CPSUI_ICMMETHOD 64749 00197 #define IDS_CPSUI_ICMINTENT 64750 00198 #define IDS_CPSUI_MEDIA 64751 00199 #define IDS_CPSUI_DITHERING 64752 00200 #define IDS_CPSUI_PORTRAIT 64753 00201 #define IDS_CPSUI_LANDSCAPE 64754 00202 #define IDS_CPSUI_ROT_LAND 64755 00203 #define IDS_CPSUI_COLLATE 64756 00204 #define IDS_CPSUI_COLLATED 64757 00205 #define IDS_CPSUI_PRINTFLDSETTING 64758 00206 #define IDS_CPSUI_DRAFT 64759 00207 #define IDS_CPSUI_LOW 64760 00208 #define IDS_CPSUI_MEDIUM 64761 00209 #define IDS_CPSUI_HIGH 64762 00210 #define IDS_CPSUI_PRESENTATION 64763 00211 #define IDS_CPSUI_COLOR 64764 00212 #define IDS_CPSUI_GRAYSCALE 64765 00213 #define IDS_CPSUI_MONOCHROME 64766 00214 #define IDS_CPSUI_SIMPLEX 64767 00215 #define IDS_CPSUI_HORIZONTAL 64768 00216 #define IDS_CPSUI_VERTICAL 64769 00217 #define IDS_CPSUI_LONG_SIDE 64770 00218 #define IDS_CPSUI_SHORT_SIDE 64771 00219 #define IDS_CPSUI_TT_PRINTASGRAPHIC 64772 00220 #define IDS_CPSUI_TT_DOWNLOADSOFT 64773 00221 #define IDS_CPSUI_TT_DOWNLOADVECT 64774 00222 #define IDS_CPSUI_TT_SUBDEV 64775 00223 #define IDS_CPSUI_ICM_BLACKWHITE 64776 00224 #define IDS_CPSUI_ICM_NO 64777 00225 #define IDS_CPSUI_ICM_YES 64778 00226 #define IDS_CPSUI_ICM_SATURATION 64779 00227 #define IDS_CPSUI_ICM_CONTRAST 64780 00228 #define IDS_CPSUI_ICM_COLORMETRIC 64781 00229 #define IDS_CPSUI_STANDARD 64782 00230 #define IDS_CPSUI_GLOSSY 64783 00231 #define IDS_CPSUI_TRANSPARENCY 64784 00232 #define IDS_CPSUI_REGULAR 64785 00233 #define IDS_CPSUI_BOND 64786 00234 #define IDS_CPSUI_COARSE 64787 00235 #define IDS_CPSUI_FINE 64788 00236 #define IDS_CPSUI_LINEART 64789 00237 #define IDS_CPSUI_ERRDIFFUSE 64790 00238 #define IDS_CPSUI_HALFTONE 64791 00239 #define IDS_CPSUI_HTCLRADJ 64792 00240 #define IDS_CPSUI_USE_HOST_HT 64793 00241 #define IDS_CPSUI_USE_DEVICE_HT 64794 00242 #define IDS_CPSUI_USE_PRINTER_HT 64795 00243 #define IDS_CPSUI_OUTBINASSIGN 64796 00244 #define IDS_CPSUI_WATERMARK 64797 00245 #define IDS_CPSUI_FORMTRAYASSIGN 64798 00246 #define IDS_CPSUI_UPPER_TRAY 64799 00247 #define IDS_CPSUI_ONLYONE 64800 00248 #define IDS_CPSUI_LOWER_TRAY 64801 00249 #define IDS_CPSUI_MIDDLE_TRAY 64802 00250 #define IDS_CPSUI_MANUAL_TRAY 64803 00251 #define IDS_CPSUI_ENVELOPE_TRAY 64804 00252 #define IDS_CPSUI_ENVMANUAL_TRAY 64805 00253 #define IDS_CPSUI_TRACTOR_TRAY 64806 00254 #define IDS_CPSUI_SMALLFMT_TRAY 64807 00255 #define IDS_CPSUI_LARGEFMT_TRAY 64808 00256 #define IDS_CPSUI_LARGECAP_TRAY 64809 00257 #define IDS_CPSUI_CASSETTE_TRAY 64810 00258 #define IDS_CPSUI_DEFAULT_TRAY 64811 00259 #define IDS_CPSUI_FORMSOURCE 64812 00260 #define IDS_CPSUI_MANUALFEED 64813 00261 #define IDS_CPSUI_PRINTERMEM_KB 64814 00262 #define IDS_CPSUI_PRINTERMEM_MB 64815 00263 #define IDS_CPSUI_PAGEPROTECT 64816 00264 #define IDS_CPSUI_HALFTONE_SETUP 64817 00265 #define IDS_CPSUI_INSTFONTCART 64818 00266 #define IDS_CPSUI_SLOT1 64819 00267 #define IDS_CPSUI_SLOT2 64820 00268 #define IDS_CPSUI_SLOT3 64821 00269 #define IDS_CPSUI_SLOT4 64822 00270 #define IDS_CPSUI_LEFT_SLOT 64823 00271 #define IDS_CPSUI_RIGHT_SLOT 64824 00272 #define IDS_CPSUI_STAPLER 64825 00273 #define IDS_CPSUI_STAPLER_ON 64826 00274 #define IDS_CPSUI_STAPLER_OFF 64827 00275 #define IDS_CPSUI_STACKER 64828 00276 #define IDS_CPSUI_MAILBOX 64829 00277 #define IDS_CPSUI_COPY 64830 00278 #define IDS_CPSUI_COPIES 64831 00279 #define IDS_CPSUI_TOTAL 64832 00280 #define IDS_CPSUI_MAKE 64833 00281 #define IDS_CPSUI_PRINT 64834 00282 #define IDS_CPSUI_FAX 64835 00283 #define IDS_CPSUI_PLOT 64836 00284 #define IDS_CPSUI_SLOW 64837 00285 #define IDS_CPSUI_FAST 64838 00286 #define IDS_CPSUI_ROTATED 64839 00287 #define IDS_CPSUI_RESET 64840 00288 #define IDS_CPSUI_ALL 64841 00289 #define IDS_CPSUI_DEVICE 64842 00290 #define IDS_CPSUI_SETTINGS 64843 00291 #define IDS_CPSUI_REVERT 64844 00292 #define IDS_CPSUI_CHANGES 64845 00293 #define IDS_CPSUI_CHANGED 64846 00294 #define IDS_CPSUI_WARNING 64847 00295 #define IDS_CPSUI_ABOUT 64848 00296 #define IDS_CPSUI_VERSION 64849 00297 #define IDS_CPSUI_NO_NAME 64850 00298 #define IDS_CPSUI_SETTING 64851 00299 #define IDS_CPSUI_DEVICE_SETTINGS 64852 00300 #define IDS_CPSUI_STDDOCPROPTAB1 64853 00301 #define IDS_CPSUI_STDDOCPROPTAB2 64854 00302 #define IDS_CPSUI_PAGEORDER 64855 00303 #define IDS_CPSUI_FRONTTOBACK 64856 00304 #define IDS_CPSUI_BACKTOFRONT 64857 00305 #define IDS_CPSUI_QUALITY_SETTINGS 64858 00306 #define IDS_CPSUI_QUALITY_DRAFT 64859 00307 #define IDS_CPSUI_QUALITY_BETTER 64860 00308 #define IDS_CPSUI_QUALITY_BEST 64861 00309 #define IDS_CPSUI_QUALITY_CUSTOM 64862 00310 #define IDS_CPSUI_OUTPUTBIN 64863 00311 #define IDS_CPSUI_NUP 64864 00312 #define IDS_CPSUI_NUP_NORMAL 64865 00313 #define IDS_CPSUI_NUP_TWOUP 64866 00314 #define IDS_CPSUI_NUP_FOURUP 64867 00315 #define IDS_CPSUI_NUP_SIXUP 64868 00316 #define IDS_CPSUI_NUP_NINEUP 64869 00317 #define IDS_CPSUI_NUP_SIXTEENUP 64870 00318 #define IDS_CPSUI_SIDE1 64871 00319 #define IDS_CPSUI_SIDE2 64872 00320 #define IDS_CPSUI_BOOKLET 64873 00321 #if (NTDDI_VERSION >= NTDDI_VISTA) 00322 #define IDS_CPSUI_POSTER 64874 00323 #define IDS_CPSUI_POSTER_2x2 64875 00324 #define IDS_CPSUI_POSTER_3x3 64876 00325 #define IDS_CPSUI_POSTER_4x4 64877 00326 #define IDS_CPSUI_NUP_DIRECTION 64878 00327 #define IDS_CPSUI_RIGHT_THEN_DOWN 64879 00328 #define IDS_CPSUI_DOWN_THEN_RIGHT 64880 00329 #define IDS_CPSUI_LEFT_THEN_DOWN 64881 00330 #define IDS_CPSUI_DOWN_THEN_LEFT 64882 00331 #define IDS_CPSUI_MANUAL_DUPLEX 64883 00332 #define IDS_CPSUI_MANUAL_DUPLEX_ON 64884 00333 #define IDS_CPSUI_MANUAL_DUPLEX_OFF 64885 00334 #define IDS_CPSUI_ROT_PORT 64886 00335 #define IDS_CPSUI_STAPLE 64887 00336 #define IDS_CPSUI_BOOKLET_EDGE 64888 00337 #define IDS_CPSUI_BOOKLET_EDGE_LEFT 64889 00338 #define IDS_CPSUI_BOOKLET_EDGE_RIGHT 64890 00339 #define IDS_CPSUI_NUP_BORDER 64891 00340 #define IDS_CPSUI_NUP_BORDERED 64892 00341 #define IDS_CPSUI_STRID_LAST 64892 00342 #else 00343 #define IDS_CPSUI_STRID_LAST 64873 00344 #endif 00345 00346 #if (!defined(RC_INVOKED)) 00347 00348 /* DEFINES */ 00349 00350 #define TVOT_2STATES 0 00351 #define TVOT_3STATES 1 00352 #define TVOT_UDARROW 2 00353 #define TVOT_TRACKBAR 3 00354 #define TVOT_SCROLLBAR 4 00355 #define TVOT_LISTBOX 5 00356 #define TVOT_COMBOBOX 6 00357 #define TVOT_EDITBOX 7 00358 #define TVOT_PUSHBUTTON 8 00359 #define TVOT_CHKBOX 9 00360 #if (NTDDI_VERSION >= NTDDI_VISTA) 00361 #define TVOT_NSTATES_EX 10 00362 #define TVOT_LAST TVOT_NSTATES_EX 00363 #else 00364 #define TVOT_LAST TVOT_CHKBOX 00365 #endif 00366 #define TVOT_NONE (TVOT_LAST + 1) 00367 00368 #define CHKBOXS_FALSE_TRUE 0 00369 #define CHKBOXS_NO_YES 1 00370 #define CHKBOXS_OFF_ON 2 00371 #define CHKBOXS_FALSE_PDATA 3 00372 #define CHKBOXS_NO_PDATA 4 00373 #define CHKBOXS_OFF_PDATA 5 00374 #define CHKBOXS_NONE_PDATA 6 00375 00376 #define PUSHBUTTON_TYPE_DLGPROC 0 00377 #define PUSHBUTTON_TYPE_CALLBACK 1 00378 #define PUSHBUTTON_TYPE_HTCLRADJ 2 00379 #define PUSHBUTTON_TYPE_HTSETUP 3 00380 00381 #define MAX_RES_STR_CHARS 160 00382 00383 #define OPTPF_HIDE 0x01 00384 #define OPTPF_DISABLED 0x02 00385 #define OPTPF_ICONID_AS_HICON 0x04 00386 #define OPTPF_OVERLAY_WARNING_ICON 0x08 00387 #define OPTPF_OVERLAY_STOP_ICON 0x10 00388 #define OPTPF_OVERLAY_NO_ICON 0x20 00389 #define OPTPF_USE_HDLGTEMPLATE 0x40 00390 00391 #if (NTDDI_VERSION >= NTDDI_VISTA) 00392 #define OPTPF_MASK 0x7f 00393 #endif 00394 00395 #if (NTDDI_VERSION >= NTDDI_VISTA) 00396 #define OPTCF_HIDE 0x01 00397 #define OPTCF_MASK 0x01 00398 #endif 00399 00400 #define OPTTF_TYPE_DISABLED 0x01 00401 #define OPTTF_NOSPACE_BEFORE_POSTFIX 0x02 00402 00403 #if (NTDDI_VERSION >= NTDDI_VISTA) 00404 #define OPTTF_MASK 0x03 00405 #endif 00406 00407 #define OTS_LBCB_SORT 0x0001 00408 #define OTS_LBCB_PROPPAGE_LBUSECB 0x0002 00409 #define OTS_LBCB_PROPPAGE_CBUSELB 0x0004 00410 #define OTS_LBCB_INCL_ITEM_NONE 0x0008 00411 #define OTS_LBCB_NO_ICON16_IN_ITEM 0x0010 00412 #define OTS_PUSH_INCL_SETUP_TITLE 0x0020 00413 #define OTS_PUSH_NO_DOT_DOT_DOT 0x0040 00414 #define OTS_PUSH_ENABLE_ALWAYS 0x0080 00415 00416 #if (NTDDI_VERSION >= NTDDI_VISTA) 00417 #define OTS_MASK 0x00ff 00418 #endif 00419 00420 #define EPF_PUSH_TYPE_DLGPROC 0x0001 00421 #define EPF_INCL_SETUP_TITLE 0x0002 00422 #define EPF_NO_DOT_DOT_DOT 0x0004 00423 #define EPF_ICONID_AS_HICON 0x0008 00424 #define EPF_OVERLAY_WARNING_ICON 0x0010 00425 #define EPF_OVERLAY_STOP_ICON 0x0020 00426 #define EPF_OVERLAY_NO_ICON 0x0040 00427 #define EPF_USE_HDLGTEMPLATE 0x0080 00428 00429 #if (NTDDI_VERSION >= NTDDI_VISTA) 00430 #define EPF_MASK 0x00ff 00431 #endif 00432 00433 #define ECBF_CHECKNAME_AT_FRONT 0x0001 00434 #define ECBF_CHECKNAME_ONLY_ENABLED 0x0002 00435 #define ECBF_ICONID_AS_HICON 0x0004 00436 #define ECBF_OVERLAY_WARNING_ICON 0x0008 00437 #define ECBF_OVERLAY_ECBICON_IF_CHECKED 0x0010 00438 #define ECBF_OVERLAY_STOP_ICON 0x0020 00439 #define ECBF_OVERLAY_NO_ICON 0x0040 00440 #define ECBF_CHECKNAME_ONLY 0x0080 00441 00442 #if (NTDDI_VERSION >= NTDDI_VISTA) 00443 #define ECBF_MASK 0x00ff 00444 #endif 00445 00446 #define OPTIF_COLLAPSE 0x00000001L 00447 #define OPTIF_HIDE 0x00000002L 00448 #define OPTIF_CALLBACK 0x00000004L 00449 #define OPTIF_CHANGED 0x00000008L 00450 #define OPTIF_CHANGEONCE 0x00000010L 00451 #define OPTIF_DISABLED 0x00000020L 00452 #define OPTIF_ECB_CHECKED 0x00000040L 00453 #define OPTIF_EXT_HIDE 0x00000080L 00454 #define OPTIF_EXT_DISABLED 0x00000100L 00455 #define OPTIF_SEL_AS_HICON 0x00000200L 00456 #define OPTIF_EXT_IS_EXTPUSH 0x00000400L 00457 #define OPTIF_NO_GROUPBOX_NAME 0x00000800L 00458 #define OPTIF_OVERLAY_WARNING_ICON 0x00001000L 00459 #define OPTIF_OVERLAY_STOP_ICON 0x00002000L 00460 #define OPTIF_OVERLAY_NO_ICON 0x00004000L 00461 #define OPTIF_INITIAL_TVITEM 0x00008000L 00462 #define OPTIF_HAS_POIEXT 0x00010000L 00463 00464 #define OPTIF_MASK 0x0001ffffL 00465 00466 00467 #define DMPUB_NONE 0 00468 #define DMPUB_FIRST 1 00469 00470 #define DMPUB_ORIENTATION 1 00471 #define DMPUB_SCALE 2 00472 #define DMPUB_COPIES_COLLATE 3 00473 #define DMPUB_DEFSOURCE 4 00474 #define DMPUB_PRINTQUALITY 5 00475 #define DMPUB_COLOR 6 00476 #define DMPUB_DUPLEX 7 00477 #define DMPUB_TTOPTION 8 00478 #define DMPUB_FORMNAME 9 00479 #define DMPUB_ICMMETHOD 10 00480 #define DMPUB_ICMINTENT 11 00481 #define DMPUB_MEDIATYPE 12 00482 #define DMPUB_DITHERTYPE 13 00483 #define DMPUB_OUTPUTBIN 14 00484 #define DMPUB_QUALITY 15 00485 #define DMPUB_NUP 16 00486 #define DMPUB_PAGEORDER 17 00487 #if (NTDDI_VERSION >= NTDDI_VISTA) 00488 #define DMPUB_NUP_DIRECTION 18 00489 #define DMPUB_MANUAL_DUPLEX 19 00490 #define DMPUB_STAPLE 20 00491 #define DMPUB_BOOKLET_EDGE 21 00492 #define DMPUB_LAST 21 00493 #else 00494 #define DMPUB_LAST 17 00495 #endif 00496 00497 #define DMPUB_OEM_PAPER_ITEM 97 00498 #define DMPUB_OEM_GRAPHIC_ITEM 98 00499 #define DMPUB_OEM_ROOT_ITEM 99 00500 #define DMPUB_USER 100 00501 00502 #define MAKE_DMPUB_HIDEBIT(DMPub) (DWORD)(((DWORD)0x01 << ((DMPub) - 1))) 00503 #define IS_DMPUB_HIDDEN(dw, DMPub) (BOOL)((DWORD)(dw) & MAKE_DMPUB_HIDEBIT(DMPub)) 00504 00505 #define OIEXTF_ANSI_STRING 0x0001 00506 00507 #define CPSUICB_REASON_SEL_CHANGED 0 00508 #define CPSUICB_REASON_PUSHBUTTON 1 00509 #define CPSUICB_REASON_ECB_CHANGED 2 00510 #define CPSUICB_REASON_DLGPROC 3 00511 #define CPSUICB_REASON_UNDO_CHANGES 4 00512 #define CPSUICB_REASON_EXTPUSH 5 00513 #define CPSUICB_REASON_APPLYNOW 6 00514 #define CPSUICB_REASON_OPTITEM_SETFOCUS 7 00515 #define CPSUICB_REASON_ITEMS_REVERTED 8 00516 #define CPSUICB_REASON_ABOUT 9 00517 #define CPSUICB_REASON_SETACTIVE 10 00518 #define CPSUICB_REASON_KILLACTIVE 11 00519 00520 #define CPSUICB_ACTION_NONE 0 00521 #define CPSUICB_ACTION_OPTIF_CHANGED 1 00522 #define CPSUICB_ACTION_REINIT_ITEMS 2 00523 #define CPSUICB_ACTION_NO_APPLY_EXIT 3 00524 #define CPSUICB_ACTION_ITEMS_APPLIED 4 00525 00526 #define DP_STD_TREEVIEWPAGE 0xFFFF 00527 #define DP_STD_DOCPROPPAGE2 0xFFFE 00528 #define DP_STD_DOCPROPPAGE1 0XFFFD 00529 #define DP_STD_RESERVED_START 0xFFF0 00530 00531 #define MAX_DLGPAGE_COUNT 64 00532 00533 #define DPF_ICONID_AS_HICON 0x0001 00534 #define DPF_USE_HDLGTEMPLATE 0x0002 00535 00536 #define CPSUIF_UPDATE_PERMISSION 0x0001 00537 #define CPSUIF_ICONID_AS_HICON 0x0002 00538 #define CPSUIF_ABOUT_CALLBACK 0x0004 00539 00540 #define CPSUI_PDLGPAGE_DOCPROP (PDLGPAGE)1 00541 #define CPSUI_PDLGPAGE_ADVDOCPROP (PDLGPAGE)2 00542 #define CPSUI_PDLGPAGE_PRINTERPROP (PDLGPAGE)3 00543 #define CPSUI_PDLGPAGE_TREEVIEWONLY (PDLGPAGE)4 00544 00545 #define CPSUI_PDLGPAGE_TREEVIWONLY CPSUI_PDLGPAGE_TREEVIEWONLY 00546 00547 #define CPSFUNC_ADD_HPROPSHEETPAGE 0 00548 #define CPSFUNC_ADD_PROPSHEETPAGEW 1 00549 #define CPSFUNC_ADD_PCOMPROPSHEETUIA 2 00550 #define CPSFUNC_ADD_PCOMPROPSHEETUIW 3 00551 #define CPSFUNC_ADD_PFNPROPSHEETUIA 4 00552 #define CPSFUNC_ADD_PFNPROPSHEETUIW 5 00553 #define CPSFUNC_DELETE_HCOMPROPSHEET 6 00554 #define CPSFUNC_SET_HSTARTPAGE 7 00555 #define CPSFUNC_GET_PAGECOUNT 8 00556 #define CPSFUNC_SET_RESULT 9 00557 #define CPSFUNC_GET_HPSUIPAGES 10 00558 #define CPSFUNC_LOAD_CPSUI_STRINGA 11 00559 #define CPSFUNC_LOAD_CPSUI_STRINGW 12 00560 #define CPSFUNC_LOAD_CPSUI_ICON 13 00561 #define CPSFUNC_GET_PFNPROPSHEETUI_ICON 14 00562 #define CPSFUNC_ADD_PROPSHEETPAGEA 15 00563 #define CPSFUNC_INSERT_PSUIPAGEA 16 00564 #define CPSFUNC_INSERT_PSUIPAGEW 17 00565 #define CPSFUNC_SET_PSUIPAGE_TITLEA 18 00566 #define CPSFUNC_SET_PSUIPAGE_TITLEW 19 00567 #define CPSFUNC_SET_PSUIPAGE_ICON 20 00568 #define CPSFUNC_SET_DATABLOCK 21 00569 #define CPSFUNC_QUERY_DATABLOCK 22 00570 #define CPSFUNC_SET_DMPUB_HIDEBITS 23 00571 #define CPSFUNC_IGNORE_CPSUI_PSN_APPLY 24 00572 #define CPSFUNC_DO_APPLY_CPSUI 25 00573 00574 #if (NTDDI_VERSION >= NTDDI_WINXP) 00575 #define CPSFUNC_SET_FUSION_CONTEXT 26 00576 #define MAX_CPSFUNC_INDEX 26 00577 #else 00578 #define MAX_CPSFUNC_INDEX 25 00579 #endif 00580 00581 #ifdef UNICODE 00582 #define CPSFUNC_ADD_PCOMPROPSHEETUI CPSFUNC_ADD_PCOMPROPSHEETUIW 00583 #define CPSFUNC_ADD_PFNPROPSHEETUI CPSFUNC_ADD_PFNPROPSHEETUIW 00584 #define CPSFUNC_LOAD_CPSUI_STRING CPSFUNC_LOAD_CPSUI_STRINGW 00585 #define CPSFUNC_ADD_PROPSHEETPAGE CPSFUNC_ADD_PROPSHEETPAGEW 00586 #define CPSFUNC_INSERT_PSUIPAGE CPSFUNC_INSERT_PSUIPAGEW 00587 #define CPSFUNC_SET_PSUIPAGE_TITLE CPSFUNC_SET_PSUIPAGE_TITLEW 00588 00589 #else 00590 #define CPSFUNC_ADD_PCOMPROPSHEETUI CPSFUNC_ADD_PCOMPROPSHEETUIA 00591 #define CPSFUNC_ADD_PFNPROPSHEETUI CPSFUNC_ADD_PFNPROPSHEETUIA 00592 #define CPSFUNC_LOAD_CPSUI_STRING CPSFUNC_LOAD_CPSUI_STRINGA 00593 #define CPSFUNC_ADD_PROPSHEETPAGE CPSFUNC_ADD_PROPSHEETPAGEA 00594 #define CPSFUNC_INSERT_PSUIPAGE CPSFUNC_INSERT_PSUIPAGEA 00595 #define CPSFUNC_SET_PSUIPAGE_TITLE CPSFUNC_SET_PSUIPAGE_TITLEA 00596 00597 #endif 00598 00599 #define SR_OWNER 0 00600 #define SR_OWNER_PARENT 1 00601 00602 #define HINSPSUIPAGE_FIRST (HANDLE)0xFFFFFFFE 00603 #define HINSPSUIPAGE_LAST (HANDLE)0xFFFFFFFF 00604 #define HINSPSUIPAGE_INDEX(i) (HANDLE)MAKELONG(i, 0); 00605 00606 #define PSUIPAGEINSERT_GROUP_PARENT 0 00607 #define PSUIPAGEINSERT_PCOMPROPSHEETUI 1 00608 #define PSUIPAGEINSERT_PFNPROPSHEETUI 2 00609 #define PSUIPAGEINSERT_PROPSHEETPAGE 3 00610 #define PSUIPAGEINSERT_HPROPSHEETPAGE 4 00611 #define PSUIPAGEINSERT_DLL 5 00612 #define MAX_PSUIPAGEINSERT_INDEX 5 00613 00614 #define INSPSUIPAGE_MODE_BEFORE 0 00615 #define INSPSUIPAGE_MODE_AFTER 1 00616 #define INSPSUIPAGE_MODE_FIRST_CHILD 2 00617 #define INSPSUIPAGE_MODE_LAST_CHILD 3 00618 #define INSPSUIPAGE_MODE_INDEX 4 00619 00620 #define SSP_TVPAGE 10000 00621 #define SSP_STDPAGE1 10001 00622 #define SSP_STDPAGE2 10002 00623 00624 #define APPLYCPSUI_NO_NEWDEF 0x00000001 00625 #define APPLYCPSUI_OK_CANCEL_BUTTON 0x00000002 00626 00627 #define PROPSHEETUI_REASON_INIT 0 00628 #define PROPSHEETUI_REASON_GET_INFO_HEADER 1 00629 #define PROPSHEETUI_REASON_DESTROY 2 00630 #define PROPSHEETUI_REASON_SET_RESULT 3 00631 #define PROPSHEETUI_REASON_GET_ICON 4 00632 #define MAX_PROPSHEETUI_REASON_INDEX 4 00633 00634 #define PROPSHEETUI_INFO_VERSION 0x0100 00635 00636 #define PSUIINFO_UNICODE 0x0001 00637 00638 /* return-values for CommonPropertySheetUI on success */ 00639 #define CPSUI_CANCEL 0 00640 #define CPSUI_OK 1 00641 #define CPSUI_RESTARTWINDOWS 2 00642 #define CPSUI_REBOOTSYSTEM 3 00643 00644 #define ERR_CPSUI_GETLASTERROR -1 00645 #define ERR_CPSUI_ALLOCMEM_FAILED -2 00646 #define ERR_CPSUI_INVALID_PDATA -3 00647 #define ERR_CPSUI_INVALID_LPARAM -4 00648 #define ERR_CPSUI_NULL_HINST -5 00649 #define ERR_CPSUI_NULL_CALLERNAME -6 00650 #define ERR_CPSUI_NULL_OPTITEMNAME -7 00651 #define ERR_CPSUI_NO_PROPSHEETPAGE -8 00652 #define ERR_CPSUI_TOO_MANY_PROPSHEETPAGES -9 00653 #define ERR_CPSUI_CREATEPROPPAGE_FAILED -10 00654 #define ERR_CPSUI_MORE_THAN_ONE_TVPAGE -11 00655 #define ERR_CPSUI_MORE_THAN_ONE_STDPAGE -12 00656 #define ERR_CPSUI_INVALID_PDLGPAGE -13 00657 #define ERR_CPSUI_INVALID_DLGPAGE_CBSIZE -14 00658 #define ERR_CPSUI_TOO_MANY_DLGPAGES -15 00659 #define ERR_CPSUI_INVALID_DLGPAGEIDX -16 00660 #define ERR_CPSUI_SUBITEM_DIFF_DLGPAGEIDX -17 00661 #define ERR_CPSUI_NULL_POPTITEM -18 00662 #define ERR_CPSUI_INVALID_OPTITEM_CBSIZE -19 00663 #define ERR_CPSUI_INVALID_OPTTYPE_CBSIZE -20 00664 #define ERR_CPSUI_INVALID_OPTTYPE_COUNT -21 00665 #define ERR_CPSUI_NULL_POPTPARAM -22 00666 #define ERR_CPSUI_INVALID_OPTPARAM_CBSIZE -23 00667 #define ERR_CPSUI_INVALID_EDITBOX_PSEL -24 00668 #define ERR_CPSUI_INVALID_EDITBOX_BUF_SIZE -25 00669 #define ERR_CPSUI_INVALID_ECB_CBSIZE -26 00670 #define ERR_CPSUI_NULL_ECB_PTITLE -27 00671 #define ERR_CPSUI_NULL_ECB_PCHECKEDNAME -28 00672 #define ERR_CPSUI_INVALID_DMPUBID -29 00673 #define ERR_CPSUI_INVALID_DMPUB_TVOT -30 00674 #define ERR_CPSUI_CREATE_TRACKBAR_FAILED -31 00675 #define ERR_CPSUI_CREATE_UDARROW_FAILED -32 00676 #define ERR_CPSUI_CREATE_IMAGELIST_FAILED -33 00677 #define ERR_CPSUI_INVALID_TVOT_TYPE -34 00678 #define ERR_CPSUI_INVALID_LBCB_TYPE -35 00679 #define ERR_CPSUI_SUBITEM_DIFF_OPTIF_HIDE -36 00680 #define ERR_CPSUI_INVALID_PUSHBUTTON_TYPE -38 00681 #define ERR_CPSUI_INVALID_EXTPUSH_CBSIZE -39 00682 #define ERR_CPSUI_NULL_EXTPUSH_DLGPROC -40 00683 #define ERR_CPSUI_NO_EXTPUSH_DLGTEMPLATEID -41 00684 #define ERR_CPSUI_NULL_EXTPUSH_CALLBACK -42 00685 #define ERR_CPSUI_DMCOPIES_USE_EXTPUSH -43 00686 #define ERR_CPSUI_ZERO_OPTITEM -44 00687 00688 #define ERR_CPSUI_FUNCTION_NOT_IMPLEMENTED -9999 00689 #define ERR_CPSUI_INTERNAL_ERROR -10000 00690 00691 #define PSUIHDRF_OBSOLETE 0x0001 00692 #define PSUIHDRF_NOAPPLYNOW 0x0002 00693 #define PSUIHDRF_PROPTITLE 0x0004 00694 #define PSUIHDRF_USEHICON 0x0008 00695 #define PSUIHDRF_DEFTITLE 0x0010 00696 #define PSUIHDRF_EXACT_PTITLE 0x0020 00697 00698 /* TYPES */ 00699 00700 typedef struct _OPTPARAM { 00701 WORD cbSize; 00702 BYTE Flags; 00703 BYTE Style; 00704 LPTSTR pData; 00705 ULONG_PTR IconID; 00706 LPARAM lParam; 00707 ULONG_PTR dwReserved[2]; 00708 } OPTPARAM, *POPTPARAM; 00709 00710 #if (NTDDI_VERSION >= NTDDI_VISTA) 00711 typedef struct _OPTCOMBO { 00712 WORD cbSize; 00713 BYTE Flags; 00714 WORD cListItem; 00715 POPTPARAM pListItem; 00716 LONG Sel; 00717 DWORD dwReserved[3]; 00718 } OPTCOMBO, *POPTCOMBO; 00719 #endif 00720 00721 typedef struct _OPTTYPE { 00722 WORD cbSize; 00723 BYTE Type; 00724 BYTE Flags; 00725 WORD Count; 00726 WORD BegCtrlID; 00727 POPTPARAM pOptParam; 00728 WORD Style; 00729 WORD wReserved[3]; 00730 ULONG_PTR dwReserved[3]; 00731 } OPTTYPE, *POPTTYPE; 00732 00733 typedef struct _EXTPUSH { 00734 WORD cbSize; 00735 WORD Flags; 00736 LPTSTR pTitle; 00737 union { 00738 DLGPROC DlgProc; 00739 FARPROC pfnCallBack; 00740 } DUMMYUNIONNAME; 00741 ULONG_PTR IconID; 00742 union { 00743 WORD DlgTemplateID; 00744 HANDLE hDlgTemplate; 00745 } DUMMYUNIONNAME2; 00746 ULONG_PTR dwReserved[3]; 00747 } EXTPUSH, *PEXTPUSH; 00748 00749 typedef struct _EXTCHKBOX { 00750 WORD cbSize; 00751 WORD Flags; 00752 LPTSTR pTitle; 00753 LPTSTR pSeparator; 00754 LPTSTR pCheckedName; 00755 ULONG_PTR IconID; 00756 WORD wReserved[4]; 00757 ULONG_PTR dwReserved[2]; 00758 } EXTCHKBOX, *PEXTCHKBOX; 00759 00760 typedef struct _OIEXT { 00761 WORD cbSize; 00762 WORD Flags; 00763 HINSTANCE hInstCaller; 00764 LPTSTR pHelpFile; 00765 ULONG_PTR dwReserved[4]; 00766 } OIEXT, *POIEXT; 00767 00768 typedef struct _OPTITEM { 00769 WORD cbSize; 00770 BYTE Level; 00771 BYTE DlgPageIdx; 00772 DWORD Flags; 00773 ULONG_PTR UserData; 00774 LPTSTR pName; 00775 union { 00776 LONG Sel; 00777 LPTSTR pSel; 00778 } DUMMYUNIONNAME; 00779 union { 00780 PEXTCHKBOX pExtChkBox; 00781 PEXTPUSH pExtPush; 00782 } DUMMYUNIONNAME2; 00783 POPTTYPE pOptType; 00784 DWORD HelpIndex; 00785 BYTE DMPubID; 00786 BYTE UserItemID; 00787 WORD wReserved; 00788 POIEXT pOIExt; 00789 ULONG_PTR dwReserved[3]; 00790 } OPTITEM, *POPTITEM; 00791 00792 typedef struct _CPSUICBPARAM { 00793 WORD cbSize; 00794 WORD Reason; 00795 HWND hDlg; 00796 POPTITEM pOptItem; 00797 WORD cOptItem; 00798 WORD Flags; 00799 POPTITEM pCurItem; 00800 union { 00801 LONG OldSel; 00802 LPTSTR pOldSel; 00803 } DUMMYUNIONNAME; 00804 ULONG_PTR UserData; 00805 ULONG_PTR Result; 00806 } CPSUICBPARAM, *PCPSUICBPARAM; 00807 00808 typedef LONG 00809 (APIENTRY *_CPSUICALLBACK)( 00810 PCPSUICBPARAM pCPSUICBParam); 00811 00812 #define CPSUICALLBACK LONG APIENTRY 00813 00814 typedef struct _DLGPAGE { 00815 WORD cbSize; 00816 WORD Flags; 00817 DLGPROC DlgProc; 00818 LPTSTR pTabName; 00819 ULONG_PTR IconID; 00820 union { 00821 WORD DlgTemplateID; 00822 HANDLE hDlgTemplate; 00823 } DUMMYUNIONNAME; 00824 } DLGPAGE, *PDLGPAGE; 00825 00826 typedef struct _COMPROPSHEETUI { 00827 WORD cbSize; 00828 WORD Flags; 00829 HINSTANCE hInstCaller; 00830 LPTSTR pCallerName; 00831 ULONG_PTR UserData; 00832 LPTSTR pHelpFile; 00833 _CPSUICALLBACK pfnCallBack; 00834 POPTITEM pOptItem; 00835 PDLGPAGE pDlgPage; 00836 WORD cOptItem; 00837 WORD cDlgPage; 00838 ULONG_PTR IconID; 00839 LPTSTR pOptItemName; 00840 WORD CallerVersion; 00841 WORD OptItemVersion; 00842 ULONG_PTR dwReserved[4]; 00843 } COMPROPSHEETUI, *PCOMPROPSHEETUI; 00844 00845 typedef struct _SETRESULT_INFO { 00846 WORD cbSize; 00847 WORD wReserved; 00848 HANDLE hSetResult; 00849 LRESULT Result; 00850 } SETRESULT_INFO, *PSETRESULT_INFO; 00851 00852 typedef struct _INSERTPSUIPAGE_INFO { 00853 WORD cbSize; 00854 BYTE Type; 00855 BYTE Mode; 00856 ULONG_PTR dwData1; 00857 ULONG_PTR dwData2; 00858 ULONG_PTR dwData3; 00859 } INSERTPSUIPAGE_INFO, *PINSERTPSUIPAGE_INFO; 00860 00861 typedef LONG_PTR 00862 (CALLBACK *PFNCOMPROPSHEET)( 00863 HANDLE hComPropSheet, 00864 UINT Function, 00865 LPARAM lParam1, 00866 LPARAM lParam2); 00867 00868 typedef struct _PSPINFO { 00869 WORD cbSize; 00870 WORD wReserved; 00871 HANDLE hComPropSheet; 00872 HANDLE hCPSUIPage; 00873 PFNCOMPROPSHEET pfnComPropSheet; 00874 } PSPINFO, *PPSPINFO; 00875 00876 #define PPSPINFO_FROM_WM_INITDIALOG_LPARAM(lParam) \ 00877 (PPSPINFO)((LPBYTE)lParam + ((LPPROPSHEETPAGE)lParam)->dwSize) 00878 00879 typedef struct _CPSUIDATABLOCK { 00880 DWORD cbData; 00881 LPBYTE pbData; 00882 } CPSUIDATABLOCK, *PCPSUIDATABLOCK; 00883 00884 typedef struct _PROPSHEETUI_INFO { 00885 WORD cbSize; 00886 WORD Version; 00887 WORD Flags; 00888 WORD Reason; 00889 HANDLE hComPropSheet; 00890 PFNCOMPROPSHEET pfnComPropSheet; 00891 LPARAM lParamInit; 00892 ULONG_PTR UserData; 00893 ULONG_PTR Result; 00894 } PROPSHEETUI_INFO, *PPROPSHEETUI_INFO; 00895 00896 typedef struct _PROPSHEETUI_GETICON_INFO { 00897 WORD cbSize; 00898 WORD Flags; 00899 WORD cxIcon; 00900 WORD cyIcon; 00901 HICON hIcon; 00902 } PROPSHEETUI_GETICON_INFO, *PPROPSHEETUI_GETICON_INFO; 00903 00904 typedef LONG 00905 (FAR *PFNPROPSHEETUI)( 00906 PPROPSHEETUI_INFO pPSUIInfo, 00907 LPARAM lParam); 00908 00909 typedef struct _PROPSHEETUI_INFO_HEADER { 00910 WORD cbSize; 00911 WORD Flags; 00912 LPTSTR pTitle; 00913 HWND hWndParent; 00914 HINSTANCE hInst; 00915 union { 00916 HICON hIcon; 00917 ULONG_PTR IconID; 00918 } DUMMYUNIONNAME; 00919 } PROPSHEETUI_INFO_HEADER, *PPROPSHEETUI_INFO_HEADER; 00920 00921 /* FUNCTIONS */ 00922 00923 LONG 00924 APIENTRY 00925 CommonPropertySheetUIA( 00926 HWND hWndOwner, 00927 PFNPROPSHEETUI pfnPropSheetUI, 00928 LPARAM lParam, 00929 LPDWORD pResult); 00930 00931 LONG 00932 APIENTRY 00933 CommonPropertySheetUIW( 00934 HWND hWndOwner, 00935 PFNPROPSHEETUI pfnPropSheetUI, 00936 LPARAM lParam, 00937 LPDWORD pResult); 00938 00939 #ifdef UNICODE 00940 #define CommonPropertySheetUI CommonPropertySheetUIW 00941 #else 00942 #define CommonPropertySheetUI CommonPropertySheetUIA 00943 #endif 00944 00945 ULONG_PTR 00946 APIENTRY 00947 GetCPSUIUserData( 00948 HWND hDlg); 00949 00950 BOOL 00951 APIENTRY 00952 SetCPSUIUserData( 00953 HWND hDlg, 00954 ULONG_PTR CPSUIUserData); 00955 00956 #endif /* (!defined(RC_INVOKED)) */ 00957 00958 /* FIXME : These declarations doesn't exist in the official header */ 00959 ULONG_PTR WINAPI GetPSTUIUserData(HWND); 00960 BOOL WINAPI SetPSTUIUserData(HWND, ULONG_PTR); 00961 00962 00963 #ifdef __cplusplus 00964 } /* extern "C" */ 00965 #endif Generated on Sun May 27 2012 04:31:11 for ReactOS by
1.7.6.1
|