From 1f0191e5425474567dc786c14d84a59df597855f Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 21 Oct 2001 23:44:43 +0000 Subject: * autoload.cc: Autoload GetProcessMemoryInfo. * resource.cc (fill_rusage): Calculate ru_maxrss and ru_majflt entries. (Bug report on this from Guido Serassio in the squid project). This requires including psapi.h. --- winsup/cygwin/autoload.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'winsup/cygwin/autoload.cc') diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index 259e3b4cd..c5fcdaf55 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -381,6 +381,8 @@ LoadDLLfuncEx (RtlInitUnicodeString, 8, ntdll, 1) LoadDLLfuncEx (RtlNtStatusToDosError, 4, ntdll, 1) LoadDLLfuncEx (ZwQuerySystemInformation, 16, ntdll, 1) +LoadDLLfuncEx (GetProcessMemoryInfo, 12, psapi, 1) + LoadDLLfuncEx (LsaDeregisterLogonProcess, 4, secur32, 1) LoadDLLfuncEx (LsaFreeReturnBuffer, 4, secur32, 1) LoadDLLfuncEx (LsaLogonUser, 56, secur32, 1) -- cgit v1.2.3