psapi: Forward EmptyWorkingSet implementation to kernel32.
This commit is contained in:
parent
766eb46a0f
commit
25023c1302
|
@ -767,6 +767,7 @@
|
|||
@ stdcall IsValidLocale(long long)
|
||||
# @ stub IsValidUILanguage
|
||||
@ stdcall IsWow64Process(ptr ptr)
|
||||
@ stdcall K32EmptyWorkingSet(long)
|
||||
@ stdcall K32GetProcessImageFileNameA(long ptr long)
|
||||
@ stdcall K32GetProcessImageFileNameW(long ptr long)
|
||||
@ stdcall -i386 -private -register K32Thk1632Epilog() krnl386.exe16.K32Thk1632Epilog
|
||||
|
|
|
@ -3231,6 +3231,14 @@ BOOL WINAPI SetProcessWorkingSetSize(HANDLE hProcess, SIZE_T minset,
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* K32EmptyWorkingSet (KERNEL32.@)
|
||||
*/
|
||||
BOOL WINAPI K32EmptyWorkingSet(HANDLE hProcess)
|
||||
{
|
||||
return SetProcessWorkingSetSize(hProcess, (SIZE_T)-1, (SIZE_T)-1);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* GetProcessWorkingSetSize (KERNEL32.@)
|
||||
*/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@ stdcall EmptyWorkingSet(long)
|
||||
@ stdcall EmptyWorkingSet(long) kernel32.K32EmptyWorkingSet
|
||||
@ stdcall EnumDeviceDrivers(ptr long ptr)
|
||||
@ stdcall EnumPageFilesA(ptr ptr)
|
||||
@ stdcall EnumPageFilesW(ptr ptr)
|
||||
|
|
|
@ -147,14 +147,6 @@ static BOOL PSAPI_GetLdrModule(HANDLE hProcess, HMODULE hModule,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* EmptyWorkingSet (PSAPI.@)
|
||||
*/
|
||||
BOOL WINAPI EmptyWorkingSet(HANDLE hProcess)
|
||||
{
|
||||
return SetProcessWorkingSetSize(hProcess, 0xFFFFFFFF, 0xFFFFFFFF);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* EnumDeviceDrivers (PSAPI.@)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue