Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The IO_SESSION_EVENT enumeration indicates the type of session event for which a driver is receiving notification.
Syntax
typedef enum _IO_SESSION_EVENT {
IoSessionEventIgnore,
IoSessionEventCreated,
IoSessionEventTerminated,
IoSessionEventConnected,
IoSessionEventDisconnected,
IoSessionEventLogon,
IoSessionEventLogoff,
IoSessionEventMax
} IO_SESSION_EVENT, *PIO_SESSION_EVENT;
Constants
IoSessionEventIgnore |
IoSessionEventCreatedThe user session was created. |
IoSessionEventTerminatedThe user session terminated. |
IoSessionEventConnectedThe user session was connected. |
IoSessionEventDisconnectedThe user session was disconnected. |
IoSessionEventLogonThe user logged on to the session. |
IoSessionEventLogoffThe user logged off of the session. |
IoSessionEventMaxSpecifies the maximum value in this enumeration type. |
Remarks
When the I/O manager calls the driver's IO_SESSION_NOTIFICATION_FUNCTION function, it sets the Event parameter of this function to an IO_SESSION_EVENT enumeration constant (other than IoSessionEventMax).
A session event causes a transition from one session state to another. For more information about session state transitions, see IO_SESSION_STATE.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Supported in Windows 7 and later versions of the Windows operating system. |
| Header | wdm.h (include Wdm.h, Ntddk.h, Ntifs.h, Fltkernel.h) |