2.2.2.4.1 SessionInfo

The SessionInfo is a union of structures, each structure providing different levels of detail about sessions running on a computer, as specified in sections 2.2.2.4.1.1 and 2.2.2.4.1.2 respectively.

 typedef 
 [switch_type(DWORD)] 
 union _SessionInfo {
   [case(1)] 
     SESSIONENUM_LEVEL1 SessionEnum_Level1;
   [case(2)] 
     SESSIONENUM_LEVEL2 SessionEnum_Level2;
 } SessionInfo,
  *PSessionInfo;

SessionEnum_Level1: A SESSIONENUM_LEVEL1 structure containing a level of information about sessions running on a computer.

SessionEnum_Level2: A SESSIONENUM_LEVEL2 structure containing a level of information about sessions running on a computer.