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.

110 lines
3.6 KiB

  1. /*******************************************************************************
  2. *
  3. * (C) COPYRIGHT MICROSOFT CORP., 1998
  4. *
  5. * TITLE: WiaPropP.H
  6. *
  7. * VERSION: 2.0
  8. *
  9. * AUTHOR: ReedB
  10. *
  11. * DATE: 14 Aug, 1998
  12. *
  13. * DESCRIPTION:
  14. * Private definitions and declarations for WIA device properties.
  15. *
  16. \*******************************************************************************/
  17. #ifndef __WIAPROPP_H_INCLUDED
  18. #define __WIAPROPP_H_INCLUDED
  19. #define NUMROOTITEMPROPS WIA_NUM_DIP + 3
  20. PROPSPEC g_psRootItem[NUMROOTITEMPROPS] =
  21. {
  22. {PRSPEC_PROPID, WIA_DIP_DEV_ID},
  23. {PRSPEC_PROPID, WIA_DIP_VEND_DESC},
  24. {PRSPEC_PROPID, WIA_DIP_DEV_DESC},
  25. {PRSPEC_PROPID, WIA_DIP_DEV_TYPE},
  26. {PRSPEC_PROPID, WIA_DIP_PORT_NAME},
  27. {PRSPEC_PROPID, WIA_DIP_DEV_NAME},
  28. {PRSPEC_PROPID, WIA_DIP_SERVER_NAME},
  29. {PRSPEC_PROPID, WIA_DIP_REMOTE_DEV_ID},
  30. {PRSPEC_PROPID, WIA_DIP_UI_CLSID},
  31. {PRSPEC_PROPID, WIA_DIP_HW_CONFIG},
  32. {PRSPEC_PROPID, WIA_DIP_BAUDRATE},
  33. {PRSPEC_PROPID, WIA_DIP_STI_GEN_CAPABILITIES},
  34. {PRSPEC_PROPID, WIA_IPA_ITEM_NAME},
  35. {PRSPEC_PROPID, WIA_IPA_FULL_ITEM_NAME},
  36. {PRSPEC_PROPID, WIA_IPA_ITEM_FLAGS},
  37. {PRSPEC_PROPID, WIA_DIP_WIA_VERSION},
  38. {PRSPEC_PROPID, WIA_DIP_DRIVER_VERSION},
  39. };
  40. PROPID g_piRootItem[NUMROOTITEMPROPS] =
  41. {
  42. WIA_DIP_DEV_ID,
  43. WIA_DIP_VEND_DESC,
  44. WIA_DIP_DEV_DESC,
  45. WIA_DIP_DEV_TYPE,
  46. WIA_DIP_PORT_NAME,
  47. WIA_DIP_DEV_NAME,
  48. WIA_DIP_SERVER_NAME,
  49. WIA_DIP_REMOTE_DEV_ID,
  50. WIA_DIP_UI_CLSID,
  51. WIA_DIP_HW_CONFIG,
  52. WIA_DIP_BAUDRATE,
  53. WIA_DIP_STI_GEN_CAPABILITIES,
  54. WIA_IPA_ITEM_NAME,
  55. WIA_IPA_FULL_ITEM_NAME,
  56. WIA_IPA_ITEM_FLAGS,
  57. WIA_DIP_WIA_VERSION,
  58. WIA_DIP_DRIVER_VERSION,
  59. };
  60. LPOLESTR g_pszRootItem[NUMROOTITEMPROPS] =
  61. {
  62. WIA_DIP_DEV_ID_STR,
  63. WIA_DIP_VEND_DESC_STR,
  64. WIA_DIP_DEV_DESC_STR,
  65. WIA_DIP_DEV_TYPE_STR,
  66. WIA_DIP_PORT_NAME_STR,
  67. WIA_DIP_DEV_NAME_STR,
  68. WIA_DIP_SERVER_NAME_STR,
  69. WIA_DIP_REMOTE_DEV_ID_STR,
  70. WIA_DIP_UI_CLSID_STR,
  71. WIA_DIP_HW_CONFIG_STR,
  72. WIA_DIP_BAUDRATE_STR,
  73. WIA_DIP_STI_GEN_CAPABILITIES_STR,
  74. WIA_IPA_ITEM_NAME_STR,
  75. WIA_IPA_FULL_ITEM_NAME_STR,
  76. WIA_IPA_ITEM_FLAGS_STR,
  77. WIA_DIP_WIA_VERSION_STR,
  78. WIA_DIP_DRIVER_VERSION_STR,
  79. };
  80. #define WIA_PROP_RWNC (WIA_PROP_RW | WIA_PROP_NONE | WIA_PROP_CACHEABLE)
  81. #define WIA_PROP_RNC (WIA_PROP_READ | WIA_PROP_NONE | WIA_PROP_CACHEABLE)
  82. WIA_PROPERTY_INFO g_wpiRootItem[NUMROOTITEMPROPS] =
  83. {
  84. {WIA_PROP_RWNC, VT_BSTR, 0, 0, 0, 0}, // WIA_DIP_DEV_ID
  85. {WIA_PROP_RNC, VT_BSTR, 0, 0, 0, 0}, // WIA_DIP_VEND_DESC
  86. {WIA_PROP_RNC, VT_BSTR, 0, 0, 0, 0}, // WIA_DIP_DEV_DESC
  87. {WIA_PROP_RNC, VT_I4, 0, 0, 0, 0}, // WIA_DIP_DEV_TYPE
  88. {WIA_PROP_RNC, VT_BSTR, 0, 0, 0, 0}, // WIA_DIP_PORT_NAME
  89. {WIA_PROP_RNC, VT_BSTR, 0, 0, 0, 0}, // WIA_DIP_DEV_NAME
  90. {WIA_PROP_RWNC, VT_BSTR, 0, 0, 0, 0}, // WIA_DIP_SERVER_NAME
  91. {WIA_PROP_RWNC, VT_BSTR, 0, 0, 0, 0}, // WIA_DIP_REMOTE_DEV_ID
  92. {WIA_PROP_RNC, VT_BSTR, 0, 0, 0, 0}, // WIA_DIP_UI_CLSID
  93. {WIA_PROP_RNC, VT_I4, 0, 0, 0, 0}, // WIA_DIP_HW_CONFIG
  94. {WIA_PROP_RNC, VT_BSTR, 0, 0, 0, 0}, // WIA_DIP_BAUDRATE
  95. {WIA_PROP_RNC, VT_I4, 0, 0, 0, 0}, // WIA_DIP_STI_GEN_CAPABILITIES
  96. {WIA_PROP_RNC, VT_BSTR, 0, 0, 0, 0}, // WIA_IPA_ITEM_NAME
  97. {WIA_PROP_RNC, VT_BSTR, 0, 0, 0, 0}, // WIA_IPA_FULL_ITEM_NAME
  98. {WIA_PROP_RNC, VT_I4, 0, 0, 0, 0}, // WIA_IPA_ITEM_TYPE
  99. {WIA_PROP_RNC, VT_BSTR, 0, 0, 0, 0}, // WIA_DIP_WIA_VERSION
  100. {WIA_PROP_RNC, VT_BSTR, 0, 0, 0, 0}, // WIA_DIP_DRIVER_VERSION
  101. };
  102. #endif //WIAPROPP_H_INCLUDED