xref: /PHP-5.3/ext/standard/winver.h (revision 6284ef11)
1 #ifndef _PHP_WINVER_H
2 #define _PHP_WINVER_H
3 
4 #ifndef SM_SERVERR2
5 #define SM_SERVERR2 89
6 #endif
7 #ifndef VER_SUITE_WH_SERVER
8 #define VER_SUITE_WH_SERVER 0x8000
9 #endif
10 
11 #ifndef PRODUCT_ULTIMATE
12 #define PRODUCT_UNDEFINED                       0x00000000
13 #define PRODUCT_ULTIMATE                        0x00000001
14 #define PRODUCT_HOME_BASIC                      0x00000002
15 #define PRODUCT_HOME_PREMIUM                    0x00000003
16 #define PRODUCT_ENTERPRISE                      0x00000004
17 #define PRODUCT_HOME_BASIC_N                    0x00000005
18 #define PRODUCT_BUSINESS                        0x00000006
19 #define PRODUCT_STANDARD_SERVER                 0x00000007
20 #define PRODUCT_DATACENTER_SERVER               0x00000008
21 #define PRODUCT_SMALLBUSINESS_SERVER            0x00000009
22 #define PRODUCT_ENTERPRISE_SERVER               0x0000000A
23 #define PRODUCT_STARTER                         0x0000000B
24 #define PRODUCT_DATACENTER_SERVER_CORE          0x0000000C
25 #define PRODUCT_STANDARD_SERVER_CORE            0x0000000D
26 #define PRODUCT_ENTERPRISE_SERVER_CORE          0x0000000E
27 #define PRODUCT_ENTERPRISE_SERVER_IA64          0x0000000F
28 #define PRODUCT_BUSINESS_N                      0x00000010
29 #define PRODUCT_WEB_SERVER                      0x00000011
30 #define PRODUCT_CLUSTER_SERVER                  0x00000012
31 #define PRODUCT_HOME_SERVER                     0x00000013
32 #define PRODUCT_STORAGE_EXPRESS_SERVER          0x00000014
33 #define PRODUCT_STORAGE_STANDARD_SERVER         0x00000015
34 #define PRODUCT_STORAGE_WORKGROUP_SERVER        0x00000016
35 #define PRODUCT_STORAGE_ENTERPRISE_SERVER       0x00000017
36 #define PRODUCT_SERVER_FOR_SMALLBUSINESS        0x00000018
37 #define PRODUCT_SMALLBUSINESS_SERVER_PREMIUM    0x00000019
38 #endif
39 
40 #ifndef VER_NT_WORKSTATION
41 #define VER_NT_WORKSTATION              0x0000001
42 #define VER_NT_DOMAIN_CONTROLLER        0x0000002
43 #define VER_NT_SERVER                   0x0000003
44 #endif
45 
46 #ifndef VER_SUITE_SMALLBUSINESS
47 #define VER_SUITE_SMALLBUSINESS             0x00000001
48 #define VER_SUITE_ENTERPRISE                0x00000002
49 #define VER_SUITE_BACKOFFICE                0x00000004
50 #define VER_SUITE_COMMUNICATIONS            0x00000008
51 #define VER_SUITE_TERMINAL                  0x00000010
52 #define VER_SUITE_SMALLBUSINESS_RESTRICTED  0x00000020
53 #define VER_SUITE_EMBEDDEDNT                0x00000040
54 #define VER_SUITE_DATACENTER                0x00000080
55 #define VER_SUITE_SINGLEUSERTS              0x00000100
56 #define VER_SUITE_PERSONAL                  0x00000200
57 #define VER_SUITE_BLADE                     0x00000400
58 #define VER_SUITE_EMBEDDED_RESTRICTED       0x00000800
59 #define VER_SUITE_SECURITY_APPLIANCE        0x00001000
60 #endif
61 
62 #ifndef VER_SUITE_STORAGE_SERVER
63 # define VER_SUITE_STORAGE_SERVER            0x00002000
64 #endif
65 
66 #ifndef VER_SUITE_COMPUTE_SERVER
67 # define VER_SUITE_COMPUTE_SERVER            0x00004000
68 #endif
69 
70 #ifndef PROCESSOR_ARCHITECTURE_AMD64
71 #define PROCESSOR_ARCHITECTURE_AMD64            9
72 #endif
73 
74 typedef struct _php_win_OSVERSIONINFOEXA {
75     DWORD dwOSVersionInfoSize;
76     DWORD dwMajorVersion;
77     DWORD dwMinorVersion;
78     DWORD dwBuildNumber;
79     DWORD dwPlatformId;
80     CHAR  szCSDVersion[128];
81     WORD  wServicePackMajor;
82     WORD  wServicePackMinor;
83     WORD  wSuiteMask;
84     BYTE  wProductType;
85     BYTE  wReserved;
86 } php_win_OSVERSIONINFOEX;
87 
88 #endif