Jacek Caban <[email protected]> wrote: > +BOOL WINAPI K32EmptyWorkingSet(HANDLE hProcess) > +{ > + return SetProcessWorkingSetSize(hProcess, (SIZE_T)-1, (SIZE_T)-1); > +}
You need to export it from kernel32. Also using ~0 instead of casting -1 would be better IMHO. -- Dmitry.
