Module: Chef::ReservedNames::Win32::API::System
- Extended by:
- Chef::ReservedNames::Win32::API
- Included in:
- Mixin::WindowsEnvHelper, File, ReservedNames::Win32::System, ReservedNames::Win32::System, ReservedNames::Win32::Version, ReservedNames::Win32::Version
- Defined in:
- lib/chef/win32/api/system.rb
Defined Under Namespace
Classes: OSVERSIONINFOEX
Constant Summary collapse
- VER_SUITE_BACKOFFICE =
Suite Masks Microsoft BackOffice components are installed.
0x00000004
- VER_SUITE_BLADE =
Windows Server 2003, Web Edition is installed.
0x00000400
- VER_SUITE_COMPUTE_SERVER =
Windows Server 2003, Compute Cluster Edition is installed.
0x00004000
- VER_SUITE_DATACENTER =
Windows Server 2008 Datacenter, Windows Server 2003, Datacenter Edition, or Windows 2000 Datacenter Server is installed.
0x00000080
- VER_SUITE_ENTERPRISE =
Windows Server 2008 Enterprise, Windows Server 2003, Enterprise Edition, or Windows 2000 Advanced Server is installed. Refer to the Remarks section for more information about this bit flag.
0x00000002
- VER_SUITE_EMBEDDEDNT =
Windows XP Embedded is installed.
0x00000040
- VER_SUITE_PERSONAL =
Windows Vista Home Premium, Windows Vista Home Basic, or Windows XP Home Edition is installed.
0x00000200
- VER_SUITE_SINGLEUSERTS =
Remote Desktop is supported, but only one interactive session is supported. This value is set unless the system is running in application server mode.
0x00000100
- VER_SUITE_SMALLBUSINESS =
Microsoft Small Business Server was once installed on the system, but may have been upgraded to another version of Windows. Refer to the Remarks section for more information about this bit flag.
0x00000001
- VER_SUITE_SMALLBUSINESS_RESTRICTED =
Microsoft Small Business Server is installed with the restrictive client license in force. Refer to the Remarks section for more information about this bit flag.
0x00000020
- VER_SUITE_STORAGE_SERVER =
Windows Storage Server 2003 R2 or Windows Storage Server 2003is installed.
0x00002000
- VER_SUITE_TERMINAL =
Terminal Services is installed. This value is always set. If VER_SUITE_TERMINAL is set but VER_SUITE_SINGLEUSERTS is not set, the system is running in application server mode.
0x00000010
- VER_SUITE_WH_SERVER =
Windows Home Server is installed.
0x00008000
- VER_NT_DOMAIN_CONTROLLER =
Product Type The system is a domain controller and the operating system is Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, or Windows 2000 Server.
0x0000002
- VER_NT_SERVER =
The operating system is Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, or Windows 2000 Server. Note that a server that is also a domain controller is reported as VER_NT_DOMAIN_CONTROLLER, not VER_NT_SERVER.
0x0000003
- VER_NT_WORKSTATION =
The operating system is Windows 7, Windows Vista, Windows XP Professional, Windows XP Home Edition, or Windows 2000 Professional.
0x0000001
- PRODUCT_BUSINESS =
0x00000006
- PRODUCT_BUSINESS_N =
Business
0x00000010
- PRODUCT_CLUSTER_SERVER =
Business N
0x00000012
- PRODUCT_DATACENTER_SERVER =
HPC Edition
0x00000008
- PRODUCT_DATACENTER_SERVER_CORE =
Server Datacenter (full installation)
0x0000000C
- PRODUCT_DATACENTER_SERVER_CORE_V =
Server Datacenter (core installation)
0x00000027
- PRODUCT_DATACENTER_SERVER_V =
Server Datacenter without Hyper-V (core installation)
0x00000025
- PRODUCT_ENTERPRISE =
Server Datacenter without Hyper-V (full installation)
0x00000004
- PRODUCT_ENTERPRISE_E =
Enterprise
0x00000046
- PRODUCT_ENTERPRISE_N =
Not supported
0x0000001B
- PRODUCT_ENTERPRISE_SERVER =
Enterprise N
0x0000000A
- PRODUCT_ENTERPRISE_SERVER_CORE =
Server Enterprise (full installation)
0x0000000E
- PRODUCT_ENTERPRISE_SERVER_CORE_V =
Server Enterprise (core installation)
0x00000029
- PRODUCT_ENTERPRISE_SERVER_IA64 =
Server Enterprise without Hyper-V (core installation)
0x0000000F
- PRODUCT_ENTERPRISE_SERVER_V =
Server Enterprise for Itanium-based Systems
0x00000026
- PRODUCT_HOME_BASIC =
Server Enterprise without Hyper-V (full installation)
0x00000002
- PRODUCT_HOME_BASIC_E =
Home Basic
0x00000043
- PRODUCT_HOME_BASIC_N =
Not supported
0x00000005
- PRODUCT_HOME_PREMIUM =
Home Basic N
0x00000003
- PRODUCT_HOME_PREMIUM_E =
Home Premium
0x00000044
- PRODUCT_HOME_PREMIUM_N =
Not supported
0x0000001A
- PRODUCT_HYPERV =
Home Premium N
0x0000002A
- PRODUCT_MEDIUMBUSINESS_SERVER_MANAGEMENT =
Microsoft Hyper-V Server
0x0000001E
- PRODUCT_MEDIUMBUSINESS_SERVER_MESSAGING =
Windows Essential Business Server Management Server
0x00000020
- PRODUCT_MEDIUMBUSINESS_SERVER_SECURITY =
Windows Essential Business Server Messaging Server
0x0000001F
- PRODUCT_PROFESSIONAL =
Windows Essential Business Server Security Server
0x00000030
- PRODUCT_PROFESSIONAL_E =
Professional
0x00000045
- PRODUCT_PROFESSIONAL_N =
Not supported
0x00000031
- PRODUCT_SERVER_FOR_SMALLBUSINESS =
Professional N
0x00000018
- PRODUCT_SERVER_FOR_SMALLBUSINESS_V =
Windows Server 2008 for Windows Essential Server Solutions
0x00000023
- PRODUCT_SERVER_FOUNDATION =
Windows Server 2008 without Hyper-V for Windows Essential Server Solutions
0x00000021
- PRODUCT_HOME_PREMIUM_SERVER =
Server Foundation
0x00000022
- PRODUCT_SB_SOLUTION_SERVER =
Windows Home Server 2011
0x00000032
- PRODUCT_HOME_SERVER =
Windows Small Business Server 2011 Essentials
0x00000013
- PRODUCT_SMALLBUSINESS_SERVER =
Windows Storage Server 2008 R2 Essentials
0x00000009
- PRODUCT_SOLUTION_EMBEDDEDSERVER =
Windows Small Business Server
0x00000038
- PRODUCT_STANDARD_SERVER =
Windows MultiPoint Server
0x00000007
- PRODUCT_STANDARD_SERVER_CORE =
Server Standard (full installation)
0x0000000D
- PRODUCT_STANDARD_SERVER_CORE_V =
Server Standard (core installation)
0x00000028
- PRODUCT_STANDARD_SERVER_V =
Server Standard without Hyper-V (core installation)
0x00000024
- PRODUCT_STARTER =
Server Standard without Hyper-V (full installation)
0x0000000B
- PRODUCT_STARTER_E =
Starter
0x00000042
- PRODUCT_STARTER_N =
Not supported
0x0000002F
- PRODUCT_STORAGE_ENTERPRISE_SERVER =
Starter N
0x00000017
- PRODUCT_STORAGE_EXPRESS_SERVER =
Storage Server Enterprise
0x00000014
- PRODUCT_STORAGE_STANDARD_SERVER =
Storage Server Express
0x00000015
- PRODUCT_STORAGE_WORKGROUP_SERVER =
Storage Server Standard
0x00000016
- PRODUCT_UNDEFINED =
Storage Server Workgroup
0x00000000
- PRODUCT_ULTIMATE =
An unknown product
0x00000001
- PRODUCT_ULTIMATE_E =
Ultimate
0x00000047
- PRODUCT_ULTIMATE_N =
Not supported
0x0000001C
- PRODUCT_WEB_SERVER =
Ultimate N
0x00000011
- PRODUCT_WEB_SERVER_CORE =
Web Server (full installation)
0x0000001D
- SM_SERVERR2 =
GetSystemMetrics The build number if the system is Windows Server 2003 R2; otherwise, 0.
89