From 4f5e43f00eb743d6eb4dc2c80caaeafb71c5a157 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Thu, 24 Jun 2010 22:23:02 +0000 Subject: [PATCH] [PSDK] - Add several missing VER_* definitions. svn path=/trunk/; revision=47843 --- reactos/include/psdk/ntdef.h | 20 ++++++++++++++++++++ reactos/include/psdk/winnt.h | 8 ++++++++ 2 files changed, 28 insertions(+) diff --git a/reactos/include/psdk/ntdef.h b/reactos/include/psdk/ntdef.h index d0a0760f372..efa3a50e6c1 100644 --- a/reactos/include/psdk/ntdef.h +++ b/reactos/include/psdk/ntdef.h @@ -766,4 +766,24 @@ typedef struct _GROUP_AFFINITY { #define LANG_YORUBA 0x6a #define LANG_ZULU 0x35 +#define VER_WORKSTATION_NT 0x40000000 +#define VER_SERVER_NT 0x80000000 + +#define VER_SUITE_SMALLBUSINESS 1 +#define VER_SUITE_ENTERPRISE 2 +#define VER_SUITE_BACKOFFICE 4 +#define VER_SUITE_COMMUNICATIONS 8 +#define VER_SUITE_TERMINAL 16 +#define VER_SUITE_SMALLBUSINESS_RESTRICTED 32 +#define VER_SUITE_EMBEDDEDNT 64 +#define VER_SUITE_DATACENTER 128 +#define VER_SUITE_SINGLEUSERTS 256 +#define VER_SUITE_PERSONAL 512 +#define VER_SUITE_BLADE 1024 +#define VER_SUITE_EMBEDDED_RESTRICTED 2048 +#define VER_SUITE_SECURITY_APPLIANCE 4096 +#define VER_SUITE_STORAGE_SERVER 8192 +#define VER_SUITE_COMPUTE_SERVER 16384 +#define VER_SUITE_WH_SERVER 32768 + #endif /* _NTDEF_ */ diff --git a/reactos/include/psdk/winnt.h b/reactos/include/psdk/winnt.h index a9f9d1717d9..eb034ff0e2f 100644 --- a/reactos/include/psdk/winnt.h +++ b/reactos/include/psdk/winnt.h @@ -1804,6 +1804,8 @@ typedef enum { #define VER_AND 6 #define VER_OR 7 #endif +#define VER_SERVER_NT 0x80000000 +#define VER_WORKSTATION_NT 0x40000000 #define VER_PLATFORM_WIN32s 0 #define VER_PLATFORM_WIN32_WINDOWS 1 #define VER_PLATFORM_WIN32_NT 2 @@ -1813,6 +1815,7 @@ typedef enum { #define VER_SUITE_SMALLBUSINESS 1 #define VER_SUITE_ENTERPRISE 2 #define VER_SUITE_BACKOFFICE 4 +#define VER_SUITE_COMMUNICATIONS 8 #define VER_SUITE_TERMINAL 16 #define VER_SUITE_SMALLBUSINESS_RESTRICTED 32 #define VER_SUITE_EMBEDDEDNT 64 @@ -1820,6 +1823,11 @@ typedef enum { #define VER_SUITE_SINGLEUSERTS 256 #define VER_SUITE_PERSONAL 512 #define VER_SUITE_BLADE 1024 +#define VER_SUITE_EMBEDDED_RESTRICTED 2048 +#define VER_SUITE_SECURITY_APPLIANCE 4096 +#define VER_SUITE_STORAGE_SERVER 8192 +#define VER_SUITE_COMPUTE_SERVER 16384 +#define VER_SUITE_WH_SERVER 32768 #define WT_EXECUTEDEFAULT 0x00000000 #define WT_EXECUTEINIOTHREAD 0x00000001 #define WT_EXECUTEINUITHREAD 0x00000002