So I've come across this strange function in Windows where after a Windows Update and the reboot it tries to restore your session prior to restarting.
This though only works with Microsoft's own applications, namely Internet Explorer, Windows Explorer and Visual Studio. I didn't see it yet happening with other applications (I'll have to see with Office). Internet Explorer restores all tabs that were present before the forced Windows Update shutdown and Explorer opens all the folders again (like back in Windows 98 where it did this on every restart)
My question is: How did Windows Update implement this? How can other programs salvage this functionality too?