Type SYSTEM_INFO ' 36 Bytes
dwOemID As Long
dwPageSize As Long
lpMinimumApplicationAddress As Long
lpMaximumApplicationAddress As Long
dwActiveProcessorMask As Long
dwNumberOrfProcessors As Long
dwProcessorType As Long
dwAllocationGranularity As Long
wProcessorLevel As Integer
wProcessorRevision As Integer
End Type
Declare Sub GetSystemInfo Lib "kernel32" (lpSystemInfo As SYSTEM_INFO)
Public Sub ShowSystemInfo()
Dim myInfo As SYSTEM_INFO
GetSystemInfo (myInfo)
With myInfo
MsgBox .dwOemID & vbNewLine & _
.dwPageSize & vbNewLine & _
.lpMaximumApplicationAddress & vbNewLine & _
.lpMinimumApplicationAddress & vbNewLine & _
.dwActiveProcessorMask & vbNewLine & _
.dwNumberOrfProcessors & vbNewLine & _
.dwProcessorType & vbNewLine & _
.wProcessorLevel & vbNewLine & _
.wProcessorRevision
End With
End Sub