Closed TheCodeArtist closed 8 years ago
Detect when system locks out (either automatically or manually) and log an entry.
This will ensure that the time the system spends in locked-state is not wrongly accounted under the last active window.
WM_WTSSESSION_CHANGE and WTS_SESSION_LOCK ought to be useful. Reference: https://msdn.microsoft.com/en-us/library/aa383828.aspx
Detects and logs a dummy entry in the list of active windows whenever system is locked/unlocked.
Detect when system locks out (either automatically or manually) and log an entry.
This will ensure that the time the system spends in locked-state is not wrongly accounted under the last active window.
WM_WTSSESSION_CHANGE and WTS_SESSION_LOCK ought to be useful. Reference: https://msdn.microsoft.com/en-us/library/aa383828.aspx