2.2.9.2.1.2 TSG_PACKET_VERSIONCAPS
The TSG_PACKET_VERSIONCAPS structure is used for version and capabilities negotiation. The value of the packetId field in TSG_PACKET MUST be set to TSG_PACKET_TYPE_VERSIONCAPS.
This structure MUST be embedded in the TSG_PACKET_QUARENC_RESPONSE.
-
typedef struct _TSG_PACKET_VERSIONCAPS { TSG_PACKET_HEADER tsgHeader; [size_is(numCapabilities)] PTSG_PACKET_CAPABILITIES TSGCaps; [range(0, 32)] unsigned long numCapabilities; unsigned short majorVersion; unsigned short minorVersion; unsigned short quarantineCapabilities; } TSG_PACKET_VERSIONCAPS, *PTSG_PACKET_VERSIONCAPS;
tsgHeader: Specified in 2.2.9.2.1.1.
TSGCaps: An array of TSG_PACKET_CAPABILITIES structures. The number of elements in the array is indicated by the numCapabilities field.
numCapabilities: The number of array elements for the TSGCaps field. This value MUST be in the range of 0 and 32. If the TSGCaps field is ignored, then this field MUST also be ignored.
majorVersion: Indicates the major version of the RDG client or RDG server, depending on the sender. This MUST be the following value:
-
Value
Meaning
0x0001
Current major version of the Terminal Services Gateway Server Protocol.
minorVersion: Indicates the minor version of the RDG client or RDG server, depending on the sender. This MUST be the following value.
-
Value
Meaning
0x0001
Current minor version of the Terminal Services Gateway Server Protocol.
quarantineCapabilities: Indicates quarantine capabilities of the RDG client and RDG server, depending on the sender. This MAY be the following value:<11>
-
Value
Meaning
0x0001
Quarantine is supported and required by the RDG server.