#include "ntrtlp.h"
#include <nturtl.h>
#include <string.h>
#include "init.h"
#include "ntos.h"
Go to the source code of this file.
Defines | |
#define | ROUND_UP(x, y) ((ULONG)(x) + ((y)-1) & ~((y)-1)) |
#define | ISTERMINALSERVER() (USER_SHARED_DATA->SuiteMask & (1 << TerminalServer)) |
#define | RtlpNormalizeProcessParam(Base, p) |
#define | RtlpDeNormalizeProcessParam(Base, p) |
Functions | |
VOID | RtlpCopyProcString (IN OUT PWSTR *pDst, OUT PUNICODE_STRING DestString, IN PUNICODE_STRING SourceString, IN ULONG DstAlloc OPTIONAL) |
NTSTATUS | RtlpOpenImageFile (IN PUNICODE_STRING ImagePathName, IN ULONG Attributes, OUT PHANDLE FileHandle, IN BOOLEAN ReportErrors) |
NTSTATUS | RtlpFreeStack (IN HANDLE Process, IN PINITIAL_TEB InitialTeb) |
NTSTATUS | RtlpCreateStack (IN HANDLE Process, IN SIZE_T MaximumStackSize OPTIONAL, IN SIZE_T CommittedStackSize OPTIONAL, IN ULONG ZeroBits OPTIONAL, OUT PINITIAL_TEB InitialTeb) |
NTSTATUS | RtlCreateProcessParameters (OUT PRTL_USER_PROCESS_PARAMETERS *ProcessParameters, IN PUNICODE_STRING ImagePathName, IN PUNICODE_STRING DllPath OPTIONAL, IN PUNICODE_STRING CurrentDirectory OPTIONAL, IN PUNICODE_STRING CommandLine OPTIONAL, IN PVOID Environment OPTIONAL, IN PUNICODE_STRING WindowTitle OPTIONAL, IN PUNICODE_STRING DesktopInfo OPTIONAL, IN PUNICODE_STRING ShellInfo OPTIONAL, IN PUNICODE_STRING RuntimeData OPTIONAL) |
NTSTATUS | RtlDestroyProcessParameters (IN PRTL_USER_PROCESS_PARAMETERS ProcessParameters) |
PRTL_USER_PROCESS_PARAMETERS | RtlNormalizeProcessParams (IN OUT PRTL_USER_PROCESS_PARAMETERS ProcessParameters) |
PRTL_USER_PROCESS_PARAMETERS | RtlDeNormalizeProcessParams (IN OUT PRTL_USER_PROCESS_PARAMETERS ProcessParameters) |
NTSTATUS | RtlCreateUserProcess (IN PUNICODE_STRING NtImagePathName, IN ULONG Attributes, IN PRTL_USER_PROCESS_PARAMETERS ProcessParameters, IN PSECURITY_DESCRIPTOR ProcessSecurityDescriptor OPTIONAL, IN PSECURITY_DESCRIPTOR ThreadSecurityDescriptor OPTIONAL, IN HANDLE ParentProcess OPTIONAL, IN BOOLEAN InheritHandles, IN HANDLE DebugPort OPTIONAL, IN HANDLE ExceptionPort OPTIONAL, OUT PRTL_USER_PROCESS_INFORMATION ProcessInformation) |
NTSTATUS | RtlCreateUserThread (IN HANDLE Process, IN PSECURITY_DESCRIPTOR ThreadSecurityDescriptor OPTIONAL, IN BOOLEAN CreateSuspended, IN ULONG ZeroBits OPTIONAL, IN SIZE_T MaximumStackSize OPTIONAL, IN SIZE_T CommittedStackSize OPTIONAL, IN PUSER_THREAD_START_ROUTINE StartAddress, IN PVOID Parameter OPTIONAL, OUT PHANDLE Thread OPTIONAL, OUT PCLIENT_ID ClientId OPTIONAL) |
VOID | RtlFreeUserThreadStack (HANDLE hProcess, HANDLE hThread) |
|
Definition at line 34 of file rtlexec.c. Referenced by RtlCreateUserProcess(). |
|
|
|
Value:
Definition at line 388 of file rtlexec.c. Referenced by RtlDeNormalizeProcessParams(). |
|
Value:
Definition at line 383 of file rtlexec.c. Referenced by RtlNormalizeProcessParams(). |
|
Definition at line 110 of file rtlexec.c. References CommandLine, CurrentDirectory, L, NT_SUCCESS, NTSTATUS(), NULL, ROUND_UP, RtlAcquirePebLock(), RtlDeNormalizeProcessParams(), RtlDestroyProcessParameters(), RtlpCopyProcString(), RtlReleasePebLock(), and Status. Referenced by SepServerSpawnClientProcess().
|
|
Definition at line 813 of file rtlexec.c. References DebugPort, File, ISTERMINALSERVER, L, NT_SUCCESS, NTSTATUS(), NULL, ObjectAttributes, RtlCreateUserThread(), RtlGetNtGlobalFlags(), RtlInitUnicodeString(), RtlpOpenImageFile(), Status, TRUE, and Unicode. Referenced by main(), and SepServerSpawnClientProcess().
|
|
Definition at line 1241 of file rtlexec.c. References DbgPrint, InitialTeb, NT_SUCCESS, NTSTATUS(), NULL, ObjectAttributes, RtlInitializeContext(), RtlpCreateStack(), RtlpFreeStack(), Status, ThreadClientId, ThreadContext, and ThreadHandle. Referenced by DbgSsInitialize(), InitWindowsStuff(), ProcessHardErrorRequest(), RtlCreateUserProcess(), RtlpStartThread(), RtlQueryProcessDebugInformation(), UdbgTest1(), UdbgTest2(), UserServerDllInitialization(), W32WinStationDoConnect(), and WinStationAPIInit().
|
|
Definition at line 444 of file rtlexec.c. References NULL, and RtlpDeNormalizeProcessParam. Referenced by RtlCreateProcessParameters().
|
|
Definition at line 365 of file rtlexec.c. References NTSTATUS(), and Status. Referenced by RtlCreateProcessParameters(), and SepServerSpawnClientProcess().
|
|
Definition at line 1385 of file rtlexec.c. References NT_SUCCESS, NtFreeVirtualMemory(), NtQueryInformationThread(), NtReadVirtualMemory(), NTSTATUS(), NULL, Size, and Status.
|
|
Definition at line 395 of file rtlexec.c. References NULL, and RtlpNormalizeProcessParam. Referenced by LdrpInitializeProcess().
|
|
Definition at line 83 of file rtlexec.c. References DestString, NULL, ROUND_UP, SourceString, and USHORT. Referenced by RtlCreateProcessParameters().
|
|
Definition at line 539 of file rtlexec.c. References DbgPrint, FALSE, InitialTeb, NT_SUCCESS, NTSTATUS(), NULL, ROUND_UP, RtlImageNtHeader(), Status, and TRUE. Referenced by RtlCreateUserThread().
|
|
Definition at line 783 of file rtlexec.c. References DbgPrint, InitialTeb, NT_SUCCESS, NTSTATUS(), Status, and Zero. Referenced by RtlCreateUserThread().
|
|
Definition at line 493 of file rtlexec.c. References DbgPrint, File, NT_SUCCESS, NTSTATUS(), NULL, ObjectAttributes, Status, and ZwOpenFile(). Referenced by RtlCreateUserProcess().
|