Commit 25f4da66 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

ntoskrnl.exe: Fix KeQueryActiveProcessors() function.

parent c7760ce7
......@@ -2379,10 +2379,10 @@ LONG WINAPI KeInsertQueue(PRKQUEUE Queue, PLIST_ENTRY Entry)
*/
KAFFINITY WINAPI KeQueryActiveProcessors( void )
{
DWORD_PTR AffinityMask;
DWORD_PTR affinity_mask;
GetProcessAffinityMask( GetCurrentProcess(), &AffinityMask, NULL);
return AffinityMask;
GetProcessAffinityMask( GetCurrentProcess(), NULL, &affinity_mask);
return affinity_mask;
}
ULONG WINAPI KeQueryActiveProcessorCountEx(USHORT group_number)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment