[PATCH 1/3] kernel32: add GetActiveProcessorGroupCount stub
Austin English
austinenglish at gmail.com
Thu May 18 23:15:28 CDT 2017
Signed-off-by: Austin English <austinenglish at gmail.com>
---
dlls/kernel32/cpu.c | 9 +++++++++
dlls/kernel32/kernel32.spec | 2 +-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/dlls/kernel32/cpu.c b/dlls/kernel32/cpu.c
index 756d8f94ab..bccbfa92aa 100644
--- a/dlls/kernel32/cpu.c
+++ b/dlls/kernel32/cpu.c
@@ -303,3 +303,12 @@ SIZE_T WINAPI GetLargePageMinimum(void)
FIXME("Not implemented on your platform/architecture.\n");
return 0;
}
+
+/***********************************************************************
+ * GetActiveProcessorGroupCount (KERNEL32.@)
+ */
+WORD WINAPI GetActiveProcessorGroupCount(void)
+{
+ FIXME("semi-stub, always returning 1\n");
+ return 1;
+}
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index 5ef7cb8172..997e47a6c6 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -541,7 +541,7 @@
@ stdcall -i386 -private Get16DLLAddress(long str) krnl386.exe16.Get16DLLAddress
@ stdcall GetACP()
# @ stub GetActiveProcessorCount
-# @ stub GetActiveProcessorGroupCount
+@ stdcall GetActiveProcessorGroupCount()
# @ stub GetApplicationRecoveryCallback
# @ stub GetApplicationRestartSettings
@ stdcall GetAtomNameA(long ptr long)
--
2.13.0
More information about the wine-patches
mailing list