#ifndef _NTRTL_H
/**
* The RtlCreateProcessParameters routine creates and initializes a process parameters block for a new process.
*
* \param ProcessParameters Receives the newly allocated process parameters block.
* \param ImagePathName The image path name of the process.
* \param DllPath An optional DLL search path.
* \param CurrentDirectory An optional current directory.
* \param CommandLine An optional command line.
* \param Environment An optional environment block for the process.
* \param WindowTitle An optional window title.
* \param DesktopInfo An optional desktop information string.
* \param ShellInfo An optional shell information string.
* \param RuntimeData An optional runtime data string.
* \return NTSTATUS Successful or errant status.
*/
NTSYSAPI
NTSTATUS
NTAPI
RtlCreateProcessParameters(
_Out_ PRTL_USER_PROCESS_PARAMETERS *ProcessParameters,
_In_ PCUNICODE_STRING ImagePathName,
_In_opt_ PCUNICODE_STRING DllPath,
_In_opt_ PCUNICODE_STRING CurrentDirectory,
_In_opt_ PCUNICODE_STRING CommandLine,
_In_opt_ PVOID Environment,
_In_opt_ PCUNICODE_STRING WindowTitle,
_In_opt_ PCUNICODE_STRING DesktopInfo,
_In_opt_ PCUNICODE_STRING ShellInfo,
_In_opt_ PCUNICODE_STRING RuntimeData
);
View code on GitHubNo description available.