<div class="content"><p>The TSG_PACKET_MSG_RESPONSE structure contains the response
of the RDG server to the client when a message needs to be sent to the client.
The value of the <b>packetId</b> field in <a href="4c505da0-93c2-4a2f-9329-6174bbaa481b" data-linktype="relative-path">TSG_PACKET</a> MUST be set to <a href="c3e742af-c1a2-4332-82eb-052a8c7b3dbb" data-linktype="relative-path">TSG_PACKET_TYPE_MESSAGE_PACKET</a>.</p><dl>
<dd>
<div><pre> typedef struct _TSG_PACKET_MSG_RESPONSE {
   unsigned long msgID;
   unsigned long msgType;
   long isMsgPresent;
   [switch_is(msgType)] TSG_PACKET_TYPE_MESSAGE_UNION messagePacket;
 } TSG_PACKET_MSG_RESPONSE,
  *PTSG_PACKET_MSG_RESPONSE;
</pre></div>
</dd></dl><p><b>msgID:</b>  This field is unused.<a id="Appendix_A_Target_20"></a><a aria-label="Product behavior note 20" href="e63f32e6-39ec-43c8-aae5-3ffa1c408966#Appendix_A_20" data-linktype="relative-path">&lt;20&gt;</a> This field can be ignored.</p><p><b>msgType:</b>  An unsigned long
specifying what type of message is being sent by the server. This MUST be one
of the following values.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>
  <p>TSG_ASYNC_MESSAGE_CONSENT_MESSAGE</p>
  <p>0x00000001</p>
  </td>
  <td>
  <p>The server is sending a <a href="76796f19-9e6f-48b9-8b8f-4ef9f197056b#gt_5e2f6dca-bfb9-4f57-9f15-c94b03757ba0" data-linktype="relative-path">Consent Signing Message</a>.</p>
  </td>
 </tr><tr>
  <td>
  <p>TSG_ASYNC_MESSAGE_SERVICE_MESSAGE</p>
  <p>0x00000002</p>
  </td>
  <td>
  <p>The server is sending an Administrative Message.</p>
  </td>
 </tr><tr>
  <td>
  <p>TSG_ASYNC_MESSAGE_REAUTH</p>
  <p>0x00000003</p>
  </td>
  <td>
  <p>The server expects the client to Reauthenticate.</p>
  </td>
 </tr></tbody></table>
</dd></dl><p><b>isMsgPresent:</b>  A Boolean that
indicates whether the <i>messagePacket</i> parameter is present or not. If the
value is TRUE, then <i>messagePacket</i> contains valid data and can be processed.
If the value is FALSE, <i>messagePacket</i> parameter MUST be ignored.</p><p><b>messagePacket:</b>  A <a href="100e7fbb-de3f-470b-b94a-06c92ea4c119" data-linktype="relative-path">TSG_PACKET_TYPE_MESSAGE_UNION</a>
union, as specified in section 2.2.9.2.1.9.1.</p></div>