[NDK][RTL] Make the Name argument in RtlQueryEnvironmentVariable_U const.
authorMark Jansen <mark.jansen@reactos.org>
Sat, 13 May 2017 17:26:59 +0000 (17:26 +0000)
committerMark Jansen <mark.jansen@reactos.org>
Sat, 13 May 2017 17:26:59 +0000 (17:26 +0000)
svn path=/trunk/; revision=74534

reactos/sdk/include/ndk/rtlfuncs.h
reactos/sdk/lib/rtl/env.c

index 9878369..30b61ed 100644 (file)
@@ -2967,7 +2967,7 @@ NTSTATUS
 NTAPI
 RtlQueryEnvironmentVariable_U(
     _In_opt_ PWSTR Environment,
-    _In_ PUNICODE_STRING Name,
+    _In_ PCUNICODE_STRING Name,
     _Out_ PUNICODE_STRING Value
 );
 
index 2db9755..6bca141 100644 (file)
@@ -508,7 +508,7 @@ found:
  */
 NTSTATUS NTAPI
 RtlQueryEnvironmentVariable_U(PWSTR Environment,
-                              PUNICODE_STRING Name,
+                              PCUNICODE_STRING Name,
                               PUNICODE_STRING Value)
 {
    NTSTATUS Status;