Skip to content
Snippets Groups Projects
Commit 08ea8280 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard
Browse files

ntdll: Don't report false memory statistics for other processes.

parent a878f0a0
Branches
Tags
No related merge requests found
......@@ -271,7 +271,10 @@ NTSTATUS WINAPI NtQueryInformationProcess(
else
{
memset(&pvmi, 0 , sizeof(VM_COUNTERS));
fill_VM_COUNTERS(&pvmi);
if (ProcessHandle == GetCurrentProcess())
fill_VM_COUNTERS(&pvmi);
else
FIXME("Need wineserver call to get VM counters for another process\n");
len = ProcessInformationLength;
if (len != FIELD_OFFSET(VM_COUNTERS,PrivatePageCount)) len = sizeof(VM_COUNTERS);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment