From c1f52e001309d0a27f1e9fa7f195e257c42634ed Mon Sep 17 00:00:00 2001 From: "H. Verbeet" Date: Fri, 20 Jan 2006 19:41:04 +0100 Subject: [PATCH] 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 5d40c4c5ca1..6b6cccf42a8 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 433ca6edf01..eb0ec0c9309 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 -- 2.11.4.GIT