kernel32: add GetNativeSystemInfo (resend)

Robert Reif reif at earthlink.net
Tue Aug 15 17:49:06 CDT 2006


-------------- next part --------------
diff -p -u -r1.20 cpu.c
--- dlls/kernel/cpu.c	19 Jun 2006 08:36:51 -0000	1.20
+++ dlls/kernel/cpu.c	15 Aug 2006 22:46:36 -0000
@@ -779,6 +779,16 @@ VOID WINAPI GetSystemInfo(
 
 
 /***********************************************************************
+ * 			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 -p -u -r1.176 kernel32.spec
--- dlls/kernel/kernel32.spec	11 Aug 2006 18:39:02 -0000	1.176
+++ dlls/kernel/kernel32.spec	15 Aug 2006 22:46:37 -0000
@@ -546,7 +546,7 @@
 @ 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 -p -u -r1.261 winbase.h
--- include/winbase.h	11 Aug 2006 18:39:02 -0000	1.261
+++ include/winbase.h	15 Aug 2006 22:46:43 -0000
@@ -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-patches mailing list