Updated for Git 1.7.3.2
[msysgit/mtrensch.git] / mingw / include / reason.h
blobfb73451a3b3a57a934c82b63a0780367e39f661c
1 #ifndef _REASON_H
2 #define _REASON_H
3 #if __GNUC__ >=3
4 #pragma GCC system_header
5 #endif
7 #if (_WIN32_WINNT >= 0x0501)
8 #define SHTDN_REASON_MAJOR_APPLICATION 0x00040000
9 #define SHTDN_REASON_MAJOR_HARDWARE 0x00010000
10 #define SHTDN_REASON_MAJOR_LEGACY_API 0x00070000
11 #define SHTDN_REASON_MAJOR_OPERATINGSYSTEM 0x00020000
12 #define SHTDN_REASON_MAJOR_OTHER 0x00000000
13 #define SHTDN_REASON_MAJOR_POWER 0x00060000
14 #define SHTDN_REASON_MAJOR_SOFTWARE 0x00030000
15 #define SHTDN_REASON_MAJOR_SYSTEM 0x00050000
16 #define SHTDN_REASON_MINOR_BLUESCREEN 0x0000000F
17 #define SHTDN_REASON_MINOR_CORDUNPLUGGED 0x0000000b
18 #define SHTDN_REASON_MINOR_DISK 0x00000007
19 #define SHTDN_REASON_MINOR_ENVIRONMENT 0x0000000c
20 #define SHTDN_REASON_MINOR_HARDWARE_DRIVER 0x0000000d
21 #define SHTDN_REASON_MINOR_HOTFIX 0x00000011
22 #define SHTDN_REASON_MINOR_HOTFIX_UNINSTALL 0x00000017
23 #define SHTDN_REASON_MINOR_HUNG 0x00000005
24 #define SHTDN_REASON_MINOR_INSTALLATION 0x00000002
25 #define SHTDN_REASON_MINOR_MAINTENANCE 0x00000001
26 #define SHTDN_REASON_MINOR_MMC 0x00000019
27 #define SHTDN_REASON_MINOR_NETWORK_CONNECTIVITY 0x00000014
28 #define SHTDN_REASON_MINOR_NETWORKCARD 0x00000009
29 #define SHTDN_REASON_MINOR_OTHER 0x00000000
30 #define SHTDN_REASON_MINOR_OTHERDRIVER 0x0000000e
31 #define SHTDN_REASON_MINOR_POWER_SUPPLY 0x0000000a
32 #define SHTDN_REASON_MINOR_PROCESSOR 0x00000008
33 #define SHTDN_REASON_MINOR_RECONFIG 0x00000004
34 #define SHTDN_REASON_MINOR_SECURITY 0x00000013
35 #define SHTDN_REASON_MINOR_SECURITYFIX 0x00000012
36 #define SHTDN_REASON_MINOR_SECURITYFIX_UNINSTALL 0x00000018
37 #define SHTDN_REASON_MINOR_SERVICEPACK 0x00000010
38 #define SHTDN_REASON_MINOR_SERVICEPACK_UNINSTALL 0x00000016
39 #define SHTDN_REASON_MINOR_TERMSRV 0x00000020
40 #define SHTDN_REASON_MINOR_UNSTABLE 0x00000006
41 #define SHTDN_REASON_MINOR_UPGRADE 0x00000003
42 #define SHTDN_REASON_MINOR_WMI 0x00000015
43 #define SHTDN_REASON_FLAG_USER_DEFINED 0x40000000
44 #define SHTDN_REASON_FLAG_PLANNED 0x80000000
45 #endif /* (WIN32_WINNT >= 0x0501) */
47 #endif