RtlCreateUserProcess

RtlCreateUserProcess is a Native API function that create a new process. It can be used to run a native application. This function is exported from ntdll.dll.
Syntax
<source lang="cpp">
NTSTATUS NTAPI RtlCreateUserProcess(PUNICODE_STRING ImagePath,
ULONG ObjectAttributes,
PRTL_USER_PROCESS_PARAMETERS ProcessParameters,
PSECURITY_DESCRIPTOR ProcessSecurityDescriptor,
PSECURITY_DESCRIPTOR ThreadSecurityDescriptor,
HANDLE ParentProcess,
BOOLEAN InheritHandles,
HANDLE DebugPort,
HANDLE ExceptionPort,
PRTL_USER_PROCESS_INFORMATION ProcessInformation);
</source>
Usage
Before calling this function, the caller must first initialize the <code>RTL_USER_PROCESS_PARAMETERS</code> structure by calling <code>RtlCreateProcessParameters</code> function.
 
< Prev   Next >