ntoskrnl.exe: Fix KeQueryActiveProcessors() function.

Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Paul Gofman 2020-05-26 13:05:06 +03:00 committed by Alexandre Julliard
parent c7760ce7a2
commit 25f4da665d
1 changed files with 3 additions and 3 deletions

View File

@ -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)