private const UInt32 EWX_LOGOFF = 0x00000000;
private const UInt32 EWX_SHUTDOWN = 0x00000001;
private const UInt32 EWX_FORCE = 0x00000004;
private const UInt32 EWX_POWEROFF = 0x00000008;
private const UInt32 EWX_FORCEIFHUNG = 0x00000010; // Supported on Windows 2000 and larger
// For the meaning of this enum take a look at
// http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/exitwindowsex.asp
public enum EWX
{
EWX_LOGOFF = 0x00,
EWX_SHUTDOWN = 0x01,
EWX_FORCE = 0x04,
EWX_POWEROFF = 0x08,
EWX_FORCEIFHUNG = 0x10
}
TODO
None.