This simple patch adds the definitions needed for InitiateShutdown() to winreg.h
Source: http://msdn.microsoft.com/en-us/library/windows/desktop/aa376872(v=vs.85).aspx
Just checked VS2010 on my work laptop. VS2010 has one another define, not mentioned on the MSDN page:
SHUTDOWN_SKIP_SVC_PRESHUTDOWN 0x00000100
Just checked VS2010 on my work laptop. VS2010 has one another define, not mentioned on the MSDN page:
SHUTDOWN_SKIP_SVC_PRESHUTDOWN 0x00000100
Last edit: Frank Fesevur 2014-08-20