2.2.3.4 SESSION_ENUM_UNION

The SESSION_ENUM_UNION union contains information about sessions. It is used in the definition of the SESSION_ENUM_STRUCT structure.

 typedef 
 [switch_type(DWORD)] 
 union _SESSION_ENUM_UNION {
   [case(0)] 
     SESSION_INFO_0_CONTAINER* Level0;
   [case(1)] 
     SESSION_INFO_1_CONTAINER* Level1;
   [case(2)] 
     SESSION_INFO_2_CONTAINER* Level2;
   [case(10)] 
     SESSION_INFO_10_CONTAINER* Level10;
   [case(502)] 
     SESSION_INFO_502_CONTAINER* Level502;
 } SESSION_ENUM_UNION;

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

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

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

Level10: A pointer to a structure that contains information about sessions, as specified in section 2.2.4.19.

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