次の方法で共有


2.2.5.1 RDP_SEGMENTED_DATA

The RDP_SEGMENTED_DATA structure is used to wrap one or more RDP_DATA_SEGMENT (section 2.2.5.2) structures. Each segment contains data that has been encoded using RDP 8.0 Bulk Compression techniques (section 3.1.9.1).


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

descriptor

segmentCount (optional)

uncompressedSize (optional)

...

bulkData (variable)

...

...

segmentArray (variable)

...

...

descriptor (1 byte):  An 8-bit unsigned integer that specifies whether the RDP_SEGMENTED_DATA structure wraps a single segment or multiple segments.

Value

Meaning

SINGLE

0xE0

The segmentCount, uncompressedSize, and segmentArray fields MUST NOT be present, and the bulkData field MUST be present.

MULTIPART

0xE1

The segmentCount, uncompressedSize, and segmentArray fields MUST be present, and the bulkData field MUST NOT be present.

segmentCount (2 bytes, optional): An optional 16-bit unsigned integer that specifies the number of elements in the segmentArray field.

uncompressedSize (4 bytes, optional):  An optional 32-bit unsigned integer that specifies the size, in bytes, of the data present in the segmentArray field once it has been reassembled and decompressed.

bulkData (variable): An optional variable-length RDP8_BULK_ENCODED_DATA structure (section 2.2.5.3).

segmentArray (variable): An optional variable-length array of RDP_DATA_SEGMENT structures. The number of elements in this array is specified by the segmentCount field.