Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

SYSTEM_INFO (Structures)
 
.
Summary
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.

C# Definition:

[StructLayout(LayoutKind.Sequential)]
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto)]
public struct SYSTEM_INFO
{
    public ushort processorArchitecture;
    ushort reserved;
    public uint pageSize;
    public IntPtr minimumApplicationAddress;
    public IntPtr maximumApplicationAddress;
    public IntPtr activeProcessorMask;
    public uint numberOfProcessors;
    public uint processorType;
    public uint allocationGranularity;
    public ushort processorLevel;
    public ushort processorRevision;
    public  int  dwOemId;
    public  int  dwPageSize;
    public  int  lpMinimumApplicationAddress;
    public    int  lpMaximumApplicationAddress;
    public  int  dwActiveProcessorMask;
    public  int  dwNumberOfProcessors;
    public  int  dwProcessorType;
    public  int  dwAllocationGranularity;
    public  int  dwProcessorLevel;
    public  int  dwProcessorRevision;    
}

VB Definition:

<StructLayout(LayoutKind.Sequential)> _
Public Structure SYSTEM_INFO
    Dim wProcessorArchitecture As Int16
    Dim wReserved As Int16
    Dim dwPageSize As Integer
    Dim lpMinimumApplicationAddress As Integer
    Dim lpMaximumApplicationAddress As Integer
    Dim dwActiveProcessorMask As Integer
    Dim dwNumberOfProcessors As Integer
    Dim dwProcessorType As Integer
    Dim dwAllocationGranularity As Integer
    Dim wProcessorLevel As Int16
    Dim wProcessorRevision As Int16
  Dim wProcessorArchitecture As Int16
  Dim wReserved As Int16
  Dim dwPageSize As Integer
  Dim lpMinimumApplicationAddress As Integer
  Dim lpMaximumApplicationAddress As Integer
  Dim dwActiveProcessorMask As Integer
  Dim dwNumberOfProcessors As Integer
  Dim dwProcessorType As Integer
  Dim dwAllocationGranularity As Integer
  Dim wProcessorLevel As Int16
  Dim wProcessorRevision As Int16
End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation
SYSTEM_INFO on MSDN

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions