Click or drag to resize

WindowsApiShutdownReason Enumeration

Win32 ShutdownReason enumeration.

Namespace: GSF.Interop
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.282-beta+fbfa6baa1521236175f6d73fb2eb151a42453aef
Syntax
[FlagsAttribute]
public enum ShutdownReason
View Source
Members
Member nameValueDescription
SHTDN_REASON_MAJOR_OTHER0 
SHTDN_REASON_MAJOR_NONE0 
SHTDN_REASON_MINOR_OTHER0 
SHTDN_REASON_MINOR_NETWORKCARD0 
SHTDN_REASON_MINOR_MAINTENANCE1 
SHTDN_REASON_MINOR_INSTALLATION2 
SHTDN_REASON_MINOR_UPGRADE3 
SHTDN_REASON_MINOR_RECONFIG4 
SHTDN_REASON_MINOR_HUNG5 
SHTDN_REASON_MINOR_UNSTABLE6 
SHTDN_REASON_MINOR_DISK7 
SHTDN_REASON_MINOR_PROCESSOR8 
SHTDN_REASON_MINOR_POWER_SUPPLY10 
SHTDN_REASON_MINOR_CORDUNPLUGGED11 
SHTDN_REASON_MINOR_ENVIRONMENT12 
SHTDN_REASON_MINOR_HARDWARE_DRIVER13 
SHTDN_REASON_MINOR_OTHERDRIVER14 
SHTDN_REASON_MINOR_BLUESCREEN15 
SHTDN_REASON_MINOR_SERVICEPACK16 
SHTDN_REASON_MINOR_HOTFIX17 
SHTDN_REASON_MINOR_SECURITYFIX18 
SHTDN_REASON_MINOR_SECURITY19 
SHTDN_REASON_MINOR_NETWORK_CONNECTIVITY20 
SHTDN_REASON_MINOR_WMI21 
SHTDN_REASON_MINOR_SERVICEPACK_UNINSTALL22 
SHTDN_REASON_MINOR_HOTFIX_UNINSTALL23 
SHTDN_REASON_MINOR_SECURITYFIX_UNINSTALL24 
SHTDN_REASON_MINOR_MMC25 
SHTDN_REASON_MINOR_TERMSRV32 
SHTDN_REASON_MINOR_NONE255 
SHTDN_REASON_UNKNOWN255 
SHTDN_REASON_MAJOR_HARDWARE65,536 
SHTDN_REASON_MAJOR_OPERATINGSYSTEM131,072 
SHTDN_REASON_MAJOR_SOFTWARE196,608 
SHTDN_REASON_MAJOR_APPLICATION262,144 
SHTDN_REASON_MAJOR_SYSTEM327,680 
SHTDN_REASON_MAJOR_POWER393,216 
SHTDN_REASON_MAJOR_LEGACY_API458,752 
SHTDN_REASON_FLAG_USER_DEFINED1,073,741,824 
SHTDN_REASON_FLAG_PLANNED2,147,483,648 
SHTDN_REASON_LEGACY_API2,147,942,400 
SHTDN_REASON_VALID_BIT_MASK3,238,002,687 

The WindowsApiShutdownReason type exposes the following members.

Extension Methods
 NameDescription
Public Extension MethodGetDescription Retrieves the description of the value that this Enum represents extracted from the DescriptionAttribute, or the enumeration name if no description is available.
(Defined by EnumExtensions)
Public Extension MethodGetFormattedName Retrieves a formatted name of the value that this Enum represents for visual display.
(Defined by EnumExtensions)
Top
See Also