Hey,
It got asked already a couple of times, but I never found a clear solution.
So let's ask it again, well explained.
When Windows is about to Shutdown or reboot, I want AutoIt to display a message box. How can I do this?
I already did some research, and I found this:
http://msdn.microsoft.com/en-us/library/aa376889(VS.85).aspx
And these events:
• ENDSESSION_CLOSEAPP 0x1
• ENDSESSION_CRITICAL 0x40000000
• ENDSESSION_LOGOFF 0x80000000
But how to use them when one of those events