=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: ntdll: Add stub for NtQuerySystemEnvironmentValueEx.

Alexandre Julliard julliard at winehq.org
Wed Jun 6 15:35:18 CDT 2012


Module: wine
Branch: master
Commit: 04201096a26dc85d4ef4b70c8df20e30790d9761
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=04201096a26dc85d4ef4b70c8df20e30790d9761

Author: André Hentschel <nerv at dawncrow.de>
Date:   Tue Jun  5 19:32:37 2012 +0200

ntdll: Add stub for NtQuerySystemEnvironmentValueEx.

---

 dlls/ntdll/env.c      |   12 +++++++++++-
 dlls/ntdll/ntdll.spec |    2 +-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/env.c b/dlls/ntdll/env.c
index 91ad6bc..a5bdf0f 100644
--- a/dlls/ntdll/env.c
+++ b/dlls/ntdll/env.c
@@ -42,7 +42,17 @@ NTSYSAPI NTSTATUS WINAPI NtQuerySystemEnvironmentValue(PUNICODE_STRING VariableN
                                                        ULONG ValueBufferLength,
                                                        PULONG RequiredLength)
 {
-    FIXME("stub!\n");
+    FIXME("(%s, %p, %u, %p), stub\n", debugstr_us(VariableName), Value, ValueBufferLength, RequiredLength);
+    return STATUS_NOT_IMPLEMENTED;
+}
+
+/******************************************************************************
+ *  NtQuerySystemEnvironmentValueEx		[NTDLL.@]
+ */
+NTSYSAPI NTSTATUS WINAPI NtQuerySystemEnvironmentValueEx(PUNICODE_STRING name, LPGUID vendor,
+                                                         PVOID value, PULONG retlength, PULONG attrib)
+{
+    FIXME("(%s, %s, %p, %p, %p), stub\n", debugstr_us(name), debugstr_guid(vendor), value, retlength, attrib);
     return STATUS_NOT_IMPLEMENTED;
 }
 
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
index 65fd405..8de353f 100644
--- a/dlls/ntdll/ntdll.spec
+++ b/dlls/ntdll/ntdll.spec
@@ -266,7 +266,7 @@
 @ stdcall NtQuerySemaphore (long long ptr long ptr)
 @ stdcall NtQuerySymbolicLinkObject(long ptr ptr)
 @ stdcall NtQuerySystemEnvironmentValue(ptr ptr long ptr)
-# @ stub NtQuerySystemEnvironmentValueEx
+@ stdcall NtQuerySystemEnvironmentValueEx(ptr ptr ptr ptr ptr)
 @ stdcall NtQuerySystemInformation(long long long long)
 @ stdcall NtQuerySystemTime(ptr)
 @ stdcall NtQueryTimer(ptr long ptr long ptr)




More information about the wine-cvs mailing list