2.2.9.2 TSG_PACKET

The TSG_PACKET structure specifies the type of structure to be used by the RDG client and RDG server.

 typedef struct _TSG_PACKET {
   unsigned long packetId;
   [switch_is(packetId)] TSG_PACKET_TYPE_UNION TSGPacket;
 } TSG_PACKET,
  *PTSG_PACKET;

packetId: This value specifies the type of structure pointer contained in the TSGPacket field. Valid values are specified in sections 2.2.5.2.2, 2.2.5.2.3, 2.2.5.2.4, 2.2.5.2.5, 2.2.5.2.6, 2.2.5.2.72.2.5.2.9, 2.2.5.2.10, 2.2.5.2.11, 2.2.5.2.12, and 2.2.5.2.13.

TSGPacket: A union field containing the actual structure pointer corresponding to the value contained in the packetId field. Valid structures for this field are specified in sections 2.2.9.2.1.1, 2.2.9.2.1.2, 2.2.9.2.1.3, 2.2.9.2.1.4, 2.2.9.2.1.5, 2.2.9.2.1.6, 2.2.9.2.1.7, 2.2.9.2.1.8, 2.2.9.2.1.9, 2.2.9.2.1.10, and 2.2.9.2.1.11.