Author: mjansen
Date: Sat May 13 17:26:59 2017
New Revision: 74534
URL:
http://svn.reactos.org/svn/reactos?rev=74534&view=rev
Log:
[NDK][RTL] Make the Name argument in RtlQueryEnvironmentVariable_U const.
Modified:
trunk/reactos/sdk/include/ndk/rtlfuncs.h
trunk/reactos/sdk/lib/rtl/env.c
Modified: trunk/reactos/sdk/include/ndk/rtlfuncs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/ndk/rtlfuncs.h…
==============================================================================
--- trunk/reactos/sdk/include/ndk/rtlfuncs.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/ndk/rtlfuncs.h [iso-8859-1] Sat May 13 17:26:59 2017
@@ -2967,7 +2967,7 @@
NTAPI
RtlQueryEnvironmentVariable_U(
_In_opt_ PWSTR Environment,
- _In_ PUNICODE_STRING Name,
+ _In_ PCUNICODE_STRING Name,
_Out_ PUNICODE_STRING Value
);
Modified: trunk/reactos/sdk/lib/rtl/env.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/rtl/env.c?rev=7453…
==============================================================================
--- trunk/reactos/sdk/lib/rtl/env.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/rtl/env.c [iso-8859-1] Sat May 13 17:26:59 2017
@@ -508,7 +508,7 @@
*/
NTSTATUS NTAPI
RtlQueryEnvironmentVariable_U(PWSTR Environment,
- PUNICODE_STRING Name,
+ PCUNICODE_STRING Name,
PUNICODE_STRING Value)
{
NTSTATUS Status;