SYSTEM_INFO
A version of this page is also available for
4/8/2010
This structure contains information about the current computer system. This includes the processor type, page size, memory addresses, and OEM identifier.
Syntax
typedef struct _SYSTEM_INFO {
union {
DWORD dwOemId;
struct {
WORD wProcessorArchitecture;
WORD wReserved;
};
};
DWORD dwPageSize;
LPVOID lpMinimumApplicationAddress;
LPVOID lpMaximumApplicationAddress;
DWORD dwActiveProcessorMask;
DWORD dwNumberOfProcessors;
DWORD dwProcessorType;
DWORD dwAllocationGranularity;
WORD wProcessorLevel;
WORD wProcessorRevision;
} SYSTEM_INFO, *LPSYSTEM_INFO;
Members
- dwOemId
Obsolete, do not use.
wProcessorArchitecture
System processor architecture.The accepted value for this member is PROCESSOR_ARCHITECTURE_ARM
Note
Windows Mobile only supports processors based on the ARM architecture.
- wReserved
Reserved for future use.
- dwPageSize
Page size and the granularity of page protection and commitment. This is the page size used by the VirtualAlloc function.
- lpMinimumApplicationAddress
Pointer to the lowest memory address accessible to applications and DLLs.
- lpMaximumApplicationAddress
Pointer to the highest memory address accessible to applications and DLLs.
- dwActiveProcessorMask
Mask representing the set of processors configured into the system. Bit 0 is processor 0; bit 31 is processor 31.
- dwNumberOfProcessors
Number of processors in the system.
dwProcessorType
Type of processor in the system.This is no longer relevant. Use the wProcessorArchitecture, wProcessorLevel, and wProcessorRevision members to determine the type of processor.
The accepted value is PROCESSOR_ARM720
dwAllocationGranularity
The granularity with which virtual memory is allocated.For example, a VirtualAlloc request to allocate 1 byte will reserve an address space of dwAllocationGranularity bytes.
This value was hard coded as 64 KB in the past, but other hardware architectures may require different values.
wProcessorLevel
System architecture-dependent processor level.If wProcessorArchitecture is PROCESSOR_ARCHITECTURE_ARM, wProcessorLevel can have the following value.
Value Description 4
ARM version 4
wProcessorRevision
Specifies an architecture-dependent processor revision. The following table shows how the revision value is assembled for the ARM processor architecture.Value Description ARM
Is a value from 1 to 16. Consult your ARM CPU manual.
Requirements
Header | winbase.h |
Windows Embedded CE | Windows CE 1.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |