ntoskrnl.exe: Implement KeQueryActiveProcessors.
This commit is contained in:
parent
f4d9c09dd4
commit
ee4a996963
|
@ -511,6 +511,24 @@ void WINAPI KeInitializeTimer( PKTIMER Timer )
|
|||
}
|
||||
|
||||
|
||||
/**********************************************************************
|
||||
* KeQueryActiveProcessors (NTOSKRNL.EXE.@)
|
||||
*
|
||||
* Return the active Processors as bitmask
|
||||
*
|
||||
* RETURNS
|
||||
* active Processors as bitmask
|
||||
*
|
||||
*/
|
||||
KAFFINITY WINAPI KeQueryActiveProcessors( void )
|
||||
{
|
||||
DWORD_PTR AffinityMask;
|
||||
|
||||
GetProcessAffinityMask( GetCurrentProcess(), &AffinityMask, NULL);
|
||||
return AffinityMask;
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* KeQuerySystemTime (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
|
|
|
@ -569,7 +569,7 @@
|
|||
@ stub KeProfileInterrupt
|
||||
@ stub KeProfileInterruptWithSource
|
||||
@ stub KePulseEvent
|
||||
@ stub KeQueryActiveProcessors
|
||||
@ stdcall KeQueryActiveProcessors()
|
||||
@ stub KeQueryInterruptTime
|
||||
@ stub KeQueryPriorityThread
|
||||
@ stub KeQueryRuntimeThread
|
||||
|
|
Loading…
Reference in New Issue