forked from Mirrors/wine-wine
ntdll: Fill ActiveGroupCount field in _KUSER_SHARED_DATA.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>feature/deterministic
parent
1306bd941b
commit
ca56ef6739
|
@ -531,6 +531,9 @@ static void test_user_shared_data(void)
|
|||
ok(user_shared_data->ActiveProcessorCount == NtCurrentTeb()->Peb->NumberOfProcessors
|
||||
|| broken(!user_shared_data->ActiveProcessorCount) /* before Win7 */,
|
||||
"Got unexpected ActiveProcessorCount %u.\n", user_shared_data->ActiveProcessorCount);
|
||||
ok(user_shared_data->ActiveGroupCount == 1
|
||||
|| broken(!user_shared_data->ActiveGroupCount) /* before Win7 */,
|
||||
"Got unexpected ActiveGroupCount %u.\n", user_shared_data->ActiveGroupCount);
|
||||
}
|
||||
|
||||
START_TEST(virtual)
|
||||
|
|
|
@ -239,6 +239,7 @@ static void fill_user_shared_data( struct _KUSER_SHARED_DATA *data )
|
|||
break;
|
||||
}
|
||||
data->ActiveProcessorCount = NtCurrentTeb()->Peb->NumberOfProcessors;
|
||||
data->ActiveGroupCount = 1;
|
||||
}
|
||||
|
||||
HANDLE user_shared_data_init_done(void)
|
||||
|
|
Loading…
Reference in New Issue