2.2.2.3 Redirection Surface and Logical Surface Association Order (TS_COMPDESK_REDIRSURF_ASSOC_LSURFACE)

 The server sends the TS_COMPDESK_REDIRSURF_ASSOC_LSURFACE packet to the client to indicate the association or disassociation between a redirection surface and a logical surface.


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

header

operation

size

fAssociate

hLSurface

...

...

hSurf

...

...

header (1 byte):  An 8-bit unsigned integer. An alternate secondary order header as specified in [MS-RDPEGDI] section 2.2.2.2.1.3.1.1. The embedded order type field MUST be set to TS_ALTSEC_COMPDESK_FIRST (0x0C).

operation (1 byte):  An 8-bit unsigned integer. This field MUST be set to REDIRSURF_ASSOC_DEASSOC_LSURFACE (0x04).

size (2 bytes):  A 16-bit unsigned integer. The size of the order data that follows the size field. This field MUST be set to 0x11.

fAssociate (1 byte):  A 8-bit unsigned integer. This field is used to indicate a logical surface and redirection surface "association" when set to 1 and "disassociation" when set to 0.

Name

Value

Disassociation

0x00

Association

0x01

hLSurface (8 bytes):  A 64-bit unsigned integer. A surface manager–generated identifier for a logical surface.

hSurf (8 bytes):  A 64-bit unsigned integer. A sprite manager–generated identifier for a surface attached to a logical surface.