IO_SESSION_CONNECT_INFO - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

typedef struct _IO_SESSION_CONNECT_INFO {
  ULONG   SessionId;
  BOOLEAN LocalSession;
} IO_SESSION_CONNECT_INFO, *PIO_SESSION_CONNECT_INFO;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-wdm-_io_session_connect_info)

_IO_SESSION_CONNECT_INFO structure

Description

The IO_SESSION_CONNECT_INFO structure provides information about a user session.

Members

SessionId

Session ID. This member contains the Terminal Services session identifier of the user session for which the driver is receiving this notification.

LocalSession

Indicates whether the user session is a local session or a remote session. If TRUE, the user is logged on locally. If FALSE, the user is logged on remotely.

Remarks

If a driver is registered to receive notifications of events in a user session, and if this session enters the connected state, the I/O manager calls the driver's IO_SESSION_NOTIFICATION_FUNCTION function. For this call, the I/O manager sets the function's Event parameter to IoSessionEventConnected. Additionally, the I/O manager sets the function's NotificationPayload parameter to point to an IO_SESSION_CONNECT_INFO structure that contains information about the user session. For more information about IoSessionEventConnected, see IO_SESSION_EVENT.

See also

IO_SESSION_EVENT

IO_SESSION_NOTIFICATION_FUNCTION