Austin English : kernel32: Stub a few of the numa functions.

Alexandre Julliard julliard at winehq.org
Tue Jun 28 17:25:14 CDT 2011


Module: wine
Branch: master
Commit: 1344aec6420c05799839b24ce6891b2d0977245f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1344aec6420c05799839b24ce6891b2d0977245f

Author: Austin English <austinenglish at gmail.com>
Date:   Thu Jun 23 04:09:57 2011 -0500

kernel32: Stub a few of the numa functions.

---

 dlls/kernel32/kernel32.spec |    6 +++---
 dlls/kernel32/process.c     |   30 ++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 3 deletions(-)

diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index 8e2a5dd..f08ddea 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -568,9 +568,9 @@
 @ stub GetNextVDMCommand
 @ stub GetNlsSectionName
 # @ stub GetNumaAvailableMemory
-# @ stub GetNumaAvailableMemoryNode
-# @ stub GetNumaHighestNodeNumber
-# @ stub GetNumaNodeProcessorMask
+@ stdcall GetNumaAvailableMemoryNode(long ptr)
+@ stdcall GetNumaHighestNodeNumber(ptr)
+@ stdcall GetNumaNodeProcessorMask(long ptr)
 # @ stub GetNumaProcessorMap
 # @ stub GetNumaProcessorNode
 @ stdcall GetNumberFormatA(long long str ptr ptr long)
diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
index f3504af..9bc5070 100644
--- a/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -3783,3 +3783,33 @@ HRESULT WINAPI RegisterApplicationRecoveryCallback(APPLICATION_RECOVERY_CALLBACK
     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     return E_FAIL;
 }
+
+/**********************************************************************
+ *           GetNumaHighestNodeNumber     (KERNEL32.@)
+ */
+BOOL WINAPI GetNumaHighestNodeNumber(PULONG highestnode)
+{
+    FIXME("(%p): stub\n", highestnode);
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return FALSE;
+}
+
+/**********************************************************************
+ *           GetNumaNodeProcessorMask     (KERNEL32.@)
+ */
+BOOL WINAPI GetNumaNodeProcessorMask(UCHAR node, PULONGLONG mask)
+{
+    FIXME("(%c %p): stub\n", node, mask);
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return FALSE;
+}
+
+/**********************************************************************
+ *           GetNumaAvailableMemoryNode     (KERNEL32.@)
+ */
+BOOL WINAPI GetNumaAvailableMemoryNode(UCHAR node, PULONGLONG available_bytes)
+{
+    FIXME("(%c %p): stub\n", node, available_bytes);
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return FALSE;
+}




More information about the wine-cvs mailing list