Source code of Windows XP (NT5)
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.

294 lines
21 KiB

  1. // From T120 recomendation
  2. #include <gcc.h>
  3. #define _SI_CHANNEL_0 8
  4. #define _SI_BITMAP_CREATE_TOKEN 8
  5. #define _SI_WORKSPACE_REFRESH_TOKEN 9
  6. enum T126Caps
  7. {
  8. Cap_None = 0,
  9. Hard_Copy_Image,
  10. Hard_Copy_Image_Bitmap_Max_Width,
  11. Hard_Copy_Image_Bitmap_Max_Height,
  12. Hard_Copy_Image_Bitmap_Any_Aspect_Ratio,
  13. Hard_Copy_Image_Bitmap_Format_T_6,
  14. Hard_Copy_Image_Bitmap_Format_T_82,
  15. Soft_Copy_Workspace,
  16. Soft_Copy_Workspace_Max_Width,
  17. Soft_Copy_Workspace_Max_Height,
  18. Soft_Copy_Workspace_Max_Planes = 10,
  19. Soft_Copy_Color_16,
  20. Soft_Copy_Color_202,
  21. Soft_Copy_Color_True,
  22. Soft_Copy_Plane_Editing,
  23. Soft_Copy_Scaling,
  24. Soft_Copy_Bitmap_No_Token_Protection,
  25. Soft_Copy_Pointing,
  26. Soft_Copy_Pointing_Bitmap_Max_Width,
  27. Soft_Copy_Pointing_Bitmap_Max_Height,
  28. Soft_Copy_Pointing_Bitmap_Format_T_82 = 20,
  29. Soft_Copy_Annotation,
  30. Soft_Copy_Annotation_Bitmap_Max_Width,
  31. Soft_Copy_Annotation_Bitmap_Max_Height,
  32. Soft_Copy_Annotation_Drawing_Pen_Min_Thickness,
  33. Soft_Copy_Annotation_Drawing_Pen_Max_Thickness,
  34. Soft_Copy_Annotation_Drawing_Ellipse,
  35. Soft_Copy_Annotation_Drawing_Pen_Square_Nib,
  36. Soft_Copy_Annotation_Drawing_Highlight,
  37. Soft_Copy_Annotation_Bitmap_Format_T_82,
  38. Soft_Copy_Image = 30,
  39. Soft_Copy_Image_Bitmap_Max_Width,
  40. Soft_Copy_Image_Bitmap_Max_Height,
  41. Soft_Copy_Image_Bitmap_Any_Aspect_Ratio,
  42. Soft_Copy_Image_Bitmap_Format_T_82_Differential,
  43. Soft_Copy_Image_Bitmap_Format_T_82_Differential_Deterministic_Prediction,
  44. Soft_Copy_Image_Bitmap_Format_T_82_12_Bit_Grey_Scale,
  45. Soft_Copy_Image_Bitmap_Format_T_81_Extended_Sequential_DCT,
  46. Soft_Copy_Image_Bitmap_Format_T_81_Progressive_DCT,
  47. Soft_Copy_Image_Bitmap_Format_T_81_Spatial_DPCM,
  48. Soft_Copy_Image_Bitmap_Format_T_81_Differential_Sequential_DCT = 40,
  49. Soft_Copy_Image_Bitmap_Format_T_81_Differential_Progressive_DCT,
  50. Soft_Copy_Image_Bitmap_Format_T_81_Differential_Spatial_DPCM,
  51. Soft_Copy_Image_Bitmap_Format_T_81_Extended_Sequential_DCT_Arithmetic,
  52. Soft_Copy_Image_Bitmap_Format_T_81_Progressive_DCT_Arithmetic,
  53. Soft_Copy_Image_Bitmap_Format_T_81_Spatial_DPCM_Arithmetic,
  54. Soft_Copy_Image_Bitmap_Format_T_81_Differential_Sequential_DCT_Arithmetic,
  55. Soft_Copy_Image_Bitmap_Format_T_81_Differential_Progressive_DCT_Arithmetic,
  56. Soft_Copy_Image_Bitmap_Format_T_81_Differential_Spatial_DPCM_Arithmetic,
  57. Soft_Copy_Image_Bitmap_Format_T_81_YCbCr_420,
  58. Soft_Copy_Image_Bitmap_Format_T_81_YCbCr_444 = 50,
  59. Soft_Copy_Image_Bitmap_Format_T_81_RGB_444,
  60. Soft_Copy_Image_Bitmap_Format_T_81__CIELab_420,
  61. Soft_Copy_Image_Bitmap_Format_T_81_CIELab_422,
  62. Soft_Copy_Image_Bitmap_Format_T_81_CIELab_444,
  63. Soft_Copy_Image_Bitmap_Format_T_81_Non_Interleaved,
  64. Soft_Copy_Image_Bitmap_Format_Uncompressed_YCbCr_420,
  65. Soft_Copy_Image_Bitmap_Format_Uncompressed_YCbCr_444,
  66. Soft_Copy_Image_Bitmap_Format_Uncompressed__CIELab_420,
  67. Soft_Copy_Image_Bitmap_Format_Uncompressed_CIELab_422,
  68. Soft_Copy_Image_Bitmap_Format_Uncompressed_CIELab_444 = 60,
  69. Archive_Support,
  70. Soft_Copy_Annotation_Drawing_Rotation,
  71. Soft_Copy_Transparency_Mask,
  72. Soft_Copy_Video_Window,
  73. };
  74. typedef struct tagCAPS
  75. {
  76. T126Caps CapValue;
  77. GCCCapType Type;
  78. UINT SICE_Count_Rule;
  79. UINT MinValue;
  80. UINT MaxValue;
  81. T126Caps Dependency;
  82. }GCCCAPABILITY;
  83. GCCCAPABILITY GCCCaps[] =
  84. {
  85. ///*01*/Hard_Copy_Image,GCC_LOGICAL_CAPABILITY,2,0,0,Cap_None,
  86. //Negotiate the use of hard-copy image exchanges
  87. //This capability implies a maximum image size of 1728 horizontal by 2300 vertical
  88. //It also implies the ability to support unscaled image bitmap creation using either
  89. //Uncompressed or T_4 (G3) formats with a single bitplane and either fax1 or fax2 pixel aspect ratios.
  90. ///*02*/Hard_Copy_Image_Bitmap_Max_Width,GCC_UNSIGNED_MINIMUM_CAPABILITY,1,1729,21845,Hard_Copy_Image,
  91. //Negotiate the maximum width of an image bitmap for hard-copy image exchanges
  92. //This dimension is relative to the pixel aspect ratio of the image.
  93. ///*03*/Hard_Copy_Image_Bitmap_Max_Height,GCC_UNSIGNED_MINIMUM_CAPABILITY,1,2301,21845,Hard_Copy_Image,
  94. //Negotiate the maximum height of an image bitmap for hard-copy image exchanges
  95. //This dimension is relative to the pixel aspect ratio of the image.
  96. ///*04*/Hard_Copy_Image_Bitmap_Any_Aspect_Ratio,GCC_LOGICAL_CAPABILITY,1,0,0,Hard_Copy_Image,
  97. //Negotiate the ability to transmit image bitmaps to a hard-copy workspace with an arbitrary aspect ratio.
  98. ///*05*/Hard_Copy_Image_Bitmap_Format_T_6,GCC_LOGICAL_CAPABILITY,1,0,0,Hard_Copy_Image,
  99. //Negotiate the ability to support bitmap creation using T_6 (G4) image compression format
  100. //with a single bitplane and either fax1 or fax2 pixel aspect ratios.
  101. ///*06*/Hard_Copy_Image_Bitmap_Format_T_82,GCC_LOGICAL_CAPABILITY,1,0,0,Hard_Copy_Image,
  102. //Negotiate the ability to support bitmap creation using T_82 (JBIG) image compression format
  103. //This capability implies the ability to handle 1 bit plane with 1:1 pixel aspect ratio and the
  104. //ability to only handle bitmaps encoded without the use of JBIG resolution reduction.
  105. /*07*/Soft_Copy_Workspace,GCC_LOGICAL_CAPABILITY,2,0,0,Cap_None,
  106. //Negotiate the ability to support at least one workspace for soft-copy information
  107. //This capability implies a maximum workspace size of 384 horizontal by 288 vertical
  108. //with workspace background colors Black and White.
  109. //Presence of this capability also implies that one of the capabilities Soft-Copy-Annotation
  110. //or Soft-Copy-Image shall also be included in the Application Capabilities List.
  111. /*08*/Soft_Copy_Workspace_Max_Width,GCC_UNSIGNED_MINIMUM_CAPABILITY,1,385,21845,Soft_Copy_Workspace,
  112. //Negotiate the maximum workspace width. This dimension is relative to a 1:1 pixel aspect ratio (square pixels).
  113. /*09*/Soft_Copy_Workspace_Max_Height,GCC_UNSIGNED_MINIMUM_CAPABILITY,1,289,21845,Soft_Copy_Workspace,
  114. //Negotiate the maximum workspace height. This dimension is relative to a 1:1 pixel aspect ratio (square pixels).
  115. /*10*/Soft_Copy_Workspace_Max_Planes,GCC_UNSIGNED_MINIMUM_CAPABILITY,1,2,256,Soft_Copy_Workspace,
  116. //Negotiate the maximum number of planes allowed in any workspace.
  117. /*11*/Soft_Copy_Color_16,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Workspace,
  118. //Negotiate the use of the 16-color palette for use in workspace backgrounds or,
  119. //if the Soft-Copy-Annotation capability is negotiated, in drawing elements.
  120. /*12*/Soft_Copy_Color_202,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Workspace,
  121. //Negotiate the use of the 202 color palette for use in workspace backgrounds or,
  122. //if the Soft-Copy-Annotation capability is negotiated, in drawing elements.
  123. /*13*/Soft_Copy_Color_True,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Workspace,
  124. //Negotiate the use of the true color (24-bit RGB) as well as the use of the 202 color palette
  125. //for use in workspace backgrounds or, if the Soft-Copy-Annotation capability is negotiated, in drawing elements.
  126. /*14*/Soft_Copy_Plane_Editing,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Workspace,
  127. //Negotiate the ability to declare any workspace plane to be editable.
  128. /*15*/Soft_Copy_Scaling,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Workspace,
  129. //Negotiate the ability to declare a scaling rectangle during creation of soft-copy bitmaps
  130. //Without this capability, bitmaps are applied to the destination workspace without scaling
  131. //(other than that required for non 1:1 pixel aspect ratios).
  132. ///*16*/Soft_Copy_Bitmap_No_Token_Protection,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Workspace,
  133. //Negotiate the ability to transmit soft-copy bitmaps of any variety without the need to hold the SI-BITMAP-CREATE-TOKEN.
  134. ///*17*/Soft_Copy_Pointing,GCC_LOGICAL_CAPABILITY,2,0,0,Soft_Copy_Workspace,
  135. //Negotiate the use of pointer bitmaps on soft-copy workspaces
  136. //Successful negotiation of this capability allows the following coding formats and associated
  137. //parameter constraints for pointer bitmaps:1. Uncompressed format of either 8-bit greyscale,
  138. //RGB 4:4:4 or 1, 4, or 8 bit palettized with a 1:1 pixel aspect ratio
  139. //This capability implies the ability to handle pointer bitmaps up to a maximum size of 32 by 32 pixels.
  140. ///*18*/Soft_Copy_Pointing_Bitmap_Max_Width,GCC_UNSIGNED_MINIMUM_CAPABILITY,1,33,21845,Soft_Copy_Pointing,
  141. //Negotiate the maximum width of a pointer bitmap
  142. //This dimension is relative to a 1:1 pixel aspect ratio (square pixels).
  143. ///*19*/Soft_Copy_Pointing_Bitmap_Max_Height,GCC_UNSIGNED_MINIMUM_CAPABILITY,1,33,21845,Soft_Copy_Pointing,
  144. //Negotiate the maximum height of a pointer bitmap
  145. //This dimension is relative to a 1:1 pixel aspect ratio (square pixels).
  146. ///*20*/Soft_Copy_Pointing_Bitmap_Format_T_82,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Pointing,
  147. //Negotiate the ability to use T_82 (JBIG) compression format for encoding pointer bitmaps
  148. //This capability implies the ability to handle either 8-bit greyscale, or up to
  149. //8 palettized bitplanes with a 1:1 pixel aspect ratio and the ability to only handle bitmaps
  150. //encoded without the use of JBIG resolution reduction.
  151. /*21*/Soft_Copy_Annotation,GCC_LOGICAL_CAPABILITY,2,0,0,Soft_Copy_Workspace,
  152. //Negotiate the use of annotation on soft-copy workspaces
  153. //The presence of this capability in the negotiated capability set implies the ability to create
  154. //workspaces with annotation specified as the usage-designator of workspace planes
  155. //Successful negotiation of this capability also allows the following coding formats
  156. //and associated parameter constraints for annotation bitmaps:
  157. //1. Uncompressed bitmap format of either 8-bit greyscale, RGB 4:4:4 or 1, 4,
  158. //or 8 bit palettized raster and color formats with a 1:1 pixel aspect ratio
  159. //This capability also implies the ability to support the creation of drawings using
  160. //the DrawingCreatePDU with a pen thickness of 3 to 16 pixels, and a round pen nib.
  161. ///*22*/Soft_Copy_Annotation_Bitmap_Max_Width,GCC_UNSIGNED_MINIMUM_CAPABILITY,1,385,65536,Soft_Copy_Annotation,
  162. //Negotiate the maximum width of an annotation bitmap
  163. //This dimension is relative to a 1:1 pixel aspect ratio (square pixels).
  164. ///*23*/Soft_Copy_Annotation_Bitmap_Max_Height,GCC_UNSIGNED_MINIMUM_CAPABILITY,1,289,65536,Soft_Copy_Annotation,
  165. //Negotiate the maximum height of an annotation bitmap
  166. //This dimension is relative to a 1:1 pixel aspect ratio (square pixels).
  167. /*24*/Soft_Copy_Annotation_Drawing_Pen_Min_Thickness,GCC_UNSIGNED_MAXIMUM_CAPABILITY,1,1,2,Soft_Copy_Annotation,
  168. //Negotiate the Minimum thickness in pixels of lines drawn using the DrawingCreatePDU.
  169. /*25*/Soft_Copy_Annotation_Drawing_Pen_Max_Thickness,GCC_UNSIGNED_MINIMUM_CAPABILITY,1,17,255,Soft_Copy_Annotation,
  170. //The capability is used to negotiate the maximum thickness in pixels of lines drawn using the DrawingCreatePDU.
  171. /*26*/Soft_Copy_Annotation_Drawing_Ellipse,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Annotation,
  172. //Negotiate the ability to use the ellipse drawing type when using the DrawingCreatePDU.
  173. ///*27*/Soft_Copy_Annotation_Drawing_Pen_Square_Nib,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Annotation,
  174. //Negotiate the ability to use a square nib shape in creation of lines drawn using the DrawingCreatePDU.
  175. /*28*/Soft_Copy_Annotation_Drawing_Highlight,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Annotation,
  176. //Negotiate the ability to make use of the Highlight line style for drawing.
  177. ///*29*/Soft_Copy_Annotation_Bitmap_Format_T_82,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Annotation,
  178. //Negotiate the ability to use T_82 (JBIG) compression format for encoding annotation bitmaps
  179. //This capability implies the ability to handle either 8-bit greyscale, or up to 8 palettized bitplanes
  180. //with a 1:1 pixel aspect ratio and the ability to only handle bitmaps encoded without the use of JBIG
  181. //resolution reduction.
  182. /*30*/Soft_Copy_Image,GCC_LOGICAL_CAPABILITY,2,0,0,Soft_Copy_Workspace,
  183. //Negotiate the use of image bitmaps on soft-copy workspaces
  184. //The presence of this capability in the negotiated capability set implies the ability to create workspaces
  185. //with image specified as the usage-designator of workspace planes
  186. //Successful negotiation of this capability allows the following coding formats and associated parameter
  187. //constraints for image bitmaps:
  188. //1. JBIG: this capability implies the ability to handle either 8-bit greyscale, RGB 4:4:4,
  189. //or up to 8 palettized bitplanes and the ability to only handle bitmaps encoded without the use of JBIG
  190. //resolution reduction. Both 1:1 and CIF pixel aspect ratios shall be supported
  191. //2. JPEG: this capability implies the ability to handle the Baseline DCT encoding mode, with baseline
  192. //sequential transmission and 8 bit/sample data precision in component interleaved format only, using
  193. //a color space and color resolution mode of YCbCr 4:2:2, or greyscale
  194. //Both 1:1 and CIF pixel aspect ratios shall be supported.
  195. //3. Uncompressed: this capability implies the ability to handle 8-bit greyscale, RGB 4:4:4,
  196. //YCbCr 4:2:2, or palettized 1, 4, or 8 bits per pixel. Both 1:1 and CIF pixel aspect ratios shall be supported.
  197. ///*31*/Soft_Copy_Image_Bitmap_Max_Width,GCC_UNSIGNED_MINIMUM_CAPABILITY,1,385,65536,Soft_Copy_Image,
  198. //Negotiate the Maximum workspace width for soft-copy image bitmap exchanges
  199. //This dimension is relative to the pixel aspect ratio of the image bitmap.
  200. ///*32*/Soft_Copy_Image_Bitmap_Max_Height,GCC_UNSIGNED_MINIMUM_CAPABILITY,1,289,65536,Soft_Copy_Image,
  201. //Negotiate the Maximum workspace height for soft-copy image bitmap exchanges
  202. //This dimension is relative to the pixel aspect ratio of the image bitmap.
  203. ///*33*/Soft_Copy_Image_Bitmap_Any_Aspect_Ratio,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  204. //Negotiate the ability to transmit image bitmaps to a soft-copy workspace with an arbitrary aspect ratio.
  205. ///*34*/Soft_Copy_Image_Bitmap_Format_T_82_Differential,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  206. //Negotiate the ability to use resolution reduction (differential layers) when encoding a JBIG format image bitmap
  207. ///*35*/Soft_Copy_Image_Bitmap_Format_T_82_Differential_Deterministic_Prediction,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image_Bitmap_Format_T_82_Differential,
  208. //Negotiate the ability to use deterministic prediction when encoding a JBIG
  209. //format image bitmap using resolution reduction (differential layers).
  210. ///*36*/Soft_Copy_Image_Bitmap_Format_T_82_12_Bit_Grey_Scale,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  211. //Negotiate the ability to use 12 bit planes when encoding a JBIG format image bitmap.
  212. ///*37*/Soft_Copy_Image_Bitmap_Format_T_81_Extended_Sequential_DCT,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  213. //Negotiate the ability to use Extended Sequential DCT mode when encoding a JPEG format image bitmap.
  214. ///*38*/Soft_Copy_Image_Bitmap_Format_T_81_Progressive_DCT,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  215. //Negotiate the ability to use Progressive DCT mode when encoding a JPEG format image bitmap.
  216. ///*39*/Soft_Copy_Image_Bitmap_Format_T_81_Spatial_DPCM,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  217. //Negotiate the ability to use Spatial DPCM mode when encoding a JPEG format image bitmap.
  218. ///*40*/Soft_Copy_Image_Bitmap_Format_T_81_Differential_Sequential_DCT,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  219. //Negotiate the ability to use Differential Sequential DCT mode when encoding a JPEG format image bitmap.
  220. ///*41*/Soft_Copy_Image_Bitmap_Format_T_81_Differential_Progressive_DCT,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  221. //Negotiate the ability to use Differential Progressive DCT mode when encoding a JPEG format image bitmap.
  222. ///*42*/Soft_Copy_Image_Bitmap_Format_T_81_Differential_Spatial_DPCM,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  223. //Negotiate the ability to use Differential Spatial DPCM mode when encoding a JPEG format image bitmap.
  224. ///*43*/Soft_Copy_Image_Bitmap_Format_T_81_Extended_Sequential_DCT_Arithmetic,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  225. //Negotiate the ability to use Extended Sequential DCT mode using Arithmetic encoding when encoding a JPEG
  226. //format image bitmap.
  227. ///*44*/Soft_Copy_Image_Bitmap_Format_T_81_Progressive_DCT_Arithmetic,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  228. //Negotiate the ability to use Progressive DCT mode using Arithmetic encoding when encoding a JPEG format image bitmap.
  229. ///*45*/Soft_Copy_Image_Bitmap_Format_T_81_Spatial_DPCM_Arithmetic,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  230. //Negotiate the ability to use Spatial DPCM mode using Arithmetic encoding when encoding a JPEG format image bitmap.
  231. ///*46*/Soft_Copy_Image_Bitmap_Format_T_81_Differential_Sequential_DCT_Arithmetic,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  232. //Negotiate the ability to use Differential Sequential DCT mode using Arithmetic encoding when encoding a JPEG
  233. //format image bitmap.
  234. ///*47*/Soft_Copy_Image_Bitmap_Format_T_81_Differential_Progressive_DCT_Arithmetic,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  235. //Negotiate the ability to use Differential Progressive DCT mode using Arithmetic encoding when encoding a JPEG
  236. //format image bitmap.
  237. ///*48*/Soft_Copy_Image_Bitmap_Format_T_81_Differential_Spatial_DPCM_Arithmetic,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  238. //Negotiate the ability to use Differential Spatial DPCM mode using Arithmetic encoding when encoding a JPEG
  239. //format image bitmap.
  240. ///*49*/Soft_Copy_Image_Bitmap_Format_T_81_YCbCr_420,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  241. //Negotiate the ability to use a chroma format of YCbCr 4:2:0 when encoding a JPEG format image bitmap.
  242. ///*50*/Soft_Copy_Image_Bitmap_Format_T_81_YCbCr_444,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  243. //Negotiate the ability to use a chroma format of YCbCr 4:4:4 when encoding a JPEG format image bitmap.
  244. ///*51*/Soft_Copy_Image_Bitmap_Format_T_81_RGB_444,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  245. //Negotiate the ability to use a chroma format of RGB 4:4:4 when encoding a JPEG format image bitmap.
  246. ///*52*/Soft_Copy_Image_Bitmap_Format_T_81__CIELab_420,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  247. //Negotiate the ability to use a chroma format of CIELab 4:2:0 when encoding a JPEG format image bitmap.
  248. ///*53*/Soft_Copy_Image_Bitmap_Format_T_81_CIELab_422,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  249. //Negotiate the ability to use a chroma format of CIELab 4:2:2 when encoding a JPEG format image bitmap.
  250. ///*54*/Soft_Copy_Image_Bitmap_Format_T_81_CIELab_444,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  251. //Negotiate the ability to use a chroma format of CIELab 4:4:4 when encoding a JPEG format image bitmap.
  252. ///*55*/Soft_Copy_Image_Bitmap_Format_T_81_Non_Interleaved,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  253. //Negotiate the ability to use non-interleaved ordering of color components.
  254. ///*56*/Soft_Copy_Image_Bitmap_Format_Uncompressed_YCbCr_420,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  255. //Negotiate the ability to use a chroma format of YCbCr 4:2:0 when encoding an Uncompressed format image bitmap.
  256. ///*57*/Soft_Copy_Image_Bitmap_Format_Uncompressed_YCbCr_444,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  257. //Negotiate the ability to use a chroma format of YCbCr 4:4:4 when encoding an Uncompressed format image bitmap.
  258. ///*58*/Soft_Copy_Image_Bitmap_Format_Uncompressed__CIELab_420,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  259. //Negotiate the ability to use a chroma format of CIELab 4:2:0 when encoding an Uncompressed format image bitmap.
  260. ///*59*/Soft_Copy_Image_Bitmap_Format_Uncompressed_CIELab_422,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  261. //Negotiate the ability to use a chroma format of CIELab 4:2:2 when encoding an Uncompressed format image bitmap.
  262. ///*60*/Soft_Copy_Image_Bitmap_Format_Uncompressed_CIELab_444,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Image,
  263. //Negotiate the ability to use a chroma format of CIELab 4:4:4 when encoding an Uncompressed format image bitmap.
  264. ///*61*/Archive_Support,GCC_LOGICAL_CAPABILITY,0,0,0,Cap_None,
  265. //Negotiate the support of archives.
  266. ///*62*/Soft_Copy_Annotation_Drawing_Rotation,GCC_LOGICAL_CAPABILITY,1,0,0,Soft_Copy_Annotation,
  267. //This capability is used to negotiate the ability to specify the optional
  268. //rotation parameter that defines a rotation to be applied to annotation
  269. //drawing elements.
  270. ///*63*/Soft_Copy_Transparency_Mask,GCC_LOGICAL_CAPABILITY,2,0,0,Soft_Copy_Image,
  271. //This capability is used to negotiate the ability to use arbitrary
  272. //transparency masks for applicable graphical elements allowing arbitrary
  273. //pixels within these objects to be interpreted as transparent. This capability
  274. //also implies the support of JBIG compression given that a transparency mask
  275. //can be optionally encoded in this manner.
  276. ///*64*/Soft_Copy_Video_Window,GCC_LOGICAL_CAPABILITY,2,0,0,Soft_Copy_Image
  277. //This capability is used to negotiate the ability to define video windows that
  278. //can encapsulate out of band video streams in a workspace. Successful
  279. //negotiation of this capability between two or more session participants
  280. //enables the use of the VideoWindowCreatePDU, VideoWindowDeletePDU and
  281. //VideoWindowEditPDU.
  282. };
  283. const USHORT _iT126_MAX_COLLAPSING_CAPABILITIES = sizeof(GCCCaps)/sizeof(GCCCAPABILITY);
  284. static ULONG T126KeyNodes[] = {0,0,20,126,0,1};