2.2.4.14 SESSION_INFO_10

The SESSION_INFO_10 structure contains information about the session, including the name of the computer, the name of the user, and the active and idle times for the session.

 typedef struct _SESSION_INFO_10 {
   [string] wchar_t* sesi10_cname;
   [string] wchar_t* sesi10_username;
   DWORD sesi10_time;
   DWORD sesi10_idle_time;
 } SESSION_INFO_10,
  *PSESSION_INFO_10,
  *LPSESSION_INFO_10;

sesi10_cname: A pointer to a null-terminated Unicode UTF-16 Internet host name or NetBIOS host name of the computer that established the session.

sesi10_username: A pointer to a null-terminated Unicode UTF-16 string specifying the name of the user who established the session.

sesi10_time: Specifies the number of seconds the session has been active.

sesi10_idle_time: Specifies the number of seconds the session has been idle.