Desktop Functions: Smart Device Functions:
|
GlobalMemoryStatus (kernel32)
C# Signature:
[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)] User-Defined Types:None. Notes:None. Tips & Tricks:Please add some! Sample Code:private MEMORYSTATUS memoryInfo = new MEMORYSTATUS(); bool returnValue = GlobalMemoryStatus(ref memoryInfo); ulong totalVirtualMemory = memoryInfo.dwTotalVirtual; ulong availablePhysicalMemory = memoryInfo.dwAvailPhys; ulong availableVirtualMemory = memoryInfo.dwAvailVirtual; ulong totalPhysicalMemory = memoryInfo.dwTotalPhys; Alternative Managed API:Do you know one? Please contribute it! Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|