<div class="content" name="SHARE_ENUM_STRUCT" uuid="79ee052e-e16b-4ec5-b4b7-e99777c26eca"><p>The SHARE_ENUM_STRUCT structure specifies the information
level that the <a href="1709f6a7-efb8-4ded-b7ae-5cee9ee36320#gt_60e0e1fa-66fe-41e1-b5e3-ceab97e53506" data-linktype="relative-path">client</a>
requests in the <a href="c4a98e7b-d416-439c-97bd-4d9f52f8ba52" data-linktype="relative-path">NetrShareEnum</a>
method and encapsulates the <a href="7894d7e4-bb82-419c-b431-0247c8ae4dfe" data-linktype="relative-path">SHARE_ENUM_UNION</a>
union that receives the entries enumerated by the <a href="1709f6a7-efb8-4ded-b7ae-5cee9ee36320#gt_434b0234-e970-4e8c-bdfa-e16a30d96703" data-linktype="relative-path">server</a>.</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>0</td>
  <td>SHARE_INFO_0_CONTAINER</td>
 </tr><tr>
  <td>1</td>
  <td>SHARE_INFO_1_CONTAINER</td>
 </tr><tr>
  <td>2</td>
  <td>SHARE_INFO_2_CONTAINER</td>
 </tr><tr>
  <td>501</td>
  <td>SHARE_INFO_501_CONTAINER</td>
 </tr><tr>
  <td>502</td>
  <td>SHARE_INFO_502_CONTAINER</td>
 </tr><tr>
  <td>503</td>
  <td>SHARE_INFO_503_CONTAINER</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>