<div class="content"><p> </p><p>The SHARE_ENUM_STRUCT structure specifies the information
level that the <span><a href="1709f6a7-efb8-4ded-b7ae-5cee9ee36320#gt_60e0e1fa-66fe-41e1-b5e3-ceab97e53506" data-linktype="relative-path">client</a></span> requests in
the <span><a href="c4a98e7b-d416-439c-97bd-4d9f52f8ba52" data-linktype="relative-path">NetrShareEnum</a></span>
method and encapsulates the <span><a href="7894d7e4-bb82-419c-b431-0247c8ae4dfe" data-linktype="relative-path">SHARE_ENUM_UNION</a></span>
union that receives the entries enumerated by the <span><a href="1709f6a7-efb8-4ded-b7ae-5cee9ee36320#gt_434b0234-e970-4e8c-bdfa-e16a30d96703" data-linktype="relative-path">server</a></span>.</p><dl>
<dd>
<div><pre> typedef struct _SHARE_ENUM_STRUCT {
   DWORD Level;
   [switch_is(Level)] SHARE_ENUM_UNION ShareInfo;
 } SHARE_ENUM_STRUCT,
  *PSHARE_ENUM_STRUCT,
  *LPSHARE_ENUM_STRUCT;
</pre></div>
</dd></dl><p><b>Level:</b>  Specifies the information
level of the data. This parameter MUST have 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>0</p>
  </td>
  <td>
  <p>SHARE_INFO_0_CONTAINER</p>
  </td>
 </tr><tr>
  <td>
  <p>1</p>
  </td>
  <td>
  <p>SHARE_INFO_1_CONTAINER</p>
  </td>
 </tr><tr>
  <td>
  <p>2</p>
  </td>
  <td>
  <p>SHARE_INFO_2_CONTAINER</p>
  </td>
 </tr><tr>
  <td>
  <p>501</p>
  </td>
  <td>
  <p>SHARE_INFO_501_CONTAINER</p>
  </td>
 </tr><tr>
  <td>
  <p>502</p>
  </td>
  <td>
  <p>SHARE_INFO_502_CONTAINER</p>
  </td>
 </tr><tr>
  <td>
  <p>503</p>
  </td>
  <td>
  <p>SHARE_INFO_503_CONTAINER</p>
  </td>
 </tr></tbody></table>
</dd></dl><p><b>ShareInfo:</b>  Contains a share
information container whose type is specified by the <i>Level</i> parameter as
the preceding table shows. The enumerated share entries are returned in this
member.</p></div>