Tag Archives: ShutdownBlockReasonCreate

Block system shutdown

UPDATE : Here is a sample code for Vista only.
ShutdownBlockReasonCreate
Running the program then initiating a shutdown will display the Windows feature.
As things seems to have changed a little in Windows 7, it doesn’t work with it. I will post an updated version of it, when the documentation is available.
Sometimes you need to handle a shutdown [...]