2.2.1.3.4.1 Channel Definition Structure (CHANNEL_DEF)

The CHANNEL_DEF packet contains information for a particular static virtual channel.


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

name

...

options

name (8 bytes): An 8-byte array containing a null-terminated collection of seven ANSI characters that uniquely identify the channel.

options (4 bytes): A 32-bit, unsigned integer. Channel option flags.

Flag

Meaning

CHANNEL_OPTION_INITIALIZED

0x80000000

This flag is unused and its value MUST be ignored by the server.

CHANNEL_OPTION_ENCRYPT_RDP

0x40000000

This flag is unused and its value MUST be ignored by the server.

CHANNEL_OPTION_ENCRYPT_SC

0x20000000

This flag is unused and its value MUST be ignored by the server.

CHANNEL_OPTION_ENCRYPT_CS

0x10000000

This flag is unused and its value MUST be ignored by the server.

CHANNEL_OPTION_PRI_HIGH

0x08000000

Channel data MUST be sent with high MCS priority.

CHANNEL_OPTION_PRI_MED

0x04000000

Channel data MUST be sent with medium MCS priority.

CHANNEL_OPTION_PRI_LOW

0x02000000

Channel data MUST be sent with low MCS priority.

CHANNEL_OPTION_COMPRESS_RDP

0x00800000

Virtual channel data MUST be compressed if RDP data is being compressed.

CHANNEL_OPTION_COMPRESS

0x00400000

Virtual channel data MUST be compressed, regardless of RDP compression settings.

CHANNEL_OPTION_SHOW_PROTOCOL

0x00200000

The value of this flag MUST be ignored by the server. The visibility of the Channel PDU Header (section 2.2.6.1.1) is determined by the CHANNEL_FLAG_SHOW_PROTOCOL (0x00000010) flag as defined in the flags field (section 2.2.6.1.1).

REMOTE_CONTROL_PERSISTENT

0x00100000

Channel MUST be persistent across remote control transactions.