Win32Shutdown Method of the Win32_OperatingSystem Class
Does anyone can describe me the difference between "Forced Shutdown" and "Forced 开发者_开发问答Power Off" ?
Thanks :)
"Shutdown" asks for a Windows shutdown without turning off the power.
Additional docs are available with the MSDN Library article for ExitWindowsEx(). Note how the flag values are a one-to-one mapping with the WMI method flags. Not an accident.
精彩评论