Hi
I need to change limits at some working sets in a server. For that, I found SetProcessWorkingSetSizeEx as the function to be used. -> http://msdn.microsoft.com/en-us/library/windows/desktop/ms686234(v=vs.85).aspx
At help I found _WinAPI_EmptyWorkingSet -> at include files (WinAPIProc.au3) I found a dll call to kernel 32. But this call has just 1 parameter:
(DllCall('kernel32.dll', 'handle', 'OpenProcess', 'dword', __Iif($__WINVER < 0x0600, 0x00000500, 0x00001100), 'bool', 0, 'dword', $iPID))
(DllCall(@SystemDir & 'psapi.dll', 'bool', 'EmptyWorkingSet', 'handle', $hProcess[0]))
And, for SetProcessWorkingSetSizeEx there are 3 (or 4) parameters.
I have no idea on how to call kernel32 with these 3/4 parameters....
Any help?
Thanks
Jose