#ifndef _NTRTL_H
NTSYSAPI
NTSTATUS
NTAPI
RtlQueryEnvironmentVariable_U(
_In_opt_ PVOID Environment,
_In_ PUNICODE_STRING Name,
_Inout_ PUNICODE_STRING Value
);
View code on GitHub
Pointer to environment block. If NULL, current environment is used.