mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-25 09:26:23 +00:00
kernel32: Add GetActiveProcessorCount stub.
Signed-off-by: Austin English <austinenglish@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
360e9544bf
commit
66b37c556c
|
@ -312,3 +312,18 @@ WORD WINAPI GetActiveProcessorGroupCount(void)
|
|||
FIXME("semi-stub, always returning 1\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* GetActiveProcessorCount (KERNEL32.@)
|
||||
*/
|
||||
DWORD WINAPI GetActiveProcessorCount(WORD group)
|
||||
{
|
||||
SYSTEM_INFO si;
|
||||
DWORD cpus;
|
||||
|
||||
GetSystemInfo( &si );
|
||||
cpus = si.dwNumberOfProcessors;
|
||||
|
||||
FIXME("semi-stub, returning %u\n", cpus);
|
||||
return cpus;
|
||||
}
|
||||
|
|
|
@ -540,7 +540,7 @@
|
|||
@ stdcall GenerateConsoleCtrlEvent(long long)
|
||||
@ stdcall -i386 -private Get16DLLAddress(long str) krnl386.exe16.Get16DLLAddress
|
||||
@ stdcall GetACP()
|
||||
# @ stub GetActiveProcessorCount
|
||||
@ stdcall GetActiveProcessorCount(long)
|
||||
@ stdcall GetActiveProcessorGroupCount()
|
||||
# @ stub GetApplicationRecoveryCallback
|
||||
# @ stub GetApplicationRestartSettings
|
||||
|
|
Loading…
Reference in a new issue