2.2.3.5 SHARE_ENUM_UNION

The SHARE_ENUM_UNION union contains information about shares. It is used in the definition of the SHARE_ENUM_STRUCT structure.

 typedef 
 [switch_type(DWORD)] 
 union _SHARE_ENUM_UNION {
   [case(0)] 
     SHARE_INFO_0_CONTAINER* Level0;
   [case(1)] 
     SHARE_INFO_1_CONTAINER* Level1;
   [case(2)] 
     SHARE_INFO_2_CONTAINER* Level2;
   [case(501)] 
     SHARE_INFO_501_CONTAINER* Level501;
   [case(502)] 
     SHARE_INFO_502_CONTAINER* Level502;
   [case(503)] 
     SHARE_INFO_503_CONTAINER* Level503;
 } SHARE_ENUM_UNION;

Level0: A pointer to a structure that contains information about shares, as specified in section 2.2.4.32.

Level1: A pointer to a structure that contains information about shares, as specified in section 2.2.4.33.

Level2: A pointer to a structure that contains information about shares, as specified in section 2.2.4.34.

Level501: A pointer to a structure that contains information about shares, as specified in section 2.2.4.35.

Level502: A pointer to a structure that contains information about shares, as specified in section 2.2.4.36.

Level503: A pointer to a structure that contains information about shares, as specified in section 2.2.4.37.