ntdll: add a stub for NtQuerySystemEnvironmentValue
Austin English
austinenglish at gmail.com
Thu Sep 10 11:47:37 CDT 2009
Fixes bug 20001
--
-Austin
-------------- next part --------------
diff --git a/dlls/ntdll/env.c b/dlls/ntdll/env.c
old mode 100644
new mode 100755
index 5ac3543..82b8041
--- 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
old mode 100644
new mode 100755
index dade90a..b6251ec
--- 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 long)
# @ stub NtQuerySystemEnvironmentValueEx
@ stdcall NtQuerySystemInformation(long long long long)
@ stdcall NtQuerySystemTime(ptr)
More information about the wine-patches
mailing list