Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

ExitWindows (Enums)
 
.
Summary
Defines the Shutdown type for the user32.ExitWindowsEx method

C# Definition:

[Flags]
public enum ExitWindows : uint
{
   // ONE of the following five:
   LogOff = 0x00,
   ShutDown = 0x01,
   Reboot = 0x02,
   PowerOff = 0x08,
   RestartApps = 0x40,
   // plus AT MOST ONE of the following two:
   Force = 0x04,
   ForceIfHung = 0x10,
}

VB.Net Definition:

<Flags()> _
Enum ExitWindows As UInteger
     LogOff = &H0
     ShutDown = &H1
     Reboot = &H2
     PowerOff = &H8
     RestartApps = &H40
     ' plus AT MOST ONE of the following two:
     Force = &H4
     ForceIfHung = &H10
End Enum

Notes:

Documentation
ExitWindows on MSDN
 

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it!

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions