Commit 8fae94c5 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

kernel32: Implement GetMaximumProcessorCount.

parent 30559743
...@@ -329,6 +329,21 @@ DWORD WINAPI GetActiveProcessorCount(WORD group) ...@@ -329,6 +329,21 @@ DWORD WINAPI GetActiveProcessorCount(WORD group)
} }
/*********************************************************************** /***********************************************************************
* 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.@)
*/ */
DWORD64 WINAPI GetEnabledXStateFeatures(void) DWORD64 WINAPI GetEnabledXStateFeatures(void)
......
...@@ -715,7 +715,7 @@ ...@@ -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)
......
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