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