<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">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>