Undocumented functions of NTDLL

2OOO, 3 December


RtlSetCurrentEnvironment
RtlSetCurrentEnvironment

NTSYSAPI 
VOID
NTAPI

RtlSetCurrentEnvironment(
IN PVOID NewEnvironment, OUT PVOID *OldEnvironment OPTIONAL );



NewEnvironment
Pointer to newly created environment block.

OldEnvironment
Return pointer to previous environment block. You should release it by call RtlDestroyEnvironment.



Documented by:
Tomasz Nowak
Reactos



Requirements:
Library: ntdll.lib


See also:
RtlCreateEnvironment
RtlDestroyEnvironment