* include/winbase.h (MEMORYSTATUSEX): Add structure.

(GlobalMemoryStatusEx): Add prototype.
	* lib/kernel32.def (GlobalMemoryStatusEx): Add stub.
This commit is contained in:
Danny Smith 2003-02-22 10:16:22 +00:00
parent ab664f2d53
commit dffcc5d324
3 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2003-02-22 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (MEMORYSTATUSEX): Add structure.
(GlobalMemoryStatusEx): Add prototype.
* lib/kernel32.def (GlobalMemoryStatusEx): Add stub.
2003-02-17 Vaclav Haisman <V.Haisman@sh.cvut.cz>
* include/winioctl.h (FSCTL_SET_SPARSE): Define.

View File

@ -859,6 +859,19 @@ typedef struct _MEMORYSTATUS {
DWORD dwTotalVirtual;
DWORD dwAvailVirtual;
} MEMORYSTATUS,*LPMEMORYSTATUS;
#if (_WIN32_WINNT >= 0x0500)
typedef struct _MEMORYSTATUSEX {
DWORD dwLength;
DWORD dwMemoryLoad;
DWORDLONG ullTotalPhys;
DWORDLONG ullAvailPhys;
DWORDLONG ullTotalPageFile;
DWORDLONG ullAvailPageFile;
DWORDLONG ullTotalVirtual;
DWORDLONG ullAvailVirtual;
DWORDLONG ullAvailExtendedVirtual;
} MEMORYSTATUSEX, *LPMEMORYSTATUSEX;
#endif
typedef struct _LDT_ENTRY {
WORD LimitLow;
WORD BaseLow;
@ -1293,6 +1306,9 @@ UINT WINAPI GlobalGetAtomNameW(ATOM,LPWSTR,int);
HGLOBAL WINAPI GlobalHandle(PCVOID);
LPVOID WINAPI GlobalLock(HGLOBAL);
VOID WINAPI GlobalMemoryStatus(LPMEMORYSTATUS);
#if (_WIN32_WINNT >= 0x0500)
BOOL WINAPI GlobalMemoryStatusEx(LPMEMORYSTATUSEX);
#endif
HGLOBAL WINAPI GlobalReAlloc(HGLOBAL,DWORD,UINT);
DWORD WINAPI GlobalSize(HGLOBAL);
VOID WINAPI GlobalUnfix(HGLOBAL);

View File

@ -406,6 +406,7 @@ GlobalGetAtomNameW@12
GlobalHandle@4
GlobalLock@4
GlobalMemoryStatus@4
GlobalMemoryStatusEx@4
GlobalMemoryStatusVlm@4
GlobalReAlloc@12
GlobalSize@4