SYSTEM_INFO

typedef struct _SYSTEM_INFO { /* sinf */

DWORD dwOemId;

DWORD dwPageSize;

LPVOID lpMinimumApplicationAddress;

LPVOID lpMaximumApplicationAddress;

DWORD dwActiveProcessorMask;

DWORD dwNumberOfProcessors;

DWORD dwProcessorType;

DWORD dwProcessorRevision;

DWORD dwProcessorOptions;

} SYSTEM_INFO, *LPSYSTEM_INFO;

The SYSTEM_INFO structure contains information about a computer system. This information includes the processor type, page size, oem id, and other interesting pieces of information.

Members

dwOemId

Returns a machine identifier that is specific to a particular original equipment manufacturer (oem).

dwPageSize

Returns the page size. This specifies the granularity of page protection and commitment.

lpMinimumApplicationAddress

Returns the lowest memory address accessible to applications and DLLs.

lpMaximumApplicationAddress

Returns the highest memory address accessible to applications and DLLs.

dwActiveProcessorMask

Returns a mask representing the set of processors configured into the system. Bit 0 is processor 0, bit 31 is processor 31.

dwNumberOfProcessors

Returns the number of processors in the system.

dwProcessorType

Returns the type of the current processors in the system. All processors are assumed to be of the same type, stepping, and are configured with the same options.

dwProcessorRevision

Returns the revision flags for the current processors in the system. All processors are assumed to be of the same type, stepping, and are configured with the same options.

dwProcessorOptions

Returns the options of the current processors in the system. All processors are assumed to be of the same type, stepping, and are configured with the same options.