JNative project : see http://jnative.sf.net


org.xvolks.jnative.misc
Class SystemInfo

java.lang.Object
  extended by org.xvolks.jnative.misc.SystemInfo

public class SystemInfo
extends java.lang.Object

SystemInfo this utility class is used by Kernel32.getNativeSystemInfo().
This is the native peer.

typedef struct _SYSTEM_INFO {
   union {
           DWORD dwOemId;
           struct {
                   WORD wProcessorArchitecture;
                   WORD wReserved;
           };
   };
   DWORD dwPageSize;
   LPVOID lpMinimumApplicationAddress;
   LPVOID lpMaximumApplicationAddress;
   DWORD_PTR dwActiveProcessorMask;
   DWORD dwNumberOfProcessors;
   DWORD dwProcessorType;
   DWORD dwAllocationGranularity;
   WORD wProcessorLevel;
   WORD wProcessorRevision;
  } SYSTEM_INFO;

  $Id: SystemInfo.java,v 1.3 2006/01/12 21:35:45 mdenty Exp $;


Field Summary
 int dwActiveProcessorMask
           
 int dwAllocationGranularity
           
 int dwNumberOfProcessors
           
 int dwPageSize
           
 int dwProcessorType
           
 int lpMaximumApplicationAddress
           
 int lpMinimumApplicationAddress
           
 short wProcessorArchitecture
           
 short wProcessorLevel
           
 short wProcessorRevision
           
 short wReserved
           
 
Constructor Summary
SystemInfo(Pointer lpSystemInfo)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

wProcessorArchitecture

public short wProcessorArchitecture

wReserved

public short wReserved

dwPageSize

public int dwPageSize

lpMinimumApplicationAddress

public int lpMinimumApplicationAddress

lpMaximumApplicationAddress

public int lpMaximumApplicationAddress

dwActiveProcessorMask

public int dwActiveProcessorMask

dwNumberOfProcessors

public int dwNumberOfProcessors

dwProcessorType

public int dwProcessorType

dwAllocationGranularity

public int dwAllocationGranularity

wProcessorLevel

public short wProcessorLevel

wProcessorRevision

public short wProcessorRevision
Constructor Detail

SystemInfo

public SystemInfo(Pointer lpSystemInfo)
           throws NativeException
Throws:
NativeException
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

JNative project : see http://jnative.sf.net