mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 02:34:53 +00:00
- Include a "System Idle Process" as the first item in QSI SystemProcessInformation.
svn path=/trunk/; revision=34635
This commit is contained in:
parent
ee13626507
commit
4e663a7c28
|
@ -717,7 +717,7 @@ QSI_DEF(SystemProcessInformation)
|
|||
}
|
||||
RtlZeroMemory(Spi, Size);
|
||||
|
||||
syspr = PsGetNextProcess(NULL);
|
||||
syspr = PsIdleProcess;
|
||||
pr = syspr;
|
||||
pCur = (unsigned char *)Spi;
|
||||
|
||||
|
@ -813,6 +813,9 @@ QSI_DEF(SystemProcessInformation)
|
|||
current_entry = current_entry->Flink;
|
||||
}
|
||||
|
||||
/* Handle idle process entry */
|
||||
if (pr == PsIdleProcess) pr = NULL;
|
||||
|
||||
pr = PsGetNextProcess(pr);
|
||||
nThreads = 0;
|
||||
if ((pr == syspr) || (pr == NULL))
|
||||
|
|
Loading…
Reference in a new issue