From 42be36f61b8d012064970ebf1d5077d20ca87009 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Wed, 6 Jun 2007 01:08:46 +0200 Subject: [PATCH] psapi: GetWsChanges() calls down to the wrong ntdll function. Found by sparse. --- dlls/psapi/psapi_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/psapi/psapi_main.c b/dlls/psapi/psapi_main.c index cadc8769929..7b1588b18a8 100644 --- a/dlls/psapi/psapi_main.c +++ b/dlls/psapi/psapi_main.c @@ -561,7 +561,7 @@ BOOL WINAPI GetWsChanges( HANDLE process, PPSAPI_WS_WATCH_INFORMATION watchinfo, TRACE( "(%p, %p, %d)\n", process, watchinfo, size ); - status = NtQueryVirtualMemory( process, NULL, ProcessWorkingSetWatch, watchinfo, size, NULL ); + status = NtQueryInformationProcess( process, ProcessWorkingSetWatch, watchinfo, size, NULL ); if (status) {