H. Verbeet : ntdll: Add a stubbed NtSetSystemInformation.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jan 20 13:20:26 CST 2006


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

Author: H. Verbeet <hverbeet at gmail.com>
Date:   Fri Jan 20 19:41:04 2006 +0100

ntdll: Add a stubbed NtSetSystemInformation.

---

 dlls/ntdll/nt.c       |    9 +++++++++
 dlls/ntdll/ntdll.spec |    4 ++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c
index 5d40c4c..6b6cccf 100644
--- a/dlls/ntdll/nt.c
+++ b/dlls/ntdll/nt.c
@@ -904,6 +904,15 @@ NTSTATUS WINAPI NtQuerySystemInformation
     return ret;
 }
 
+/******************************************************************************
+ * NtSetSystemInformation [NTDLL.@]
+ * ZwSetSystemInformation [NTDLL.@]
+ */
+NTSTATUS WINAPI NtSetSystemInformation(SYSTEM_INFORMATION_CLASS SystemInformationClass, PVOID SystemInformation, ULONG Length)
+{
+    FIXME("(0x%08x,%p,0x%08lx) stub\n",SystemInformationClass,SystemInformation,Length);
+    return STATUS_SUCCESS;
+}
 
 /******************************************************************************
  *  NtCreatePagingFile		[NTDLL.@]
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
index 433ca6e..eb0ec0c 100644
--- a/dlls/ntdll/ntdll.spec
+++ b/dlls/ntdll/ntdll.spec
@@ -337,7 +337,7 @@
 @ stdcall NtSetSecurityObject(long long ptr)
 @ stub NtSetSystemEnvironmentValue
 # @ stub NtSetSystemEnvironmentValueEx
-@ stub NtSetSystemInformation
+@ stdcall NtSetSystemInformation(long ptr long)
 @ stub NtSetSystemPowerState
 @ stdcall NtSetSystemTime(ptr ptr)
 # @ stub NtSetThreadExecutionState
@@ -1179,7 +1179,7 @@
 @ stdcall ZwSetSecurityObject(long long ptr) NtSetSecurityObject
 @ stub ZwSetSystemEnvironmentValue
 # @ stub ZwSetSystemEnvironmentValueEx
-@ stub ZwSetSystemInformation
+@ stdcall ZwSetSystemInformation(long ptr long) NtSetSystemInformation
 @ stub ZwSetSystemPowerState
 @ stdcall ZwSetSystemTime(ptr ptr) NtSetSystemTime
 # @ stub ZwSetThreadExecutionState




More information about the wine-cvs mailing list