print percentage character for the memory load in debug message (GlobalMemoryStatusEx). Suggested by WaxDragon

svn path=/trunk/; revision=16959
This commit is contained in:
Thomas Bluemel 2005-08-01 16:28:11 +00:00
parent e466431f36
commit 0c3b9e8545

View file

@ -409,7 +409,7 @@ GlobalMemoryStatusEx(LPMEMORYSTATUSEX lpBuffer)
SysPerfInfo.AvailablePages) * 100 / SysPerfInfo.AvailablePages) * 100 /
SysBasicInfo.NumberOfPhysicalPages; SysBasicInfo.NumberOfPhysicalPages;
DPRINT1("Memory Load: %d\n",lpBuffer->dwMemoryLoad ); DPRINT1("Memory Load: %d%%\n",lpBuffer->dwMemoryLoad );
lpBuffer->ullTotalPhys = SysBasicInfo.NumberOfPhysicalPages * lpBuffer->ullTotalPhys = SysBasicInfo.NumberOfPhysicalPages *
SysBasicInfo.PageSize; SysBasicInfo.PageSize;