Robert Reif : kernel32: Add GetNativeSystemInfo.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Aug 16 06:15:55 CDT 2006


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

Author: Robert Reif <reif at earthlink.net>
Date:   Tue Aug 15 18:49:06 2006 -0400

kernel32: Add GetNativeSystemInfo.

---

 dlls/kernel/cpu.c         |   10 ++++++++++
 dlls/kernel/kernel32.spec |    2 +-
 include/winbase.h         |    1 +
 3 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel/cpu.c b/dlls/kernel/cpu.c
index b077ad6..eaeac6e 100644
--- a/dlls/kernel/cpu.c
+++ b/dlls/kernel/cpu.c
@@ -779,6 +779,16 @@ #endif
 
 
 /***********************************************************************
+ * 			GetNativeSystemInfo            	[KERNEL32.@]
+ */
+VOID WINAPI GetNativeSystemInfo(
+    LPSYSTEM_INFO si	/* [out] Destination for system information, may not be NULL */)
+{
+    FIXME("(%p) using GetSystemInfo()\n", si);
+    GetSystemInfo(si); 
+}
+
+/***********************************************************************
  * 			IsProcessorFeaturePresent	[KERNEL32.@]
  *
  * Determine if the cpu supports a given feature.
diff --git a/dlls/kernel/kernel32.spec b/dlls/kernel/kernel32.spec
index f3e4dcb..09cfc8b 100644
--- a/dlls/kernel/kernel32.spec
+++ b/dlls/kernel/kernel32.spec
@@ -546,7 +546,7 @@ # @ stub GetFirmwareEnvironmentVariableW
 @ stdcall GetNamedPipeHandleStateA(long ptr ptr ptr ptr str long)
 @ stdcall GetNamedPipeHandleStateW(long ptr ptr ptr ptr wstr long)
 @ stdcall GetNamedPipeInfo(long ptr ptr ptr ptr)
-# @ stub GetNativeSystemInfo
+@ stdcall GetNativeSystemInfo(ptr)
 @ stub GetNextVDMCommand
 @ stub GetNlsSectionName
 # @ stub GetNumaAvailableMemory
diff --git a/include/winbase.h b/include/winbase.h
index f2165d4..086d194 100644
--- a/include/winbase.h
+++ b/include/winbase.h
@@ -1581,6 +1581,7 @@ BOOL        WINAPI GetNamedPipeHandleSta
 BOOL        WINAPI GetNamedPipeHandleStateW(HANDLE,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPWSTR,DWORD);
 #define     GetNamedPipeHandleState WINELIB_NAME_AW(GetNamedPipeHandleState)
 BOOL        WINAPI GetNamedPipeInfo(HANDLE,LPDWORD,LPDWORD,LPDWORD,LPDWORD);
+VOID        WINAPI GetNativeSystemInfo(LPSYSTEM_INFO);
 BOOL        WINAPI GetNumberOfEventLogRecords(HANDLE,PDWORD);
 BOOL        WINAPI GetOldestEventLogRecord(HANDLE,PDWORD);
 BOOL        WINAPI GetOverlappedResult(HANDLE,LPOVERLAPPED,LPDWORD,BOOL);




More information about the wine-cvs mailing list