SHTDN_REASON_MAJOR_POWER 0x00060000 Power failure SHTDN_REASON_MAJOR_SOFTWARE 0x00030000 Software issue SHTDN_REASON_MAJOR_SYSTEM 0x00050000 System failure Any reason code MAY be used with any major reason code. Minor reason codes are described in the following table. Constant/value Description SHTDN_REASON_MINOR_BLUESCREEN 0x0000000F Blue screen crash event SHTDN_REASON_MINOR_CORDUNPLUGGED 0x0000000b Unplugged SHTDN_REASON_MINOR_DISK 0x00000007 Disk SHTDN_REASON_MINOR_ENVIRONMENT 0x0000000c Environment SHTDN_REASON_MINOR_HARDWARE_DRIVER 0x0000000d Driver SHTDN_REASON_MINOR_HOTFIX 0x00000011 Hot fix SHTDN_REASON_MINOR_HOTFIX_UNINSTALL 0x00000017 Hot fix uninstallation SHTDN_REASON_MINOR_HUNG 0x00000005 Unresponsive SHTDN_REASON_MINOR_INSTALLATION 0x00000002 Installation SHTDN_REASON_MINOR_MAINTENANCE 0x00000001 Maintenance SHTDN_REASON_MINOR_MMC 0x00000019 Management tool<1> SHTDN_REASON_MINOR_NETWORK_CONNECTIVITY 0x00000014 Network connectivity SHTDN_REASON_MINOR_NETWORKCARD 0x00000009 Network card SHTDN_REASON_MINOR_OTHER 0x00000000 Other issue
SHTDN_REASON_MINOR_OTHERDRIVER 0x0000000e Other driver event SHTDN_REASON_MINOR_POWER_SUPPLY 0x0000000a Power supply SHTDN_REASON_MINOR_PROCESSOR 0x00000008 Processor SHTDN_REASON_MINOR_RECONFIG 0x00000004 Reconfigure SHTDN_REASON_MINOR_SECURITY 0x00000013 Security issue SHTDN_REASON_MINOR_SECURITYFIX 0x00000012 Security patch SHTDN_REASON_MINOR_SECURITYFIX_UNINSTALL 0x00000018 Security patch uninstallation SHTDN_REASON_MINOR_SERVICEPACK 0x00000010 Service pack SHTDN_REASON_MINOR_SERVICEPACK_UNINSTALL 0x00000016 Service pack uninstallation SHTDN_REASON_MINOR_TERMSRV 0x00000020 Terminal services SHTDN_REASON_MINOR_UNSTABLE 0x00000006 Unstable SHTDN_REASON_MINOR_UPGRADE 0x00000003 Installation of software on the system required reboot SHTDN_REASON_MINOR_WMI 0x00000015 WMI issue The following optional flags provide additional information about the event. Constant/Value Description SHTDN_REASON_FLAG_USER_DEFINED 0x40000000 The reason code is defined by the user.<2> If this flag is not present, the reason code is defined by the system.
Index A Abstract data model 18 server ( 14, 18, 21) 14 21 8 B 20 20 17 17 19 19 20 20 16 16 17 17 C 8 32 10 D Data model - abstract 18 server ( 14, 18, 21) 14 21 10 10 E Events local 21 18 23 local - server ( 18, 21, 23) 21 18 23 timer - server ( 18, 21, 23) 24 24 F 8 Full IDL ( 26, 26, 27) G 6 I IDL ( 26, 26, 27) 25 25 25 7 Initialization 19 server ( 14, 19, 21) 14 21 18 InitShutdown server 18 19 21 19 18 19 21 18 Interfaces - server 18 21 14 6 L Local events 21 server ( 18, 21, 23) 18 23 M Message processing
19 server ( 14, 19, 21) 14 21 Messages 10 10 10 Methods 20 17 19 20 16 17 23 22 N 7 O 7 7 P 25 25 8 11 8 30 Protocol Details 14 R 7 7 7 11 8 S 25 25 25 Sequencing rules 19 server ( 14, 19, 21) 14 21 Server abstract data model ( 14, 18, 21) 20 17 19 20 16 17 initialization ( 14, 19, 21) 18 local events ( 18, 21, 23) message processing ( 14, 19, 21) overview ( 14, 18, 21) sequencing rules ( 14, 19, 21) timer events ( 18, 21, 23) timers ( 14, 18, 21) 21 14 23 22 11 9 T Timer events 21 server ( 18, 21, 23) 18 23 Timers 18 server ( 14, 18, 21) 14 21 32 10 10 V 8 8 W Windows Remote Registry server 14 14 18 14 14 14 18 14 Windows shutdown server 21 21