Click to Rate and Give Feedback

  Switch on low bandwidth view
System Shutdown Functions

The following functions are used with system shutdown.

FunctionDescription
AbortSystemShutdownStops a system shutdown that has been initiated.
ExitWindowsLogs off the interactive user.
ExitWindowsExLogs off the interactive user, shuts down the system, or shuts down and restarts the system.
InitiateShutdownInitiates a shutdown and restart of the specified computer, and restarts any applications that have been registered for restart.
InitiateSystemShutdownInitiates a shutdown and optional restart of the specified computer.
InitiateSystemShutdownExInitiates a shutdown and optional restart of the specified computer, and optionally records the reason for the shutdown.
LockWorkStationLocks the workstation's display.
ShutdownBlockReasonCreateIndicates that the system cannot be shut down and sets a reason string to be displayed to the user if system shutdown is initiated.
ShutdownBlockReasonDestroyIndicates that the system can be shut down and frees the reason string.
ShutdownBlockReasonQueryRetrieves the reason string set by the ShutdownBlockReasonCreate function.

 

Send comments about this topic to Microsoft

Build date: 6/4/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker