<div class="content"><p> </p><p>The SHARE_INFO_2 structure contains information about the
shared resource, including the name, type, and permissions of the resource,
comments associated with the resource, the maximum number of concurrent <span><a href="1709f6a7-efb8-4ded-b7ae-5cee9ee36320#gt_866b0055-ceba-4acf-a692-98452943b981" data-linktype="relative-path">connections</a></span>,
the number of current connections, the local path for the resource, and a
password for the current connection. For a description of the fields in this
structure, see the description for the <span><a href="8605fd54-6ede-4316-b30d-ecfafa133c1d" data-linktype="relative-path">SHARE_INFO_502_I (section 2.2.4.26)</a></span>
structure (shi2_xxx denotes the same information as shi502_xxx).</p><dl>
<dd>
<div><pre> typedef struct _SHARE_INFO_2 {
   [string] wchar_t* shi2_netname;
   DWORD shi2_type;
   [string] wchar_t* shi2_remark;
   DWORD shi2_permissions;
   DWORD shi2_max_uses;
   DWORD shi2_current_uses;
   [string] wchar_t* shi2_path;
   [string] wchar_t* shi2_passwd;
 } SHARE_INFO_2,
  *PSHARE_INFO_2,
  *LPSHARE_INFO_2;
</pre></div>
</dd></dl></div>