#ifndef _NTRTL_H
NTSYSAPI
NTSTATUS
NTAPI
RtlDestroyEnvironment(
_In_ _Post_invalid_ PVOID Environment
);
View code on GitHub
/*
* RTL forward symbol typedefs
*
* This file is part of System Informer.
*/
#ifndef _NTRTL_FWD_H
// Note: ntdll symbols and exports define these forwarders:
// begin_forwarders
#ifndef PHNT_INLINE_FREE_FORWARDERS
//#define RtlDeleteSecurityObject(ObjectDescriptor) RtlFreeHeap(RtlProcessHeap(), 0, *(ObjectDescriptor))
//FORCEINLINE
//NTSTATUS
//RtlDeleteSecurityObject(
// _Inout_ PSECURITY_DESCRIPTOR *ObjectDescriptor
// )
//{
// RtlFreeHeap(RtlProcessHeap(), 0, *ObjectDescriptor);
// return STATUS_SUCCESS;
//}
//#define RtlDestroyEnvironment(Environment) RtlFreeHeap(RtlProcessHeap(), 0, (Environment))
FORCEINLINE
NTSTATUS
NTAPI
RtlDestroyEnvironment(
_In_ _Post_invalid_ PVOID Environment
)
{
RtlFreeHeap(RtlProcessHeap(), 0, Environment);
return STATUS_SUCCESS;
}
View code on GitHub
Pointer to allocated environment block.