mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-12-03 06:38:14 +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.