2.2.2.4 PSESSIONENUM

PSESSIONENUM is a pointer to a structure containing information about the sessions running on the terminal server. It is returned by RpcGetEnumResult.

 typedef struct _SESSIONENUM {
   DWORD Level;
   [switch_is(Level)] SessionInfo Data;
 } SESSIONENUM,
  *PSESSIONENUM;

Level: The level of information contained in the Data member; the valid values are 1 and 2.

Data: Contains information at a specified level of detail about sessions running on a computer.