André Hentschel : include: Add more minor shutdown reasons.
Alexandre Julliard
julliard at winehq.org
Mon Jan 3 10:58:02 CST 2011
Module: wine
Branch: master
Commit: c59db6d2744950015172f9825748e1a94a2f962f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c59db6d2744950015172f9825748e1a94a2f962f
Author: André Hentschel <nerv at dawncrow.de>
Date: Sun Jan 2 20:17:41 2011 +0100
include: Add more minor shutdown reasons.
---
include/reason.h | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/include/reason.h b/include/reason.h
index 2fe8a57..e8bf7c1 100644
--- a/include/reason.h
+++ b/include/reason.h
@@ -36,8 +36,39 @@
#define SHTDN_REASON_MAJOR_LEGACY_API 0x00070000
#define SHTDN_REASON_MINOR_OTHER 0x00000000
+#define SHTDN_REASON_MINOR_MAINTENANCE 0x00000001
+#define SHTDN_REASON_MINOR_INSTALLATION 0x00000002
+#define SHTDN_REASON_MINOR_UPGRADE 0x00000003
+#define SHTDN_REASON_MINOR_RECONFIG 0x00000004
+#define SHTDN_REASON_MINOR_HUNG 0x00000005
+#define SHTDN_REASON_MINOR_UNSTABLE 0x00000006
+#define SHTDN_REASON_MINOR_DISK 0x00000007
+#define SHTDN_REASON_MINOR_PROCESSOR 0x00000008
+#define SHTDN_REASON_MINOR_NETWORKCARD 0x00000009
+#define SHTDN_REASON_MINOR_POWER_SUPPLY 0x0000000a
+#define SHTDN_REASON_MINOR_CORDUNPLUGGED 0x0000000b
+#define SHTDN_REASON_MINOR_ENVIRONMENT 0x0000000c
+#define SHTDN_REASON_MINOR_HARDWARE_DRIVER 0x0000000d
+#define SHTDN_REASON_MINOR_OTHERDRIVER 0x0000000e
+#define SHTDN_REASON_MINOR_BLUESCREEN 0x0000000f
+#define SHTDN_REASON_MINOR_SERVICEPACK 0x00000010
+#define SHTDN_REASON_MINOR_HOTFIX 0x00000011
+#define SHTDN_REASON_MINOR_SECURITYFIX 0x00000012
+#define SHTDN_REASON_MINOR_SECURITY 0x00000013
+#define SHTDN_REASON_MINOR_NETWORK_CONNECTIVITY 0x00000014
+#define SHTDN_REASON_MINOR_WMI 0x00000015
+#define SHTDN_REASON_MINOR_SERVICEPACK_UNINSTALL 0x00000016
+#define SHTDN_REASON_MINOR_HOTFIX_UNINSTALL 0x00000017
+#define SHTDN_REASON_MINOR_SECURITYFIX_UNINSTALL 0x00000018
+#define SHTDN_REASON_MINOR_MMC 0x00000019
+#define SHTDN_REASON_MINOR_SYSTEMRESTORE 0x0000001a
+#define SHTDN_REASON_MINOR_TERMSRV 0x00000020
+#define SHTDN_REASON_MINOR_DC_PROMOTION 0x00000021
+#define SHTDN_REASON_MINOR_DC_DEMOTION 0x00000022
#define SHTDN_REASON_MINOR_NONE 0x000000ff
+#define SHTDN_REASON_VALID_BIT_MASK 0xc0ffffff
+
#define SHTDN_REASON_UNKNOWN SHTDN_REASON_MINOR_NONE
#define SHTDN_REASON_LEGACY_API (SHTDN_REASON_MAJOR_LEGACY_API | SHTDN_REASON_FLAG_PLANNED)
More information about the wine-cvs
mailing list