kernel32: Implement GetMaximumProcessorCount.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45961 Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
305597439b
commit
8fae94c57a
|
@ -328,6 +328,21 @@ DWORD WINAPI GetActiveProcessorCount(WORD group)
|
||||||
return cpus;
|
return cpus;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* GetMaximumProcessorCount (KERNEL32.@)
|
||||||
|
*/
|
||||||
|
DWORD WINAPI GetMaximumProcessorCount(WORD group)
|
||||||
|
{
|
||||||
|
SYSTEM_INFO si;
|
||||||
|
DWORD cpus;
|
||||||
|
|
||||||
|
GetSystemInfo( &si );
|
||||||
|
cpus = si.dwNumberOfProcessors;
|
||||||
|
|
||||||
|
FIXME("semi-stub, returning %u\n", cpus);
|
||||||
|
return cpus;
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* GetEnabledXStateFeatures (KERNEL32.@)
|
* GetEnabledXStateFeatures (KERNEL32.@)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -715,7 +715,7 @@
|
||||||
# @ stub GetLongPathNameTransactedW
|
# @ stub GetLongPathNameTransactedW
|
||||||
@ stdcall GetLongPathNameW (wstr long long)
|
@ stdcall GetLongPathNameW (wstr long long)
|
||||||
@ stdcall GetMailslotInfo(long ptr ptr ptr ptr)
|
@ stdcall GetMailslotInfo(long ptr ptr ptr ptr)
|
||||||
# @ stub GetMaximumProcessorCount
|
@ stdcall GetMaximumProcessorCount(long)
|
||||||
# @ stub GetMaximumProcessorGroupCount
|
# @ stub GetMaximumProcessorGroupCount
|
||||||
@ stdcall GetModuleFileNameA(long ptr long)
|
@ stdcall GetModuleFileNameA(long ptr long)
|
||||||
@ stdcall GetModuleFileNameW(long ptr long)
|
@ stdcall GetModuleFileNameW(long ptr long)
|
||||||
|
|
Loading…
Reference in New Issue