2.2.1.18 SESSIONTYPE

The SESSIONTYPE enumeration defines the type of the session.

 typedef  enum _SessionType  
 {
   SESSIONTYPE_UNKNOWN = 0,
   SESSIONTYPE_SERVICES,
   SESSIONTYPE_LISTENER,
   SESSIONTYPE_REGULARDESKTOP,
   SESSIONTYPE_ALTERNATESHELL,
   SESSIONTYPE_REMOTEAPP,
   SESSIONTYPE_MEDIACENTEREXT
 } SESSIONTYPE;

SESSIONTYPE_UNKNOWN:  The type of the session cannot be determined.

SESSIONTYPE_SERVICES:  The session is used only to run the operating system services, and that no user can be logged on to the session.

SESSIONTYPE_LISTENER:  The session is used only to run the Terminal Services listeners, and that no user can be logged on to the session.

SESSIONTYPE_REGULARDESKTOP:  The session is connected by using Terminal Services and is running the standard shell.<41>

SESSIONTYPE_ALTERNATESHELL:  The session is connected by using Terminal Services and is running an alternate shell instead of the standard shell.

SESSIONTYPE_REMOTEAPP:  The session is a RAIL (Remote Applications Integrated Locally) session as defined in [MS-RDPERP].

SESSIONTYPE_MEDIACENTEREXT:  The session was connected by using a media center extender device. For more information about the media center, see [MSFT-WINMCE].