Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
3.4 KiB

  1. // UITABLES.CPP
  2. #include "stdafx.h"
  3. #include "uitables.h"
  4. //
  5. // WIA Format Table, for UI display (english only, these should be in a resource file)
  6. //
  7. WIA_FORMAT_TABLE_ENTRY g_WIA_FORMAT_TABLE[NUM_WIA_FORMAT_INFO_ENTRIES] = {
  8. &WiaImgFmt_UNDEFINED,TEXT("Undefined File") ,
  9. &WiaImgFmt_MEMORYBMP,TEXT("Memory Bitmap File (*.BMP)"),
  10. &WiaImgFmt_BMP, TEXT("Bitmap File (*.BMP)") ,
  11. &WiaImgFmt_EMF, TEXT("EMF File (*.EMF)") ,
  12. &WiaImgFmt_WMF, TEXT("WMF File (*.WMF)") ,
  13. &WiaImgFmt_JPEG, TEXT("JPEG File (*.JPG)") ,
  14. &WiaImgFmt_GIF, TEXT("GIF File (*.GIF)") ,
  15. &WiaImgFmt_TIFF, TEXT("Tiff File (*.TIF)") ,
  16. &WiaImgFmt_EXIF, TEXT("Exif File (*.XIF)") ,
  17. &WiaImgFmt_PHOTOCD, TEXT("Photo CD File (*.PCD)") ,
  18. &WiaImgFmt_FLASHPIX, TEXT("Flash Pix File (*.FPX)") ,
  19. &GUID_NULL, TEXT("Unknown Format GUID (*.???)"),
  20. };
  21. //
  22. // WIA Data Type Table, for UI display (english only, these should be in a resource file)
  23. //
  24. WIA_DATATYPE_TABLE_ENTRY g_WIA_DATATYPE_TABLE[NUM_WIA_DATATYPE_ENTRIES] = {
  25. WIA_DATA_THRESHOLD, TEXT("1 bit black and white") ,
  26. WIA_DATA_DITHER, TEXT("Black and white dither") ,
  27. WIA_DATA_GRAYSCALE, TEXT("8 bit grayscale") ,
  28. WIA_DATA_COLOR, TEXT("24 bit color") ,
  29. WIA_DATA_COLOR_THRESHOLD,TEXT("8 bit paletted color ") ,
  30. WIA_DATA_COLOR_DITHER, TEXT("Color dither") ,
  31. 9999, TEXT("Unknown Data Type") ,
  32. };
  33. //
  34. // WIA Document Handling Tables, for UI display (english only, these should be in a resource file)
  35. //
  36. WIA_DOCUMENT_HANDLING_TABLE_ENTRY g_WIA_DOCUMENT_HANDLING_CAPABILITES_TABLE[NUM_WIA_DOC_HANDLING_CAPS_ENTRIES] = {
  37. FEED, TEXT("ADF capable"),
  38. FLAT, TEXT("Flatbed capable"),
  39. DUP, TEXT("Duplex capable"),
  40. DETECT_FLAT, TEXT("Flatbed detection capable"),
  41. DETECT_SCAN, TEXT("Scan detection capable"),
  42. DETECT_FEED, TEXT("ADF detection capable"),
  43. DETECT_DUP, TEXT("Duplex detection capable"),
  44. DETECT_FEED_AVAIL,TEXT("Scanner can automatically detect if an ADF is installed"),
  45. DETECT_DUP_AVAIL, TEXT("Scanner can automatically detect if Duplex unit is installed"),
  46. 9999, TEXT("Unknown capability flag value"),
  47. };
  48. WIA_DOCUMENT_HANDLING_TABLE_ENTRY g_WIA_DOCUMENT_HANDLING_STATUS_TABLE[NUM_WIA_DOC_HANDLING_STATUS_ENTRIES] = {
  49. FEED_READY, TEXT("Feeder Ready"),
  50. FLAT_READY, TEXT("Flatbed Ready"),
  51. DUP_READY, TEXT("Duplex Ready"),
  52. FLAT_COVER_UP,TEXT("Flatbed cover is up"),
  53. PATH_COVER_UP,TEXT("Pathway is covered up"),
  54. PAPER_JAM, TEXT("Paper Jam detected"),
  55. 9999, TEXT("Unknown status flag value"),
  56. };
  57. WIA_DOCUMENT_HANDLING_TABLE_ENTRY g_WIA_DOCUMENT_HANDLING_SELECT_TABLE[NUM_WIA_DOC_HANDLING_SELECT_ENTRIES] = {
  58. FEEDER, TEXT("Feeder Mode"),
  59. FLATBED, TEXT("Flatbed Mode"),
  60. DUPLEX, TEXT("Duplex Mode"),
  61. FRONT_FIRST, TEXT("Scan front page first"),
  62. BACK_FIRST, TEXT("Scan back page first"),
  63. FRONT_ONLY, TEXT("Scan front page only"),
  64. BACK_ONLY, TEXT("Scan back page only"),
  65. NEXT_PAGE, TEXT("Scan next page"),
  66. PREFEED, TEXT("Prefeed the document"),
  67. AUTO_ADVANCE,TEXT("Auto Advance the feeder"),
  68. 9999, TEXT("Unknown select flag value"),
  69. };