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.

104 lines
4.5 KiB

  1. /****************************************************************************/
  2. /* aoedata.c */
  3. /* */
  4. /* Order encoding data (generic) */
  5. /* */
  6. /* Copyright(c) Microsoft, PictureTel 1993-1997 */
  7. /* Copyright(c) Microsoft 1997-1999 */
  8. /****************************************************************************/
  9. #include <ndcgdata.h>
  10. /****************************************************************************/
  11. /* Are Hatched Brushes supported? */
  12. /****************************************************************************/
  13. DC_DATA(BOOLEAN, oeSendSolidPatternBrushOnly, FALSE);
  14. /****************************************************************************/
  15. /* Flag that indicates support for color indices rather than RGBs */
  16. /****************************************************************************/
  17. DC_DATA(BOOLEAN, oeColorIndexSupported, FALSE);
  18. /****************************************************************************/
  19. // Array of supported orders after caps negotiation
  20. /****************************************************************************/
  21. DC_DATA_ARRAY_UNINIT(BYTE, oeOrderSupported, TS_MAX_ORDERS);
  22. /****************************************************************************/
  23. // The orders we support sending/receiving. These will be combined with the
  24. // capabilities of all nodes in session to determine which orders can be sent.
  25. /****************************************************************************/
  26. #ifdef DRAW_NINEGRID
  27. DC_CONST_DATA_ARRAY(BYTE, oeLocalOrdersSupported, TS_MAX_ORDERS,
  28. DC_STRUCT32(
  29. 1, // TS_NEG_DSTBLT_INDEX
  30. 1, // TS_NEG_PATBLT_INDEX
  31. 1, // TS_NEG_SCRBLT_INDEX
  32. 1, // TS_NEG_MEMBLT_INDEX
  33. 1, // TS_NEG_MEM3BLT_INDEX
  34. 0, // TS_NEG_ATEXTOUT_INDEX
  35. 0, // TS_NEG_AEXTTEXTOUT_INDEX
  36. 1, // TS_NEG_DRAWNINEGRID_INDEX
  37. 1, // TS_NEG_LINETO_INDEX
  38. 1, // TS_NEG_MULTI_DRAWNINEGRID_INDEX
  39. 1, // TS_NEG_OPAQUERECT_INDEX
  40. 1, // TS_NEG_SAVEBITMAP_INDEX
  41. 0, // TS_NEG_WTEXTOUT_INDEX
  42. 0, // TS_NEG_MEMBLT_R2_INDEX *** Zero: negotiation is thru NEG_MEMBLT
  43. 0, // TS_NEG_MEM3BLT_R2_INDEX *** Zero: neg. thru NEG_MEM3BLT
  44. 1, // TS_NEG_MULTIDSTBLT_INDEX
  45. 1, // TS_NEG_MULTIPATBLT_INDEX
  46. 1, // TS_NEG_MULTISCRBLT_INDEX
  47. 1, // TS_NEG_MULTIOPAQUERECT_INDEX
  48. 1, // TS_NEG_FAST_INDEX_INDEX
  49. 1, // TS_NEG_POLYGON_SC_INDEX
  50. 1, // TS_NEG_POLYGON_CB_INDEX
  51. 1, // TS_NEG_POLYLINE_INDEX
  52. 0, // 0x17 unused
  53. 1, // TS_NEG_FAST_GLYPH_INDEX
  54. 1, // TS_NEG_ELLIPSE_SC_INDEX
  55. 1, // TS_NEG_ELLIPSE_CB_INDEX
  56. 1, // TS_NEG_INDEX_INDEX
  57. 0, // TS_NEG_WEXTTEXTOUT_INDEX
  58. 0, // TS_NEG_WLONGTEXTOUT_INDEX
  59. 0, // TS_NEG_WLONGEXTTEXTOUT_INDEX
  60. 0 // 0x1F unused
  61. ));
  62. #else
  63. DC_CONST_DATA_ARRAY(BYTE, oeLocalOrdersSupported, TS_MAX_ORDERS,
  64. DC_STRUCT32(
  65. 1, // TS_NEG_DSTBLT_INDEX
  66. 1, // TS_NEG_PATBLT_INDEX
  67. 1, // TS_NEG_SCRBLT_INDEX
  68. 1, // TS_NEG_MEMBLT_INDEX
  69. 1, // TS_NEG_MEM3BLT_INDEX
  70. 0, // TS_NEG_ATEXTOUT_INDEX
  71. 0, // TS_NEG_AEXTTEXTOUT_INDEX
  72. 0, // TS_NEG_RECTANGLE_INDEX
  73. 1, // TS_NEG_LINETO_INDEX
  74. 0, // TS_NEG_FASTFRAME_INDEX
  75. 1, // TS_NEG_OPAQUERECT_INDEX
  76. 1, // TS_NEG_SAVEBITMAP_INDEX
  77. 0, // TS_NEG_WTEXTOUT_INDEX
  78. 0, // TS_NEG_MEMBLT_R2_INDEX *** Zero: negotiation is thru NEG_MEMBLT
  79. 0, // TS_NEG_MEM3BLT_R2_INDEX *** Zero: neg. thru NEG_MEM3BLT
  80. 1, // TS_NEG_MULTIDSTBLT_INDEX
  81. 1, // TS_NEG_MULTIPATBLT_INDEX
  82. 1, // TS_NEG_MULTISCRBLT_INDEX
  83. 1, // TS_NEG_MULTIOPAQUERECT_INDEX
  84. 1, // TS_NEG_FAST_INDEX_INDEX
  85. 1, // TS_NEG_POLYGON_SC_INDEX
  86. 1, // TS_NEG_POLYGON_CB_INDEX
  87. 1, // TS_NEG_POLYLINE_INDEX
  88. 0, // 0x17 unused
  89. 1, // TS_NEG_FAST_GLYPH_INDEX
  90. 1, // TS_NEG_ELLIPSE_SC_INDEX
  91. 1, // TS_NEG_ELLIPSE_CB_INDEX
  92. 1, // TS_NEG_INDEX_INDEX
  93. 0, // TS_NEG_WEXTTEXTOUT_INDEX
  94. 0, // TS_NEG_WLONGTEXTOUT_INDEX
  95. 0, // TS_NEG_WLONGEXTTEXTOUT_INDEX
  96. 0 // 0x1F unused
  97. ));
  98. #endif