mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:15:52 +00:00
[TASKMGR] Distinguish WOW64 processes with a " *32" in the image name (#7915)
This commit is contained in:
parent
73b019a390
commit
4cbd5d1b44
2 changed files with 7 additions and 1 deletions
|
@ -176,6 +176,7 @@ void PerfDataRefresh(void)
|
|||
PSID ProcessUser;
|
||||
ULONG Buffer[64]; /* must be 4 bytes aligned! */
|
||||
ULONG cwcUserName;
|
||||
BOOL bIsWow64;
|
||||
|
||||
/* Get new system time */
|
||||
status = NtQuerySystemInformation(SystemTimeOfDayInformation, &SysTimeInfo, sizeof(SysTimeInfo), NULL);
|
||||
|
@ -389,6 +390,11 @@ ReadProcOwner:
|
|||
pPerfData[Idx].GDIObjectCount = GetGuiResources(hProcess, GR_GDIOBJECTS);
|
||||
}
|
||||
|
||||
if (IsWow64Process(hProcess, &bIsWow64) && bIsWow64)
|
||||
{
|
||||
wcscat(pPerfData[Idx].ImageName, L" *32");
|
||||
}
|
||||
|
||||
GetProcessIoCounters(hProcess, &pPerfData[Idx].IOCounters);
|
||||
CloseHandle(hProcess);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue