Show / Hide Table of Contents

Struct Kernel.SYSTEM_INFO

The SYSTEM_INFO structure contains information about the current computer system. This includes the architecture and type of the processor, the number of processors in the system, the page size, and other such information.

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: CADability
Assembly: CADability.dll
Syntax
public struct SYSTEM_INFO

Fields

| Improve this Doc View Source

ActiveProcessorMask

Mask representing the set of processors configured into the system. Bit 0 is processor 0; bit 31 is processor 31.

Declaration
public int ActiveProcessorMask
Field Value
Type Description
System.Int32
| Improve this Doc View Source

AllocationGranularity

Granularity with which virtual memory is allocated. For example, a VirtualAlloc request to allocate 1 byte will reserve an address space of AllocationGranularity bytes. This value was hard coded as 64K in the past, but other hardware architectures may require different values.

Declaration
public int AllocationGranularity
Field Value
Type Description
System.Int32
| Improve this Doc View Source

MaximumApplicationAddress

Pointer to the highest memory address accessible to applications and DLLs.

Declaration
public IntPtr MaximumApplicationAddress
Field Value
Type Description
System.IntPtr
| Improve this Doc View Source

MinimumApplicationAddress

Pointer to the lowest memory address accessible to applications and dynamic-link libraries (DLLs).

Declaration
public IntPtr MinimumApplicationAddress
Field Value
Type Description
System.IntPtr
| Improve this Doc View Source

NumberOfProcessors

Number of processors in the system.

Declaration
public int NumberOfProcessors
Field Value
Type Description
System.Int32
| Improve this Doc View Source

PageSize

Page size and the granularity of page protection and commitment. This is the page size used by the VirtualAlloc function.

Declaration
public int PageSize
Field Value
Type Description
System.Int32
| Improve this Doc View Source

ProcessorLevel

System's architecture-dependent processor level. It should be used only for display purposes. To determine the feature set of a processor, use the IsProcessorFeaturePresent(Int32) function.

If SystemInfoUnion.ProcessorArchitecture is , ProcessorLevel is defined by the CPU vendor.

If SystemInfoUnion.ProcessorArchitecture is , ProcessorLevel is set to 1.

If SystemInfoUnion.ProcessorArchitecture is , ProcessorLevel is of the form 00xx, where xx is an 8-bit implementation number (bits 8-15 of the PRId register). The member can be the following value:

ValueDescription
0004MIPS R4000

If SystemInfoUnion.ProcessorArchitecture is , ProcessorLevel is of the form xxxx, where xxxx is a 16-bit processor version number (the low-order 16 bits of a version number from the firmware). The member can be one of the following values:

ValueDescription
21064Alpha 21064
21066Alpha 21066
21164Alpha 21164

If SystemInfoUnion.ProcessorArchitecture is , ProcessorLevel is of the form xxxx, where xxxx is a 16-bit processor version number (the high-order 16 bits of the Processor Version Register). The member can be one of the following values:

ValueDescription
1PPC 601
3PPC 603
4PPC 604
6PPC 603+
9PPC 604+
20PPC 620

Declaration
public int ProcessorLevel
Field Value
Type Description
System.Int32
| Improve this Doc View Source

ProcessorRevision

Architecture-dependent processor revision. The following table shows how the revision value is assembled for each type of processor architecture:

ProcessorDescription
Intel 80386 or 80486

A value of the form xxyz.

If xx is equal to 0xFF, y - 0xA is the model number, and z is the stepping identifier. For example, an Intel 80486-D0 system returns 0xFFD0.

If xx is not equal to 0xFF, xx + 'A' is the stepping letter and yz is the minor stepping.

Intel Pentium, Cyrix, or NextGen 586

A value of the form xxyy, where xx is the model number and yy is the stepping. Display this value of 0x0201 as follows:

Model xx, Stepping yy.

MIPS A value of the form 00xx, where xx is the 8-bit revision number of the processor (the low-order 8 bits of the PRId register).
ALPHA

A value of the form xxyy, where xxyy is the low-order 16 bits of the processor revision number from the firmware. Display this value as follows:

Model A+xx, Pass yy.

PPC

A value of the form xxyy, where xxyy is the low-order 16 bits of the processor version register. Display this value as follows:

xx.yy.

Declaration
public int ProcessorRevision
Field Value
Type Description
System.Int32
| Improve this Doc View Source

ProcessorType

An obsolete member that is retained for compatibility with Windows NT 3.5 and earlier. Use the SystemInfoUnion.ProcessorArchitecture, ProcessorLevel, and ProcessorRevision members to determine the type of processor.

Windows Me/98/95: Specifies the type of processor in the system. This member is one of the following values:

Declaration
public int ProcessorType
Field Value
Type Description
System.Int32
| Improve this Doc View Source

SystemInfoUnion

Union for the OemId, ProcessorArchitecture, and Reserved fields of the SYSTEM_INFO structure. See Kernel.SYSTEM_INFO_UNION.

Declaration
public Kernel.SYSTEM_INFO_UNION SystemInfoUnion
Field Value
Type Description
Kernel.SYSTEM_INFO_UNION

See Also

GetSystemInfo(out Kernel.SYSTEM_INFO)
Kernel.SYSTEM_INFO_UNION
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX