Back to index

php5  5.3.10
winver.h
Go to the documentation of this file.
00001 #ifndef _PHP_WINVER_H
00002 #define _PHP_WINVER_H
00003 
00004 #ifndef SM_SERVERR2
00005 #define SM_SERVERR2 89
00006 #endif
00007 #ifndef VER_SUITE_WH_SERVER
00008 #define VER_SUITE_WH_SERVER 0x8000
00009 #endif
00010 
00011 #ifndef PRODUCT_ULTIMATE
00012 #define PRODUCT_UNDEFINED                       0x00000000
00013 #define PRODUCT_ULTIMATE                        0x00000001
00014 #define PRODUCT_HOME_BASIC                      0x00000002
00015 #define PRODUCT_HOME_PREMIUM                    0x00000003
00016 #define PRODUCT_ENTERPRISE                      0x00000004
00017 #define PRODUCT_HOME_BASIC_N                    0x00000005
00018 #define PRODUCT_BUSINESS                        0x00000006
00019 #define PRODUCT_STANDARD_SERVER                 0x00000007
00020 #define PRODUCT_DATACENTER_SERVER               0x00000008
00021 #define PRODUCT_SMALLBUSINESS_SERVER            0x00000009
00022 #define PRODUCT_ENTERPRISE_SERVER               0x0000000A
00023 #define PRODUCT_STARTER                         0x0000000B
00024 #define PRODUCT_DATACENTER_SERVER_CORE          0x0000000C
00025 #define PRODUCT_STANDARD_SERVER_CORE            0x0000000D
00026 #define PRODUCT_ENTERPRISE_SERVER_CORE          0x0000000E
00027 #define PRODUCT_ENTERPRISE_SERVER_IA64          0x0000000F
00028 #define PRODUCT_BUSINESS_N                      0x00000010
00029 #define PRODUCT_WEB_SERVER                      0x00000011
00030 #define PRODUCT_CLUSTER_SERVER                  0x00000012
00031 #define PRODUCT_HOME_SERVER                     0x00000013
00032 #define PRODUCT_STORAGE_EXPRESS_SERVER          0x00000014
00033 #define PRODUCT_STORAGE_STANDARD_SERVER         0x00000015
00034 #define PRODUCT_STORAGE_WORKGROUP_SERVER        0x00000016
00035 #define PRODUCT_STORAGE_ENTERPRISE_SERVER       0x00000017
00036 #define PRODUCT_SERVER_FOR_SMALLBUSINESS        0x00000018
00037 #define PRODUCT_SMALLBUSINESS_SERVER_PREMIUM    0x00000019
00038 #endif
00039 
00040 #ifndef VER_NT_WORKSTATION
00041 #define VER_NT_WORKSTATION              0x0000001
00042 #define VER_NT_DOMAIN_CONTROLLER        0x0000002
00043 #define VER_NT_SERVER                   0x0000003
00044 #endif
00045 
00046 #ifndef VER_SUITE_SMALLBUSINESS
00047 #define VER_SUITE_SMALLBUSINESS             0x00000001
00048 #define VER_SUITE_ENTERPRISE                0x00000002
00049 #define VER_SUITE_BACKOFFICE                0x00000004
00050 #define VER_SUITE_COMMUNICATIONS            0x00000008
00051 #define VER_SUITE_TERMINAL                  0x00000010
00052 #define VER_SUITE_SMALLBUSINESS_RESTRICTED  0x00000020
00053 #define VER_SUITE_EMBEDDEDNT                0x00000040
00054 #define VER_SUITE_DATACENTER                0x00000080
00055 #define VER_SUITE_SINGLEUSERTS              0x00000100
00056 #define VER_SUITE_PERSONAL                  0x00000200
00057 #define VER_SUITE_BLADE                     0x00000400
00058 #define VER_SUITE_EMBEDDED_RESTRICTED       0x00000800
00059 #define VER_SUITE_SECURITY_APPLIANCE        0x00001000
00060 #endif
00061 
00062 #ifndef VER_SUITE_STORAGE_SERVER
00063 # define VER_SUITE_STORAGE_SERVER            0x00002000
00064 #endif
00065 
00066 #ifndef VER_SUITE_COMPUTE_SERVER
00067 # define VER_SUITE_COMPUTE_SERVER            0x00004000
00068 #endif
00069 
00070 #ifndef PROCESSOR_ARCHITECTURE_AMD64
00071 #define PROCESSOR_ARCHITECTURE_AMD64            9
00072 #endif
00073 
00074 typedef struct _php_win_OSVERSIONINFOEXA {
00075     DWORD dwOSVersionInfoSize;
00076     DWORD dwMajorVersion;
00077     DWORD dwMinorVersion;
00078     DWORD dwBuildNumber;
00079     DWORD dwPlatformId;
00080     CHAR  szCSDVersion[128];     
00081     WORD  wServicePackMajor;
00082     WORD  wServicePackMinor;
00083     WORD  wSuiteMask;
00084     BYTE  wProductType;
00085     BYTE  wReserved;
00086 } php_win_OSVERSIONINFOEX;
00087 
00088 #endif