ntoskrnl.exe: Implement KeQueryActiveProcessors.

This commit is contained in:
Detlef Riekenberg 2008-04-07 21:10:12 +02:00 committed by Alexandre Julliard
parent f4d9c09dd4
commit ee4a996963
2 changed files with 19 additions and 1 deletions

View file

@ -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.@)
*/

View file

@ -569,7 +569,7 @@
@ stub KeProfileInterrupt
@ stub KeProfileInterruptWithSource
@ stub KePulseEvent
@ stub KeQueryActiveProcessors
@ stdcall KeQueryActiveProcessors()
@ stub KeQueryInterruptTime
@ stub KeQueryPriorityThread
@ stub KeQueryRuntimeThread