psapi: Forward EmptyWorkingSet implementation to kernel32
jacek at codeweavers.com
Tue Apr 19 07:20:52 CDT 2011
On 4/19/11 2:14 PM, Dmitry Timoshkov wrote:
> Jacek Caban<jacek at codeweavers.com> wrote:
>> +BOOL WINAPI K32EmptyWorkingSet(HANDLE hProcess)
>> + return SetProcessWorkingSetSize(hProcess, (SIZE_T)-1, (SIZE_T)-1);
> You need to export it from kernel32.
Right, I've missed that part, thanks.
> Also using ~0 instead of casting -1 would be better IMHO.
That's what's used in kernel32 a few lines earlier, so I chose it for
More information about the wine-devel