* autoload.cc (GetProcessMemoryInfo): Remove.

* resource.cc (fill_rusage): Call NtQueryInformationProcess rather than
	GetProcessMemoryInfo to drop a psapi dependency.
This commit is contained in:
Corinna Vinschen
2011-05-11 09:07:20 +00:00
parent 933d2af50d
commit 34a6eeabff
3 changed files with 14 additions and 8 deletions

View File

@ -417,7 +417,6 @@ LoadDLLfunc (CoTaskMemFree, 4, ole32)
LoadDLLfunc (EnumProcessModules, 16, psapi)
LoadDLLfunc (GetModuleFileNameExW, 16, psapi)
LoadDLLfunc (GetModuleInformation, 16, psapi)
LoadDLLfunc (GetProcessMemoryInfo, 12, psapi)
LoadDLLfunc (QueryWorkingSet, 12, psapi)
LoadDLLfunc (LsaDeregisterLogonProcess, 4, secur32)