mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-26 08:36:28 +00:00

WTSGetActiveConsoleSessionId will return a session even if it's not logged in, unlike our old GetInteractiveSessionID function. Launching looking glass on such a console session will allow the login screen to be captured. Note that WTSGetActiveConsoleSessionId() will return 0xFFFFFFFF if there are no sessions attached.