RtlDestroyProcessParameters - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

/**
 * The RtlDestroyProcessParameters routine releases the memory used by a process parameters block created by RtlCreateProcessParameters.
 *
 * \param ProcessParameters A pointer to the process parameters block to destroy.
 * \return NTSTATUS Successful or errant status.
 * \remarks Releases the compatible process-heap parameter allocation. It does not terminate a process, close arbitrary inherited handles or free caller-owned inputs independently. Do not install the allocation as live process state and then destroy it while another thread may still use it.
 */
NTSYSAPI
NTSTATUS
NTAPI
RtlDestroyProcessParameters(
    _In_ _Post_invalid_ PRTL_USER_PROCESS_PARAMETERS ProcessParameters
    );

#endif

View code on GitHub

NtDoc

No description available.