Processing Session Changes

 

If the user's session changes state, such as when the user logs in or out, the operating system notifies the IHV Extensions DLL about the session change by calling the Dot11ExtIhvProcessSessionChange function. The operating system passes the reason for the session change to the uEventType parameter.

If the uEventType parameter is set to WTS_SESSION_LOGOFF, the user has logged off of the current session. In this situation, all pending user interface (UI) requests must be canceled internally by the IHV Extensions DLL, and the DLL must free any allocated resources for each pending UI request.