ntdll: add a stub for NtQuerySystemEnvironmentValue (try 2)
Austin English
austinenglish at gmail.com
Sat Oct 3 15:41:03 CDT 2009
With correct spec file this time (Thanks Andrey).
Fixes bug 20001.
--
-Austin
-------------- next part --------------
diff --git a/dlls/ntdll/env.c b/dlls/ntdll/env.c
index 5ac3543..82b8041 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-patches
mailing list