<div class="content" name="MSG_INFO_1" uuid="8b5122d3-a9c3-46fb-a049-f92570eaf85e"><p>MSG_INFO_1 is a data structure that contains a string that
specifies the recipient name to which a message is to be sent.</p><dl>
<dd>
<div><pre> typedef struct _MSG_INFO_1 {
   [string] wchar_t* msgi1_name;
   DWORD msgi1_forward_flag;
   [string] wchar_t* msgi1_forward;
 } MSG_INFO_1,
  *PMSG_INFO_1,
  *LPMSG_INFO_1;
</pre></div>
</dd></dl><p><b>msgi1_name:</b>   Pointer to a buffer
that receives the name string in UTF-16 format. There are two sources for this
parameter: </p><ol><li><p><span>    </span>It is the UTF-16
formatted <i>Name</i> parameter passed in <a href="e5845829-414e-43c3-a956-e9e8dd4f6fd3" data-linktype="relative-path">NetrMessageNameGetInfo</a>
(section 3.1.4.3) that has been verified to have an equivalent entry in the
message table in section <a href="964e52a9-ddc0-4473-9199-200a417c50ed" data-linktype="relative-path">3.1.1</a>
according to the following algorithm.</p>
<div><pre> Function CompareName (passed in Unicode name)
   Convert the name to uppercase as specified in [MS-UCODEREF] section 3.1.5.3
   Convert the Unicode string to an OEM string as specified in [MS-UCODEREF] section 3.1.5.1.1
   If OEM string is &lt; 15 bytes
     Pad to 15 bytes with spaces
   If OEM string is &gt; 15 bytes
     Truncate to 15 bytes 
   For each table entry
     Compare the resulting 15 bytes for equality with the first 15 bytes of the NetBIOS name in the entry 
     If equal
       Return True
 End CompareName
  
</pre></div>
</li><li><p><span>    </span>It is returned
in the <i>InfoStruct</i> parameter of <a href="14600397-2f79-4704-a902-e4101bbbc0c5" data-linktype="relative-path">NetrMessageNameEnum</a>
(section 3.1.4.2) in which it was retrieved from the message table in section
3.1.1, the <a href="1bb1da94-fc7e-484c-ad2a-4e0d257a50ce#gt_e0056bac-be0a-488d-86b2-eec9c6bfb947" data-linktype="relative-path">NetBIOS suffix</a>
and any trailing spaces removed, and the remaining characters converted to
UTF-16.</p>
</li></ol><p><b>msgi1_forward_flag:</b>  MUST be set to
zero when sent and ignored on receipt.</p><p><b>msgi1_forward:</b>  MUST be NULL and
ignored on receipt.</p></div>