#ifndef _NTRTL_H
NTSYSAPI
NTSTATUS
NTAPI
RtlSetCurrentEnvironment(
_In_ PVOID Environment,
_Out_opt_ PVOID *PreviousEnvironment
);
View code on GitHub
Pointer to newly created environment block.
Return pointer to previous environment block. You should release it by call RtlDestroyEnvironment
.