mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- Include a "System Idle Process" as the first item in QSI SystemProcessInformation.
svn path=/trunk/; revision=34635
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user