kernel32: Add GetNativeSystemInfo.
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 @@
/***********************************************************************
+ * 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 @@
@ 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 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);