psapi: GetWsChanges() calls down to the wrong ntdll function. Found by sparse.
This commit is contained in:
parent
9e4883e2b8
commit
42be36f61b
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue