Module: Windows::SystemInfo

Defined in:
lib/windows/system_info.rb

Constant Summary

PROCESSOR_INTEL_386 =

Obsolete processor info constants

386
PROCESSOR_INTEL_486 =
486
PROCESSOR_INTEL_PENTIUM =
586
PROCESSOR_INTEL_IA64 =
2200
PROCESSOR_AMD_X8664 =
8664
VER_SERVER_NT =

Suite mask constants

0x80000000
VER_WORKSTATION_NT =
0x40000000
VER_SUITE_SMALLBUSINESS =
0x00000001
VER_SUITE_ENTERPRISE =
0x00000002
VER_SUITE_BACKOFFICE =
0x00000004
VER_SUITE_COMMUNICATIONS =
0x00000008
VER_SUITE_TERMINAL =
0x00000010
VER_SUITE_SMALLBUSINESS_RESTRICTED =
0x00000020
VER_SUITE_EMBEDDEDNT =
0x00000040
VER_SUITE_DATACENTER =
0x00000080
VER_SUITE_SINGLEUSERTS =
0x00000100
VER_SUITE_PERSONAL =
0x00000200
VER_SUITE_BLADE =
0x00000400
VER_SUITE_EMBEDDED_RESTRICTED =
0x00000800
VER_SUITE_SECURITY_APPLIANCE =
0x00001000
VER_SUITE_STORAGE_SERVER =
0x00002000
VER_SUITE_COMPUTE_SERVER =
0x00004000
VER_NT_WORKSTATION =

Product mask constants

0x0000001
VER_NT_DOMAIN_CONTROLLER =
0x0000002
VER_NT_SERVER =
0x0000003
VER_PLATFORM_WIN32s =

Platform definitions

0
VER_PLATFORM_WIN32_WINDOWS =
1
VER_PLATFORM_WIN32_NT =
2
VER_MINORVERSION =

Version info type constants

0x0000001
VER_MAJORVERSION =
0x0000002
VER_BUILDNUMBER =
0x0000004
VER_PLATFORMID =
0x0000008
VER_SERVICEPACKMINOR =
0x0000010
VER_SERVICEPACKMAJOR =
0x0000020
VER_SUITENAME =
0x0000040
VER_PRODUCT_TYPE =
0x0000080
ComputerNameNetBIOS =

Enum COMPUTER_NAME_FORMAT

0
ComputerNameDnsHostname =
1
ComputerNameDnsDomain =
2
ComputerNameDnsFullyQualified =
3
ComputerNamePhysicalNetBIOS =
4
ComputerNamePhysicalDnsHostname =
5
ComputerNamePhysicalDnsDomain =
6
ComputerNamePhysicalDnsFullyQualified =
7
ComputerNameMax =
8