diff options
Diffstat (limited to 'librpc/gen_ndr/spoolss.h')
-rw-r--r-- | librpc/gen_ndr/spoolss.h | 532 |
1 files changed, 266 insertions, 266 deletions
diff --git a/librpc/gen_ndr/spoolss.h b/librpc/gen_ndr/spoolss.h index 71e1e9414e..2b9fc5108f 100644 --- a/librpc/gen_ndr/spoolss.h +++ b/librpc/gen_ndr/spoolss.h @@ -68,9 +68,9 @@ struct spoolss_TimeCtr { enum spoolss_ProcessorArchitecture #ifndef USE_UINT_ENUMS { - PROCESSOR_ARCHITECTURE_INTEL=0x0000, - PROCESSOR_ARCHITECTURE_IA64=0x0006, - PROCESSOR_ARCHITECTURE_AMD64=0x0009 + PROCESSOR_ARCHITECTURE_INTEL=(int)(0x0000), + PROCESSOR_ARCHITECTURE_IA64=(int)(0x0006), + PROCESSOR_ARCHITECTURE_AMD64=(int)(0x0009) } #else { __donnot_use_enum_spoolss_ProcessorArchitecture=0x7FFFFFFF} @@ -83,11 +83,11 @@ enum spoolss_ProcessorArchitecture enum spoolss_ProcessorType #ifndef USE_UINT_ENUMS { - PROCESSOR_INTEL_386=0x00000182, - PROCESSOR_INTEL_486=0x000001E6, - PROCESSOR_INTEL_PENTIUM=0x0000024A, - PROCESSOR_INTEL_IA64=0x00000898, - PROCESSOR_AMD_X8664=0x000022A0 + PROCESSOR_INTEL_386=(int)(0x00000182), + PROCESSOR_INTEL_486=(int)(0x000001E6), + PROCESSOR_INTEL_PENTIUM=(int)(0x0000024A), + PROCESSOR_INTEL_IA64=(int)(0x00000898), + PROCESSOR_AMD_X8664=(int)(0x000022A0) } #else { __donnot_use_enum_spoolss_ProcessorType=0x7FFFFFFF} @@ -102,9 +102,9 @@ enum spoolss_ProcessorType enum spoolss_MajorVersion #ifndef USE_UINT_ENUMS { - SPOOLSS_MAJOR_VERSION_NT4_95_98_ME=0x00000004, - SPOOLSS_MAJOR_VERSION_2000_2003_XP=0x00000005, - SPOOLSS_MAJOR_VERSION_2008_VISTA=0x00000006 + SPOOLSS_MAJOR_VERSION_NT4_95_98_ME=(int)(0x00000004), + SPOOLSS_MAJOR_VERSION_2000_2003_XP=(int)(0x00000005), + SPOOLSS_MAJOR_VERSION_2008_VISTA=(int)(0x00000006) } #else { __donnot_use_enum_spoolss_MajorVersion=0x7FFFFFFF} @@ -117,11 +117,11 @@ enum spoolss_MajorVersion enum spoolss_MinorVersion #ifndef USE_UINT_ENUMS { - SPOOLSS_MINOR_VERSION_0=0x00000000, - SPOOLSS_MINOR_VERSION_XP=0x00000001, - SPOOLSS_MINOR_VERSION_2003_XP64=0x00000002, - SPOOLSS_MINOR_VERSION_98=0x0000000a, - SPOOLSS_MINOR_VERSION_ME=0x0000005a + SPOOLSS_MINOR_VERSION_0=(int)(0x00000000), + SPOOLSS_MINOR_VERSION_XP=(int)(0x00000001), + SPOOLSS_MINOR_VERSION_2003_XP64=(int)(0x00000002), + SPOOLSS_MINOR_VERSION_98=(int)(0x0000000a), + SPOOLSS_MINOR_VERSION_ME=(int)(0x0000005a) } #else { __donnot_use_enum_spoolss_MinorVersion=0x7FFFFFFF} @@ -240,9 +240,9 @@ struct spoolss_PrinterInfo0 { enum spoolss_DeviceModeSpecVersion #ifndef USE_UINT_ENUMS { - DMSPEC_NT3=0x320, - DMSPEC_WIN95_98_ME=0x400, - DMSPEC_NT4_AND_ABOVE=0x401 + DMSPEC_NT3=(int)(0x320), + DMSPEC_WIN95_98_ME=(int)(0x400), + DMSPEC_NT4_AND_ABOVE=(int)(0x401) } #else { __donnot_use_enum_spoolss_DeviceModeSpecVersion=0x7FFFFFFF} @@ -255,8 +255,8 @@ enum spoolss_DeviceModeSpecVersion enum spoolss_DeviceModeOrientation #ifndef USE_UINT_ENUMS { - DMORIENT_PORTRAIT=0x0001, - DMORIENT_LANDSCAPE=0x0002 + DMORIENT_PORTRAIT=(int)(0x0001), + DMORIENT_LANDSCAPE=(int)(0x0002) } #else { __donnot_use_enum_spoolss_DeviceModeOrientation=0x7FFFFFFF} @@ -268,97 +268,97 @@ enum spoolss_DeviceModeOrientation enum spoolss_DeviceModePaperSize #ifndef USE_UINT_ENUMS { - DMPAPER_LETTER=0x0001, - DMPAPER_LETTERSMALL=0x0002, - DMPAPER_TABLOID=0x0003, - DMPAPER_LEDGER=0x0004, - DMPAPER_LEGAL=0x0005, - DMPAPER_STATEMENT=0x0006, - DMPAPER_EXECUTIVE=0x0007, - DMPAPER_A3=0x0008, - DMPAPER_A4=0x0009, - DMPAPER_A4SMALL=0x000A, - DMPAPER_A5=0x000B, - DMPAPER_B4=0x000C, - DMPAPER_B5=0x000D, - DMPAPER_FOLIO=0x000E, - DMPAPER_QUARTO=0x000F, - DMPAPER_10X14=0x0010, - DMPAPER_11X17=0x0011, - DMPAPER_NOTE=0x0012, - DMPAPER_ENV_9=0x0013, - DMPAPER_ENV_10=0x0014, - DMPAPER_ENV_11=0x0015, - DMPAPER_ENV_12=0x0016, - DMPAPER_ENV_14=0x0017, - DMPAPER_CSHEET=0x0018, - DMPAPER_DSHEET=0x0019, - DMPAPER_ESHEET=0x001A, - DMPAPER_ENV_DL=0x001B, - DMPAPER_ENV_C5=0x001C, - DMPAPER_ENV_C3=0x001D, - DMPAPER_ENV_C4=0x001E, - DMPAPER_ENV_C6=0x001F, - DMPAPER_ENV_C65=0x0020, - DMPAPER_ENV_B4=0x0021, - DMPAPER_ENV_B5=0x0022, - DMPAPER_ENV_B6=0x0023, - DMPAPER_ENV_ITALY=0x0024, - DMPAPER_ENV_MONARCH=0x0025, - DMPAPER_ENV_PERSONAL=0x0026, - DMPAPER_FANFOLD_US=0x0027, - DMPAPER_FANFOLD_STD_GERMAN=0x0028, - DMPAPER_FANFOLD_LGL_GERMAN=0x0029, - DMPAPER_DBL_JAPANESE_POSTCARD=0x0045, - DMPAPER_A6=0x0046, - DMPAPER_JENV_KAKU2=0x0047, - DMPAPER_JENV_KAKU3=0x0048, - DMPAPER_JENV_CHOU3=0x0049, - DMPAPER_JENV_CHOU4=0x004A, - DMPAPER_LETTER_ROTATED=0x004B, - DMPAPER_A3_ROTATED=0x004C, - DMPAPER_A4_ROTATED=0x004D, - DMPAPER_A5_ROTATED=0x004E, - DMPAPER_B4_JIS_ROTATED=0x004F, - DMPAPER_B5_JIS_ROTATED=0x0050, - DMPAPER_JAPANESE_POSTCARD_ROTATED=0x0051, - DMPAPER_DBL_JAPANESE_POSTCARD_ROTATED=0x0052, - DMPAPER_A6_ROTATED=0x0053, - DMPAPER_JENV_KAKU2_ROTATED=0x0054, - DMPAPER_JENV_KAKU3_ROTATED=0x0055, - DMPAPER_JENV_CHOU3_ROTATED=0x0056, - DMPAPER_JENV_CHOU4_ROTATED=0x0057, - DMPAPER_B6_JIS=0x0058, - DMPAPER_B6_JIS_ROTATED=0x0059, - DMPAPER_12X11=0x005A, - DMPAPER_JENV_YOU4=0x005B, - DMPAPER_JENV_YOU4_ROTATED=0x005C, - DMPAPER_P16K=0x005D, - DMPAPER_P32K=0x005E, - DMPAPER_P32KBIG=0x005F, - DMPAPER_PENV_1=0x0060, - DMPAPER_PENV_2=0x0061, - DMPAPER_PENV_3=0x0062, - DMPAPER_PENV_4=0x0063, - DMPAPER_PENV_5=0x0064, - DMPAPER_PENV_6=0x0065, - DMPAPER_PENV_7=0x0066, - DMPAPER_PENV_8=0x0067, - DMPAPER_PENV_9=0x0068, - DMPAPER_PENV_10=0x0069, - DMPAPER_P16K_ROTATED=0x006A, - DMPAPER_P32K_ROTATED=0x006B, - DMPAPER_P32KBIG_ROTATED=0x006C, - DMPAPER_PENV_1_ROTATED=0x006D, - DMPAPER_PENV_2_ROTATED=0x006E, - DMPAPER_PENV_3_ROTATED=0x006F, - DMPAPER_PENV_4_ROTATED=0x0070, - DMPAPER_PENV_5_ROTATED=0x0071, - DMPAPER_PENV_6_ROTATED=0x0072, - DMPAPER_PENV_7_ROTATED=0x0073, - DMPAPER_PENV_8_ROTATED=0x0074, - DMPAPER_PENV_9_ROTATED=0x0075, - DMPAPER_PENV_10_ROTATED=0x0076 + DMPAPER_LETTER=(int)(0x0001), + DMPAPER_LETTERSMALL=(int)(0x0002), + DMPAPER_TABLOID=(int)(0x0003), + DMPAPER_LEDGER=(int)(0x0004), + DMPAPER_LEGAL=(int)(0x0005), + DMPAPER_STATEMENT=(int)(0x0006), + DMPAPER_EXECUTIVE=(int)(0x0007), + DMPAPER_A3=(int)(0x0008), + DMPAPER_A4=(int)(0x0009), + DMPAPER_A4SMALL=(int)(0x000A), + DMPAPER_A5=(int)(0x000B), + DMPAPER_B4=(int)(0x000C), + DMPAPER_B5=(int)(0x000D), + DMPAPER_FOLIO=(int)(0x000E), + DMPAPER_QUARTO=(int)(0x000F), + DMPAPER_10X14=(int)(0x0010), + DMPAPER_11X17=(int)(0x0011), + DMPAPER_NOTE=(int)(0x0012), + DMPAPER_ENV_9=(int)(0x0013), + DMPAPER_ENV_10=(int)(0x0014), + DMPAPER_ENV_11=(int)(0x0015), + DMPAPER_ENV_12=(int)(0x0016), + DMPAPER_ENV_14=(int)(0x0017), + DMPAPER_CSHEET=(int)(0x0018), + DMPAPER_DSHEET=(int)(0x0019), + DMPAPER_ESHEET=(int)(0x001A), + DMPAPER_ENV_DL=(int)(0x001B), + DMPAPER_ENV_C5=(int)(0x001C), + DMPAPER_ENV_C3=(int)(0x001D), + DMPAPER_ENV_C4=(int)(0x001E), + DMPAPER_ENV_C6=(int)(0x001F), + DMPAPER_ENV_C65=(int)(0x0020), + DMPAPER_ENV_B4=(int)(0x0021), + DMPAPER_ENV_B5=(int)(0x0022), + DMPAPER_ENV_B6=(int)(0x0023), + DMPAPER_ENV_ITALY=(int)(0x0024), + DMPAPER_ENV_MONARCH=(int)(0x0025), + DMPAPER_ENV_PERSONAL=(int)(0x0026), + DMPAPER_FANFOLD_US=(int)(0x0027), + DMPAPER_FANFOLD_STD_GERMAN=(int)(0x0028), + DMPAPER_FANFOLD_LGL_GERMAN=(int)(0x0029), + DMPAPER_DBL_JAPANESE_POSTCARD=(int)(0x0045), + DMPAPER_A6=(int)(0x0046), + DMPAPER_JENV_KAKU2=(int)(0x0047), + DMPAPER_JENV_KAKU3=(int)(0x0048), + DMPAPER_JENV_CHOU3=(int)(0x0049), + DMPAPER_JENV_CHOU4=(int)(0x004A), + DMPAPER_LETTER_ROTATED=(int)(0x004B), + DMPAPER_A3_ROTATED=(int)(0x004C), + DMPAPER_A4_ROTATED=(int)(0x004D), + DMPAPER_A5_ROTATED=(int)(0x004E), + DMPAPER_B4_JIS_ROTATED=(int)(0x004F), + DMPAPER_B5_JIS_ROTATED=(int)(0x0050), + DMPAPER_JAPANESE_POSTCARD_ROTATED=(int)(0x0051), + DMPAPER_DBL_JAPANESE_POSTCARD_ROTATED=(int)(0x0052), + DMPAPER_A6_ROTATED=(int)(0x0053), + DMPAPER_JENV_KAKU2_ROTATED=(int)(0x0054), + DMPAPER_JENV_KAKU3_ROTATED=(int)(0x0055), + DMPAPER_JENV_CHOU3_ROTATED=(int)(0x0056), + DMPAPER_JENV_CHOU4_ROTATED=(int)(0x0057), + DMPAPER_B6_JIS=(int)(0x0058), + DMPAPER_B6_JIS_ROTATED=(int)(0x0059), + DMPAPER_12X11=(int)(0x005A), + DMPAPER_JENV_YOU4=(int)(0x005B), + DMPAPER_JENV_YOU4_ROTATED=(int)(0x005C), + DMPAPER_P16K=(int)(0x005D), + DMPAPER_P32K=(int)(0x005E), + DMPAPER_P32KBIG=(int)(0x005F), + DMPAPER_PENV_1=(int)(0x0060), + DMPAPER_PENV_2=(int)(0x0061), + DMPAPER_PENV_3=(int)(0x0062), + DMPAPER_PENV_4=(int)(0x0063), + DMPAPER_PENV_5=(int)(0x0064), + DMPAPER_PENV_6=(int)(0x0065), + DMPAPER_PENV_7=(int)(0x0066), + DMPAPER_PENV_8=(int)(0x0067), + DMPAPER_PENV_9=(int)(0x0068), + DMPAPER_PENV_10=(int)(0x0069), + DMPAPER_P16K_ROTATED=(int)(0x006A), + DMPAPER_P32K_ROTATED=(int)(0x006B), + DMPAPER_P32KBIG_ROTATED=(int)(0x006C), + DMPAPER_PENV_1_ROTATED=(int)(0x006D), + DMPAPER_PENV_2_ROTATED=(int)(0x006E), + DMPAPER_PENV_3_ROTATED=(int)(0x006F), + DMPAPER_PENV_4_ROTATED=(int)(0x0070), + DMPAPER_PENV_5_ROTATED=(int)(0x0071), + DMPAPER_PENV_6_ROTATED=(int)(0x0072), + DMPAPER_PENV_7_ROTATED=(int)(0x0073), + DMPAPER_PENV_8_ROTATED=(int)(0x0074), + DMPAPER_PENV_9_ROTATED=(int)(0x0075), + DMPAPER_PENV_10_ROTATED=(int)(0x0076) } #else { __donnot_use_enum_spoolss_DeviceModePaperSize=0x7FFFFFFF} @@ -459,19 +459,19 @@ enum spoolss_DeviceModePaperSize enum spoolss_DeviceModeDefaultSource #ifndef USE_UINT_ENUMS { - DMBIN_UPPER=0x0001, - DMBIN_LOWER=0x0002, - DMBIN_MIDDLE=0x0003, - DMBIN_MANUAL=0x0004, - DMBIN_ENVELOPE=0x0005, - DMBIN_ENVMANUAL=0x0006, - DMBIN_AUTO=0x0007, - DMBIN_TRACTOR=0x0008, - DMBIN_SMALLFMT=0x0009, - DMBIN_LARGEFMT=0x000a, - DMBIN_LARGECAPACITY=0x000b, - DMBIN_CASSETTE=0x000e, - DMBIN_FORMSOURCE=0x000f + DMBIN_UPPER=(int)(0x0001), + DMBIN_LOWER=(int)(0x0002), + DMBIN_MIDDLE=(int)(0x0003), + DMBIN_MANUAL=(int)(0x0004), + DMBIN_ENVELOPE=(int)(0x0005), + DMBIN_ENVMANUAL=(int)(0x0006), + DMBIN_AUTO=(int)(0x0007), + DMBIN_TRACTOR=(int)(0x0008), + DMBIN_SMALLFMT=(int)(0x0009), + DMBIN_LARGEFMT=(int)(0x000a), + DMBIN_LARGECAPACITY=(int)(0x000b), + DMBIN_CASSETTE=(int)(0x000e), + DMBIN_FORMSOURCE=(int)(0x000f) } #else { __donnot_use_enum_spoolss_DeviceModeDefaultSource=0x7FFFFFFF} @@ -494,10 +494,10 @@ enum spoolss_DeviceModeDefaultSource enum spoolss_DeviceModePrintQuality #ifndef USE_UINT_ENUMS { - DMRES_HIGH=0xfffc, - DMRES_MEDIUM=0xfffd, - DMRES_LOW=0xfffe, - DMRES_DRAFT=0xffff + DMRES_HIGH=(int)(0xfffc), + DMRES_MEDIUM=(int)(0xfffd), + DMRES_LOW=(int)(0xfffe), + DMRES_DRAFT=(int)(0xffff) } #else { __donnot_use_enum_spoolss_DeviceModePrintQuality=0x7FFFFFFF} @@ -511,8 +511,8 @@ enum spoolss_DeviceModePrintQuality enum spoolss_DeviceModeColor #ifndef USE_UINT_ENUMS { - DMRES_MONOCHROME=0x0001, - DMRES_COLOR=0x0002 + DMRES_MONOCHROME=(int)(0x0001), + DMRES_COLOR=(int)(0x0002) } #else { __donnot_use_enum_spoolss_DeviceModeColor=0x7FFFFFFF} @@ -524,9 +524,9 @@ enum spoolss_DeviceModeColor enum spoolss_DeviceModeDuplex #ifndef USE_UINT_ENUMS { - DMDUP_SIMPLEX=0x0001, - DMDUP_VERTICAL=0x0002, - DMDUP_HORIZONTAL=0x0003 + DMDUP_SIMPLEX=(int)(0x0001), + DMDUP_VERTICAL=(int)(0x0002), + DMDUP_HORIZONTAL=(int)(0x0003) } #else { __donnot_use_enum_spoolss_DeviceModeDuplex=0x7FFFFFFF} @@ -539,10 +539,10 @@ enum spoolss_DeviceModeDuplex enum spoolss_DeviceModeTTOption #ifndef USE_UINT_ENUMS { - DMTT_BITMAP=0x0001, - DMTT_DOWNLOAD=0x0002, - DMTT_SUBDEV=0x0003, - DMTT_DOWNLOAD_OUTLINE=0x0004 + DMTT_BITMAP=(int)(0x0001), + DMTT_DOWNLOAD=(int)(0x0002), + DMTT_SUBDEV=(int)(0x0003), + DMTT_DOWNLOAD_OUTLINE=(int)(0x0004) } #else { __donnot_use_enum_spoolss_DeviceModeTTOption=0x7FFFFFFF} @@ -556,8 +556,8 @@ enum spoolss_DeviceModeTTOption enum spoolss_DeviceModeCollate #ifndef USE_UINT_ENUMS { - DMCOLLATE_FALSE=0x0000, - DMCOLLATE_TRUE=0x0001 + DMCOLLATE_FALSE=(int)(0x0000), + DMCOLLATE_TRUE=(int)(0x0001) } #else { __donnot_use_enum_spoolss_DeviceModeCollate=0x7FFFFFFF} @@ -569,8 +569,8 @@ enum spoolss_DeviceModeCollate enum spoolss_DeviceModeNUp #ifndef USE_UINT_ENUMS { - DMNUP_SYSTEM=0x00000001, - DMNUP_ONEUP=0x00000002 + DMNUP_SYSTEM=(int)(0x00000001), + DMNUP_ONEUP=(int)(0x00000002) } #else { __donnot_use_enum_spoolss_DeviceModeNUp=0x7FFFFFFF} @@ -582,10 +582,10 @@ enum spoolss_DeviceModeNUp enum spoolss_DeviceModeICMMethod #ifndef USE_UINT_ENUMS { - DMICMMETHOD_NONE=0x00000001, - DMICMMETHOD_SYSTEM=0x00000002, - DMICMMETHOD_DRIVER=0x00000003, - DMICMMETHOD_DEVICE=0x00000004 + DMICMMETHOD_NONE=(int)(0x00000001), + DMICMMETHOD_SYSTEM=(int)(0x00000002), + DMICMMETHOD_DRIVER=(int)(0x00000003), + DMICMMETHOD_DEVICE=(int)(0x00000004) } #else { __donnot_use_enum_spoolss_DeviceModeICMMethod=0x7FFFFFFF} @@ -599,10 +599,10 @@ enum spoolss_DeviceModeICMMethod enum spoolss_DeviceModeICMIntent #ifndef USE_UINT_ENUMS { - DMICM_SATURATE=0x00000001, - DMICM_CONTRAST=0x00000002, - DMICM_COLORIMETRIC=0x00000003, - DMICM_ABS_COLORIMETRIC=0x00000004 + DMICM_SATURATE=(int)(0x00000001), + DMICM_CONTRAST=(int)(0x00000002), + DMICM_COLORIMETRIC=(int)(0x00000003), + DMICM_ABS_COLORIMETRIC=(int)(0x00000004) } #else { __donnot_use_enum_spoolss_DeviceModeICMIntent=0x7FFFFFFF} @@ -616,9 +616,9 @@ enum spoolss_DeviceModeICMIntent enum spoolss_DeviceModeMediaType #ifndef USE_UINT_ENUMS { - DMMEDIA_STANDARD=0x00000001, - DMMEDIA_TRANSPARENCY=0x00000002, - DMMEDIA_GLOSSY=0x00000003 + DMMEDIA_STANDARD=(int)(0x00000001), + DMMEDIA_TRANSPARENCY=(int)(0x00000002), + DMMEDIA_GLOSSY=(int)(0x00000003) } #else { __donnot_use_enum_spoolss_DeviceModeMediaType=0x7FFFFFFF} @@ -631,16 +631,16 @@ enum spoolss_DeviceModeMediaType enum spoolss_DeviceModeDitherType #ifndef USE_UINT_ENUMS { - DMDITHER_NONE=0x00000001, - DMDITHER_COARSE=0x00000002, - DMDITHER_FINE=0x00000003, - DMDITHER_LINEART=0x00000004, - DMDITHER_ERRORDIFFUSION=0x00000005, - DMDITHER_RESERVED6=0x00000006, - DMDITHER_RESERVED7=0x00000007, - DMDITHER_RESERVED8=0x00000008, - DMDITHER_RESERVED9=0x00000009, - DMDITHER_GRAYSCALE=0x0000000A + DMDITHER_NONE=(int)(0x00000001), + DMDITHER_COARSE=(int)(0x00000002), + DMDITHER_FINE=(int)(0x00000003), + DMDITHER_LINEART=(int)(0x00000004), + DMDITHER_ERRORDIFFUSION=(int)(0x00000005), + DMDITHER_RESERVED6=(int)(0x00000006), + DMDITHER_RESERVED7=(int)(0x00000007), + DMDITHER_RESERVED8=(int)(0x00000008), + DMDITHER_RESERVED9=(int)(0x00000009), + DMDITHER_GRAYSCALE=(int)(0x0000000A) } #else { __donnot_use_enum_spoolss_DeviceModeDitherType=0x7FFFFFFF} @@ -987,15 +987,15 @@ struct spoolss_JobInfoContainer { enum spoolss_JobControl #ifndef USE_UINT_ENUMS { - SPOOLSS_JOB_CONTROL_PAUSE=1, - SPOOLSS_JOB_CONTROL_RESUME=2, - SPOOLSS_JOB_CONTROL_CANCEL=3, - SPOOLSS_JOB_CONTROL_RESTART=4, - SPOOLSS_JOB_CONTROL_DELETE=5, - SPOOLSS_JOB_CONTROL_SEND_TO_PRINTER=6, - SPOOLSS_JOB_CONTROL_LAST_PAGE_EJECTED=7, - SPOOLSS_JOB_CONTROL_RETAIN=8, - SPOOLSS_JOB_CONTROL_RELEASE=9 + SPOOLSS_JOB_CONTROL_PAUSE=(int)(1), + SPOOLSS_JOB_CONTROL_RESUME=(int)(2), + SPOOLSS_JOB_CONTROL_CANCEL=(int)(3), + SPOOLSS_JOB_CONTROL_RESTART=(int)(4), + SPOOLSS_JOB_CONTROL_DELETE=(int)(5), + SPOOLSS_JOB_CONTROL_SEND_TO_PRINTER=(int)(6), + SPOOLSS_JOB_CONTROL_LAST_PAGE_EJECTED=(int)(7), + SPOOLSS_JOB_CONTROL_RETAIN=(int)(8), + SPOOLSS_JOB_CONTROL_RELEASE=(int)(9) } #else { __donnot_use_enum_spoolss_JobControl=0x7FFFFFFF} @@ -1014,11 +1014,11 @@ enum spoolss_JobControl enum spoolss_PrinterControl #ifndef USE_UINT_ENUMS { - SPOOLSS_PRINTER_CONTROL_UNPAUSE=0, - SPOOLSS_PRINTER_CONTROL_PAUSE=1, - SPOOLSS_PRINTER_CONTROL_RESUME=2, - SPOOLSS_PRINTER_CONTROL_PURGE=3, - SPOOLSS_PRINTER_CONTROL_SET_STATUS=4 + SPOOLSS_PRINTER_CONTROL_UNPAUSE=(int)(0), + SPOOLSS_PRINTER_CONTROL_PAUSE=(int)(1), + SPOOLSS_PRINTER_CONTROL_RESUME=(int)(2), + SPOOLSS_PRINTER_CONTROL_PURGE=(int)(3), + SPOOLSS_PRINTER_CONTROL_SET_STATUS=(int)(4) } #else { __donnot_use_enum_spoolss_PrinterControl=0x7FFFFFFF} @@ -1150,10 +1150,10 @@ struct spoolss_AddDriverInfo1 { enum spoolss_DriverOSVersion #ifndef USE_UINT_ENUMS { - SPOOLSS_DRIVER_VERSION_9X=0, - SPOOLSS_DRIVER_VERSION_NT35=1, - SPOOLSS_DRIVER_VERSION_NT4=2, - SPOOLSS_DRIVER_VERSION_200X=3 + SPOOLSS_DRIVER_VERSION_9X=(int)(0), + SPOOLSS_DRIVER_VERSION_NT35=(int)(1), + SPOOLSS_DRIVER_VERSION_NT4=(int)(2), + SPOOLSS_DRIVER_VERSION_200X=(int)(3) } #else { __donnot_use_enum_spoolss_DriverOSVersion=0x7FFFFFFF} @@ -1389,11 +1389,11 @@ struct spoolss_DriverInfo8 { enum spoolss_DriverFileType #ifndef USE_UINT_ENUMS { - SPOOLSS_DRIVER_FILE_TYPE_RENDERING=0x00000000, - SPOOLSS_DRIVER_FILE_TYPE_CONFIGURATION=0x00000001, - SPOOLSS_DRIVER_FILE_TYPE_DATA=0x00000002, - SPOOLSS_DRIVER_FILE_TYPE_HELP=0x00000003, - SPOOLSS_DRIVER_FILE_TYPE_OTHER=0x00000004 + SPOOLSS_DRIVER_FILE_TYPE_RENDERING=(int)(0x00000000), + SPOOLSS_DRIVER_FILE_TYPE_CONFIGURATION=(int)(0x00000001), + SPOOLSS_DRIVER_FILE_TYPE_DATA=(int)(0x00000002), + SPOOLSS_DRIVER_FILE_TYPE_HELP=(int)(0x00000003), + SPOOLSS_DRIVER_FILE_TYPE_OTHER=(int)(0x00000004) } #else { __donnot_use_enum_spoolss_DriverFileType=0x7FFFFFFF} @@ -1507,9 +1507,9 @@ union spoolss_PrinterData { enum spoolss_FormFlags #ifndef USE_UINT_ENUMS { - SPOOLSS_FORM_USER=0, - SPOOLSS_FORM_BUILTIN=1, - SPOOLSS_FORM_PRINTER=2 + SPOOLSS_FORM_USER=(int)(0), + SPOOLSS_FORM_BUILTIN=(int)(1), + SPOOLSS_FORM_PRINTER=(int)(2) } #else { __donnot_use_enum_spoolss_FormFlags=0x7FFFFFFF} @@ -1607,19 +1607,19 @@ struct spoolss_PortInfo2 { enum spoolss_PortStatus #ifndef USE_UINT_ENUMS { - PORT_STATUS_CLEAR=0x00000000, - PORT_STATUS_OFFLINE=0x00000001, - PORT_STATUS_PAPER_JAM=0x00000002, - PORT_STATUS_PAPER_OUT=0x00000003, - PORT_STATUS_OUTPUT_BIN_FULL=0x00000004, - PORT_STATUS_PAPER_PROBLEM=0x00000005, - PORT_STATUS_NO_TONER=0x00000006, - PORT_STATUS_DOOR_OPEN=0x00000007, - PORT_STATUS_USER_INTERVENTION=0x00000008, - PORT_STATUS_OUT_OF_MEMORY=0x00000009, - PORT_STATUS_TONER_LOW=0x0000000A, - PORT_STATUS_WARMING_UP=0x0000000B, - PORT_STATUS_POWER_SAVE=0x0000000C + PORT_STATUS_CLEAR=(int)(0x00000000), + PORT_STATUS_OFFLINE=(int)(0x00000001), + PORT_STATUS_PAPER_JAM=(int)(0x00000002), + PORT_STATUS_PAPER_OUT=(int)(0x00000003), + PORT_STATUS_OUTPUT_BIN_FULL=(int)(0x00000004), + PORT_STATUS_PAPER_PROBLEM=(int)(0x00000005), + PORT_STATUS_NO_TONER=(int)(0x00000006), + PORT_STATUS_DOOR_OPEN=(int)(0x00000007), + PORT_STATUS_USER_INTERVENTION=(int)(0x00000008), + PORT_STATUS_OUT_OF_MEMORY=(int)(0x00000009), + PORT_STATUS_TONER_LOW=(int)(0x0000000A), + PORT_STATUS_WARMING_UP=(int)(0x0000000B), + PORT_STATUS_POWER_SAVE=(int)(0x0000000C) } #else { __donnot_use_enum_spoolss_PortStatus=0x7FFFFFFF} @@ -1642,9 +1642,9 @@ enum spoolss_PortStatus enum spoolss_PortSeverity #ifndef USE_UINT_ENUMS { - PORT_STATUS_TYPE_ERROR=0x00000001, - PORT_STATUS_TYPE_WARNING=0x00000002, - PORT_STATUS_TYPE_INFO=0x00000003 + PORT_STATUS_TYPE_ERROR=(int)(0x00000001), + PORT_STATUS_TYPE_WARNING=(int)(0x00000002), + PORT_STATUS_TYPE_INFO=(int)(0x00000003) } #else { __donnot_use_enum_spoolss_PortSeverity=0x7FFFFFFF} @@ -1721,30 +1721,30 @@ union spoolss_PrintProcDataTypesInfo { enum spoolss_JobNotifyField #ifndef USE_UINT_ENUMS { - JOB_NOTIFY_FIELD_PRINTER_NAME=0x00, - JOB_NOTIFY_FIELD_MACHINE_NAME=0x01, - JOB_NOTIFY_FIELD_PORT_NAME=0x02, - JOB_NOTIFY_FIELD_USER_NAME=0x03, - JOB_NOTIFY_FIELD_NOTIFY_NAME=0x04, - JOB_NOTIFY_FIELD_DATATYPE=0x05, - JOB_NOTIFY_FIELD_PRINT_PROCESSOR=0x06, - JOB_NOTIFY_FIELD_PARAMETERS=0x07, - JOB_NOTIFY_FIELD_DRIVER_NAME=0x08, - JOB_NOTIFY_FIELD_DEVMODE=0x09, - JOB_NOTIFY_FIELD_STATUS=0x0a, - JOB_NOTIFY_FIELD_STATUS_STRING=0x0b, - JOB_NOTIFY_FIELD_SECURITY_DESCRIPTOR=0x0c, - JOB_NOTIFY_FIELD_DOCUMENT=0x0d, - JOB_NOTIFY_FIELD_PRIORITY=0x0e, - JOB_NOTIFY_FIELD_POSITION=0x0f, - JOB_NOTIFY_FIELD_SUBMITTED=0x10, - JOB_NOTIFY_FIELD_START_TIME=0x11, - JOB_NOTIFY_FIELD_UNTIL_TIME=0x12, - JOB_NOTIFY_FIELD_TIME=0x13, - JOB_NOTIFY_FIELD_TOTAL_PAGES=0x14, - JOB_NOTIFY_FIELD_PAGES_PRINTED=0x15, - JOB_NOTIFY_FIELD_TOTAL_BYTES=0x16, - JOB_NOTIFY_FIELD_BYTES_PRINTED=0x17 + JOB_NOTIFY_FIELD_PRINTER_NAME=(int)(0x00), + JOB_NOTIFY_FIELD_MACHINE_NAME=(int)(0x01), + JOB_NOTIFY_FIELD_PORT_NAME=(int)(0x02), + JOB_NOTIFY_FIELD_USER_NAME=(int)(0x03), + JOB_NOTIFY_FIELD_NOTIFY_NAME=(int)(0x04), + JOB_NOTIFY_FIELD_DATATYPE=(int)(0x05), + JOB_NOTIFY_FIELD_PRINT_PROCESSOR=(int)(0x06), + JOB_NOTIFY_FIELD_PARAMETERS=(int)(0x07), + JOB_NOTIFY_FIELD_DRIVER_NAME=(int)(0x08), + JOB_NOTIFY_FIELD_DEVMODE=(int)(0x09), + JOB_NOTIFY_FIELD_STATUS=(int)(0x0a), + JOB_NOTIFY_FIELD_STATUS_STRING=(int)(0x0b), + JOB_NOTIFY_FIELD_SECURITY_DESCRIPTOR=(int)(0x0c), + JOB_NOTIFY_FIELD_DOCUMENT=(int)(0x0d), + JOB_NOTIFY_FIELD_PRIORITY=(int)(0x0e), + JOB_NOTIFY_FIELD_POSITION=(int)(0x0f), + JOB_NOTIFY_FIELD_SUBMITTED=(int)(0x10), + JOB_NOTIFY_FIELD_START_TIME=(int)(0x11), + JOB_NOTIFY_FIELD_UNTIL_TIME=(int)(0x12), + JOB_NOTIFY_FIELD_TIME=(int)(0x13), + JOB_NOTIFY_FIELD_TOTAL_PAGES=(int)(0x14), + JOB_NOTIFY_FIELD_PAGES_PRINTED=(int)(0x15), + JOB_NOTIFY_FIELD_TOTAL_BYTES=(int)(0x16), + JOB_NOTIFY_FIELD_BYTES_PRINTED=(int)(0x17) } #else { __donnot_use_enum_spoolss_JobNotifyField=0x7FFFFFFF} @@ -1778,34 +1778,34 @@ enum spoolss_JobNotifyField enum spoolss_PrintNotifyField #ifndef USE_UINT_ENUMS { - PRINTER_NOTIFY_FIELD_SERVER_NAME=0x00, - PRINTER_NOTIFY_FIELD_PRINTER_NAME=0x01, - PRINTER_NOTIFY_FIELD_SHARE_NAME=0x02, - PRINTER_NOTIFY_FIELD_PORT_NAME=0x03, - PRINTER_NOTIFY_FIELD_DRIVER_NAME=0x04, - PRINTER_NOTIFY_FIELD_COMMENT=0x05, - PRINTER_NOTIFY_FIELD_LOCATION=0x06, - PRINTER_NOTIFY_FIELD_DEVMODE=0x07, - PRINTER_NOTIFY_FIELD_SEPFILE=0x08, - PRINTER_NOTIFY_FIELD_PRINT_PROCESSOR=0x09, - PRINTER_NOTIFY_FIELD_PARAMETERS=0x0a, - PRINTER_NOTIFY_FIELD_DATATYPE=0x0b, - PRINTER_NOTIFY_FIELD_SECURITY_DESCRIPTOR=0x0c, - PRINTER_NOTIFY_FIELD_ATTRIBUTES=0x0d, - PRINTER_NOTIFY_FIELD_PRIORITY=0x0e, - PRINTER_NOTIFY_FIELD_DEFAULT_PRIORITY=0x0f, - PRINTER_NOTIFY_FIELD_START_TIME=0x10, - PRINTER_NOTIFY_FIELD_UNTIL_TIME=0x11, - PRINTER_NOTIFY_FIELD_STATUS=0x12, - PRINTER_NOTIFY_FIELD_STATUS_STRING=0x13, - PRINTER_NOTIFY_FIELD_CJOBS=0x14, - PRINTER_NOTIFY_FIELD_AVERAGE_PPM=0x15, - PRINTER_NOTIFY_FIELD_TOTAL_PAGES=0x16, - PRINTER_NOTIFY_FIELD_PAGES_PRINTED=0x17, - PRINTER_NOTIFY_FIELD_TOTAL_BYTES=0x18, - PRINTER_NOTIFY_FIELD_BYTES_PRINTED=0x19, - PRINTER_NOTIFY_FIELD_OBJECT_GUID=0x1a, - PRINTER_NOTIFY_FIELD_FRIENDLY_NAME=0x1b + PRINTER_NOTIFY_FIELD_SERVER_NAME=(int)(0x00), + PRINTER_NOTIFY_FIELD_PRINTER_NAME=(int)(0x01), + PRINTER_NOTIFY_FIELD_SHARE_NAME=(int)(0x02), + PRINTER_NOTIFY_FIELD_PORT_NAME=(int)(0x03), + PRINTER_NOTIFY_FIELD_DRIVER_NAME=(int)(0x04), + PRINTER_NOTIFY_FIELD_COMMENT=(int)(0x05), + PRINTER_NOTIFY_FIELD_LOCATION=(int)(0x06), + PRINTER_NOTIFY_FIELD_DEVMODE=(int)(0x07), + PRINTER_NOTIFY_FIELD_SEPFILE=(int)(0x08), + PRINTER_NOTIFY_FIELD_PRINT_PROCESSOR=(int)(0x09), + PRINTER_NOTIFY_FIELD_PARAMETERS=(int)(0x0a), + PRINTER_NOTIFY_FIELD_DATATYPE=(int)(0x0b), + PRINTER_NOTIFY_FIELD_SECURITY_DESCRIPTOR=(int)(0x0c), + PRINTER_NOTIFY_FIELD_ATTRIBUTES=(int)(0x0d), + PRINTER_NOTIFY_FIELD_PRIORITY=(int)(0x0e), + PRINTER_NOTIFY_FIELD_DEFAULT_PRIORITY=(int)(0x0f), + PRINTER_NOTIFY_FIELD_START_TIME=(int)(0x10), + PRINTER_NOTIFY_FIELD_UNTIL_TIME=(int)(0x11), + PRINTER_NOTIFY_FIELD_STATUS=(int)(0x12), + PRINTER_NOTIFY_FIELD_STATUS_STRING=(int)(0x13), + PRINTER_NOTIFY_FIELD_CJOBS=(int)(0x14), + PRINTER_NOTIFY_FIELD_AVERAGE_PPM=(int)(0x15), + PRINTER_NOTIFY_FIELD_TOTAL_PAGES=(int)(0x16), + PRINTER_NOTIFY_FIELD_PAGES_PRINTED=(int)(0x17), + PRINTER_NOTIFY_FIELD_TOTAL_BYTES=(int)(0x18), + PRINTER_NOTIFY_FIELD_BYTES_PRINTED=(int)(0x19), + PRINTER_NOTIFY_FIELD_OBJECT_GUID=(int)(0x1a), + PRINTER_NOTIFY_FIELD_FRIENDLY_NAME=(int)(0x1b) } #else { __donnot_use_enum_spoolss_PrintNotifyField=0x7FFFFFFF} @@ -1843,8 +1843,8 @@ enum spoolss_PrintNotifyField enum spoolss_NotifyType #ifndef USE_UINT_ENUMS { - PRINTER_NOTIFY_TYPE=0x00, - JOB_NOTIFY_TYPE=0x01 + PRINTER_NOTIFY_TYPE=(int)(0x00), + JOB_NOTIFY_TYPE=(int)(0x01) } #else { __donnot_use_enum_spoolss_NotifyType=0x7FFFFFFF} @@ -1884,11 +1884,11 @@ struct spoolss_NotifyString { enum spoolss_NotifyTable #ifndef USE_UINT_ENUMS { - NOTIFY_TABLE_DWORD=0x0001, - NOTIFY_TABLE_STRING=0x0002, - NOTIFY_TABLE_DEVMODE=0x0003, - NOTIFY_TABLE_TIME=0x0004, - NOTIFY_TABLE_SECURITYDESCRIPTOR=0x0005 + NOTIFY_TABLE_DWORD=(int)(0x0001), + NOTIFY_TABLE_STRING=(int)(0x0002), + NOTIFY_TABLE_DEVMODE=(int)(0x0003), + NOTIFY_TABLE_TIME=(int)(0x0004), + NOTIFY_TABLE_SECURITYDESCRIPTOR=(int)(0x0005) } #else { __donnot_use_enum_spoolss_NotifyTable=0x7FFFFFFF} @@ -1994,8 +1994,8 @@ struct spoolss_PrinterEnumValues { enum spoolss_PortProtocol #ifndef USE_UINT_ENUMS { - PROTOCOL_RAWTCP_TYPE=1, - PROTOCOL_LPR_TYPE=2 + PROTOCOL_RAWTCP_TYPE=(int)(1), + PROTOCOL_LPR_TYPE=(int)(2) } #else { __donnot_use_enum_spoolss_PortProtocol=0x7FFFFFFF} |