![]() By default, it is also an unplanned shutdown. If this parameter is zero, the SHTDN_REASON_FLAG_PLANNED reason code will not be set and therefore the default action is an undefined shutdown that is logged as "No title for this reason could be found". WM_ENDSESSION message within the timeout interval. Therefore, you should only use this flag in an emergency.įorces processes to terminate if they do not respond to the This can cause applications to lose data. This flag has no effect if terminal services is enabled. This parameter can optionally include one of the following values. Windows XP with SP1: If the system supports the power-off feature, specifying this flag turns off the power. You must specify EWX_POWEROFF to do this. Specifying this flag will not turn off the power even if the system supports the power-off feature. All file buffers have been flushed to disk, and all running processes have stopped. Shuts down the system to a point at which it is safe to turn off the power. For more information, see Guidelines for Applications. These application receive the WM_QUERYENDSESSION message with lParam set to the ENDSESSION_CLOSEAPP value. Shuts down the system and then restarts it, as well as any applications that have been registered for restart using the RegisterApplicationRestart function. Shuts down the system and then restarts the system. For more information, see the following Remarks section. ![]() The calling process must have the SE_SHUTDOWN_NAME privilege. The system must support the power-off feature. Shuts down the system and turns off the power. ![]() This flag can be used only by processes running in an interactive user's logon session. Shuts down all processes running in the logon session of the process that called theĮxitWindowsEx function. Valueīeginning with Windows 8: You can prepare the system for a faster startup by combining the EWX_HYBRID_SHUTDOWN flag with the EWX_SHUTDOWN flag. This parameter must include one of the following values. ![]() WM_QUERYENDSESSION message to all applications to determine if they can be terminated. Logs off the interactive user, shuts down the system, or shuts down and restarts the system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |