Austin English : ntdll: Add a stub for NtQuerySystemEnvironmentValue.
Alexandre Julliard
julliard at winehq.org
Thu Oct 8 08:57:15 CDT 2009
Module: wine
Branch: master
Commit: 93aa9ebceaf4e9681568d0a21b322f07ab734559
URL: http://source.winehq.org/git/wine.git/?a=commit;h=93aa9ebceaf4e9681568d0a21b322f07ab734559
Author: Austin English <austinenglish at gmail.com>
Date: Sat Oct 3 15:41:03 2009 -0500
ntdll: Add a stub for NtQuerySystemEnvironmentValue.
---
dlls/ntdll/env.c | 13 +++++++++++++
dlls/ntdll/ntdll.spec | 2 +-
2 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/env.c b/dlls/ntdll/env.c
index 5ac3543..91ad6bc 100644
--- a/dlls/ntdll/env.c
+++ b/dlls/ntdll/env.c
@@ -30,10 +30,23 @@
#include "wine/unicode.h"
#include "wine/debug.h"
#include "ntdll_misc.h"
+#include "winnt.h"
WINE_DEFAULT_DEBUG_CHANNEL(environ);
/******************************************************************************
+ * NtQuerySystemEnvironmentValue [NTDLL.@]
+ */
+NTSYSAPI NTSTATUS WINAPI NtQuerySystemEnvironmentValue(PUNICODE_STRING VariableName,
+ PWCHAR Value,
+ ULONG ValueBufferLength,
+ PULONG RequiredLength)
+{
+ FIXME("stub!\n");
+ return STATUS_NOT_IMPLEMENTED;
+}
+
+/******************************************************************************
* RtlCreateEnvironment [NTDLL.@]
*/
NTSTATUS WINAPI RtlCreateEnvironment(BOOLEAN inherit, PWSTR* env)
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
index dade90a..8787611 100644
--- a/dlls/ntdll/ntdll.spec
+++ b/dlls/ntdll/ntdll.spec
@@ -264,7 +264,7 @@
@ stdcall NtQuerySecurityObject (long long long long long)
@ stdcall NtQuerySemaphore (long long ptr long ptr)
@ stdcall NtQuerySymbolicLinkObject(long ptr ptr)
-@ stub NtQuerySystemEnvironmentValue
+@ stdcall NtQuerySystemEnvironmentValue(ptr ptr long ptr)
# @ stub NtQuerySystemEnvironmentValueEx
@ stdcall NtQuerySystemInformation(long long long long)
@ stdcall NtQuerySystemTime(ptr)
More information about the wine-cvs
mailing list