FZ_FormBase.GetMemoryInfo
Gets memory information
Public Shared Function GetMemoryInfo( _
ByVal kind As MemoryInfoKind _
) As Integer
Parameters
kind
|
Type of memory information to be gotten
|
Input
|
Table: GetMemoryInfo - Parameters
Character String
|
Description
|
StandardTotal
|
Entire memory size which OS has recognized
|
StandardAvailable
|
Available memory size which OS has recognized
|
ExtendedTotal
|
Extended memory entire size
|
ExtendedAvailable
|
Extended memory available size
|
VirrualTotal
|
CoreRA process memory entire size
|
VirrualAvailable
|
CoreRA process memory available size
|
ProcUnitTotal
|
Processing unit data entire size
|
ProcUnitAvailable
|
Processing unit data available size
|
Return Value
Returns the specified memory information.
Description
Gets the specified memory information.
Example
Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
Dim memInfo As Integer
' Gets a processing unit data available size
memInfo = GetMemoryInfo(MemoryInfoKind.ProcUnitAvailable)
End Sub