ntoskrnl.exe: Implement KeQueryActiveProcessorCount.
This commit is contained in:
parent
38577522ea
commit
22e9093c80
2 changed files with 11 additions and 0 deletions
|
@ -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.@)
|
||||
*
|
||||
|
|
|
@ -600,6 +600,7 @@
|
|||
@ stub KePulseEvent
|
||||
@ stdcall KeQueryActiveProcessors()
|
||||
@ stdcall KeQueryActiveProcessorCountEx(long)
|
||||
@ stdcall KeQueryActiveProcessorCount(ptr)
|
||||
@ stdcall KeQueryActiveGroupCount() GetActiveProcessorGroupCount
|
||||
@ stdcall KeQueryInterruptTime()
|
||||
@ stdcall KeQueryPriorityThread(ptr)
|
||||
|
|
Loading…
Add table
Reference in a new issue