InitiateShutdown,无法理解传递给函数的值

InitiateShutdown, can't understand a value passed to the function

我不明白使用此功能关闭计算机和关闭计算机电源之间的区别。我在看 https://msdn.microsoft.com/en-us/library/windows/desktop/aa376872(v=vs.85).aspx
具体我不懂SHUTDOWN_NOREBOOT.

如果电脑既不关机也不重启,那是为了什么? SHUTDOWN_NOREBOOT 是让计算机休眠的同义词吗?

ExitWindowsExEWX_SHUTDOWN 的等效选项的文档更清楚一些。 (强调我的)

Shuts down the system to a point at which it is safe to turn off the power. All file buffers have been flushed to disk, and all running processes have stopped.

在过去,PC 没有自动关机的功能,也没有 EWX_POWEROFF 选项。当你关闭 Windows 时,它要么让你回到 DOS,要么(如果没有外部 DOS 环境)它会出现一个黑色屏幕,屏幕旁边有橙色文字“It's now safe to turn off your computer." That was your cue to flip the big red switch”案.

如今,这种关机模式已经过时,但为了向后兼容而保留了下来。如果 Windows 10 仍然可以调出 "It's now safe to turn off your computer" 屏幕,我不会感到惊讶。