<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-charset-is-forced="true">
<p><font face="David">I can use the current implementation if the </font><font face="David">RtlQueryEnvironmentVariable_U. <br>
</font></p>
<p><font face="David">should I submit it as incremental patch or a
new patch?</font></p>
<p><font face="David"><br>
</font></p>
<p><font face="David">Alon.</font><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 4/27/2020 10:20 AM, Nikolay Sivov
wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAG4Z_JKOdedNVSN6cCrs01dyoFM7gePhbJ6X3jTXRydCyJ90Ow@mail.gmail.com">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Apr 27, 2020 at 9:55
AM Alon Barzilai <<a href="mailto:alon@skylinesoft.com" moz-do-not-send="true">alon@skylinesoft.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"><br>
<br>
+<br>
+/******************************************************************<br>
+ * RtlQueryEnvironmentVariable [NTDLL.@]<br>
+ *<br>
+ */<br>
+NTSTATUS WINAPI RtlQueryEnvironmentVariable(PWSTR env,<br>
+ PWSTR name,<br>
+ size_t
name_length,<br>
+ PWSTR value,<br>
+ size_t
value_length,<br>
+ PSIZE_T
return_length)<br>
+{<br>
+ FIXME("RtlQueryEnvironmentVariable not implemented\n");<br>
+ return STATUS_VARIABLE_NOT_FOUND;<br>
+}<br>
</blockquote>
<div><br>
</div>
<div>Hi,</div>
<div><br>
</div>
<div>This could be a wrapper over _U function of the same
name, you'll need to pack buffers as UNICODE_STRINGs, and
handle returned length.</div>
<div><br>
</div>
<div>We have some tests for _U function, additional test could
go there as well. </div>
</div>
</div>
</blockquote>
</body>
</html>