#ifndef _NTRTL_H
/**
* The RtlSetEnvironmentStrings routine replaces the environment block of the current process with the specified environment strings.
*
* \param NewEnvironment A pointer to the new environment block, consisting of null-terminated name=value strings terminated by an additional null character.
* \param NewEnvironmentSize The size, in bytes, of the new environment block.
* \return NTSTATUS Successful or errant status.
*/
NTSYSAPI
NTSTATUS
NTAPI
RtlSetEnvironmentStrings(
_In_ PCWSTR NewEnvironment,
_In_ SIZE_T NewEnvironmentSize
);
View code on GitHubNo description available.