mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
- Return some reasonable values from GlobalMemoryStatusEx.
svn path=/trunk/; revision=9109
This commit is contained in:
parent
f6288bd6e9
commit
318d9e885e
1 changed files with 13 additions and 3 deletions
|
@ -1,8 +1,9 @@
|
|||
/* $Id: stubs.c,v 1.70 2004/03/18 18:29:19 weiden Exp $
|
||||
/* $Id: stubs.c,v 1.71 2004/04/12 17:09:36 navaraf Exp $
|
||||
*
|
||||
* KERNEL32.DLL stubs (unimplemented functions)
|
||||
* Remove from this file, if you implement them.
|
||||
*/
|
||||
|
||||
#include <k32.h>
|
||||
|
||||
//#define _OLE2NLS_IN_BUILD_
|
||||
|
@ -1026,8 +1027,17 @@ GlobalMemoryStatusEx(
|
|||
LPMEMORYSTATUSEX lpBuffer
|
||||
)
|
||||
{
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return 0;
|
||||
DPRINT1("GlobalMemoryStatusEx is unimplmented\n");
|
||||
lpBuffer->dwLength = sizeof(MEMORYSTATUSEX);
|
||||
lpBuffer->dwMemoryLoad = 0;
|
||||
lpBuffer->ullTotalPhys = 32*1024*1024;
|
||||
lpBuffer->ullAvailPhys = 32*1024*1024;
|
||||
lpBuffer->ullTotalPageFile = 32*1024*1024;
|
||||
lpBuffer->ullAvailPageFile = 32*1024*1024;
|
||||
lpBuffer->ullTotalVirtual = 32*1024*1024;
|
||||
lpBuffer->ullAvailVirtual = 32*1024*1024;
|
||||
lpBuffer->ullAvailExtendedVirtual = 0;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue