Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
66b37c55
Commit
66b37c55
authored
May 18, 2017
by
Austin English
Committed by
Alexandre Julliard
May 24, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Add GetActiveProcessorCount stub.
Signed-off-by:
Austin English
<
austinenglish@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
360e9544
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
cpu.c
dlls/kernel32/cpu.c
+15
-0
kernel32.spec
dlls/kernel32/kernel32.spec
+1
-1
No files found.
dlls/kernel32/cpu.c
View file @
66b37c55
...
...
@@ -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
;
}
dlls/kernel32/kernel32.spec
View file @
66b37c55
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment