2.2.4.2.1 ContextRelay_Create

The ContextRelay_Create message creates a transport bridge to relay messages from a remote application to an existing context.


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

_size

_msgid

_idObjectSubject

protocol

stServer

stSession

_size (4 bytes): An unsigned 32-bit integer. The total message size, in bytes.

_msgid (4 bytes): A signed 32-bit integer. The message ID that is unique to the specific target. The _msgid value is 0x00000002 for this message.

_idObjectSubject (4 bytes): An unsigned 32-bit integer. The ID of the target object.

protocol (4 bytes): A signed 32-bit integer. The transport protocol to use for communication.

The possible values are:

Value

Description

0x00000001

RDP Virtual Channel

0x00000002

TCP

0x00000003

UDP

0x00000004

Named Pipes

stServer (4 bytes): A BLOBREF (section 2.2.6.1) that specifies the name of the remote server or address.

stSession (4 bytes): A BLOBREF (section 2.2.6.1) that specifies the name for the local session. This value is only used for Named Pipes; otherwise, this value is ignored.