[PATCH] Fix for bug 48773 adding empty implementation of RtlQueryEnvironmentVariable
Nikolay Sivov
bunglehead at gmail.com
Mon Apr 27 02:20:33 CDT 2020
On Mon, Apr 27, 2020 at 9:55 AM Alon Barzilai <alon at skylinesoft.com> wrote:
>
>
> +
> +/******************************************************************
> + * RtlQueryEnvironmentVariable [NTDLL.@]
> + *
> + */
> +NTSTATUS WINAPI RtlQueryEnvironmentVariable(PWSTR env,
> + PWSTR name,
> + size_t name_length,
> + PWSTR value,
> + size_t value_length,
> + PSIZE_T return_length)
> +{
> + FIXME("RtlQueryEnvironmentVariable not implemented\n");
> + return STATUS_VARIABLE_NOT_FOUND;
> +}
>
Hi,
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.
We have some tests for _U function, additional test could go there as well.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200427/dcd4de36/attachment.htm>
More information about the wine-devel
mailing list