private struct MEMORYSTATUSEX
{
public int Length;
public int MemoryLoad;
public UInt32 TotalPhysical;
public UInt32 AvailablePhysical;
public UInt32 TotalPageFile;
public UInt32 AvailablePageFile;
public UInt32 TotalVirtual;
public UInt32 AvailableVirtual;
public UInt32 AvailableExtendedVirtual;
}
Structure MEMORYSTATUSEX
Public TODO
End Structure
None.
Length must be filled in before calling the GlobalMemoryStatusEx method, using Marshal.Sizeof() method