2.2.2.6 PEXECENVDATA

PEXECENVDATA is a pointer to a structure containing information about the sessions running on the terminal server and the sessions running on virtual machines hosted on the server.<47> It is returned by RpcGetAllSessions.

 typedef struct _EXECENVDATA {
   DWORD Level;
   [switch_is(Level)] ExecEnvData Data;
 } EXECENVDATA,
  *PEXECENVDATA;

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

Value

Meaning

1

The union ExecEnvData has the EXECENVDATA_LEVEL1 structure.

2

The union ExecEnvData has the EXECENVDATA_LEVEL2 structure.

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