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
Namespace: CADability
Assembly: CADability.dll
Syntax
public struct SYSTEM_INFO
Fields
| Improve this Doc View SourceActiveProcessorMask
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 |
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 |
MaximumApplicationAddress
Pointer to the highest memory address accessible to applications and DLLs.
Declaration
public IntPtr MaximumApplicationAddress
Field Value
| Type | Description |
|---|---|
| System.IntPtr |
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 |
NumberOfProcessors
Number of processors in the system.
Declaration
public int NumberOfProcessors
Field Value
| Type | Description |
|---|---|
| System.Int32 |
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 |
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
If SystemInfoUnion.ProcessorArchitecture is
If SystemInfoUnion.ProcessorArchitecture is
| Value | Description |
|---|---|
| 0004 | MIPS R4000 |
If SystemInfoUnion.ProcessorArchitecture is
| Value | Description |
|---|---|
| 21064 | Alpha 21064 |
| 21066 | Alpha 21066 |
| 21164 | Alpha 21164 |
If SystemInfoUnion.ProcessorArchitecture is
| Value | Description |
|---|---|
| 1 | PPC 601 |
| 3 | PPC 603 |
| 4 | PPC 604 |
| 6 | PPC 603+ |
| 9 | PPC 604+ |
| 20 | PPC 620 |
Declaration
public int ProcessorLevel
Field Value
| Type | Description |
|---|---|
| System.Int32 |
ProcessorRevision
Architecture-dependent processor revision. The following table shows how the revision value is assembled for each type of processor architecture:
| Processor | Description |
|---|---|
| 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 |
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 |
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 |