"Detlef Riekenberg" wine.dev@web.de wrote:
+KAFFINITY WINAPI KeQueryActiveProcessors( void ) +{
- DWORD_PTR AffinityMask;
- if (GetProcessAffinityMask( GetCurrentProcess(), &AffinityMask, NULL)) {
return AffinityMask;
- }
- /* No Idea, what to do, when GetProcessAffinityMask fail.
We use the first Processor */
- return 1;
+}
GetProcessAffinityMask() should never fail for the current process, so there is no need to add bogus code for that case.