ntoskrnl.exe: Implement KeQueryActiveProcessorCount.

This commit is contained in:
Etaash Mathamsetty 2022-10-29 00:15:47 -04:00 committed by Alexandre Julliard
parent 38577522ea
commit 22e9093c80
2 changed files with 11 additions and 0 deletions

View file

@ -2602,6 +2602,16 @@ ULONG WINAPI KeQueryActiveProcessorCountEx(USHORT group_number)
return GetActiveProcessorCount(group_number);
}
ULONG WINAPI KeQueryActiveProcessorCount(PKAFFINITY active_processors)
{
TRACE("active_processors %p.\n", active_processors);
if(active_processors)
*active_processors = KeQueryActiveProcessors();
return KeQueryActiveProcessorCountEx(ALL_PROCESSOR_GROUPS);
}
/**********************************************************************
* KeQueryInterruptTime (NTOSKRNL.EXE.@)
*

View file

@ -600,6 +600,7 @@
@ stub KePulseEvent
@ stdcall KeQueryActiveProcessors()
@ stdcall KeQueryActiveProcessorCountEx(long)
@ stdcall KeQueryActiveProcessorCount(ptr)
@ stdcall KeQueryActiveGroupCount() GetActiveProcessorGroupCount
@ stdcall KeQueryInterruptTime()
@ stdcall KeQueryPriorityThread(ptr)