Undocumented functions of NTDLL

2OOO, 2 December


RtlCreateUserThread
RtlCreateUserThread

NTSYSAPI 
NTSTATUS
NTAPI

RtlCreateUserThread(
IN HANDLE ProcessHandle, IN PSECURITY_DESCRIPTOR SecurityDescriptor OPTIONAL, IN BOOLEAN CreateSuspended, IN ULONG StackZeroBits, IN OUT PULONG StackReserved, IN OUT PULONG StackCommit, IN PVOID StartAddress, IN PVOID StartParameter OPTIONAL, OUT PHANDLE ThreadHandle, OUT PCLIENT_ID ClientID );


StackZeroBits
How many older bits must be clear while allocating thread stack. See INITIAL_TEB.

StartAddress
Thread start routine address.




Documented by:
Reactos
Tomasz Nowak



Requirements:
Library: ntdll.lib


See also:
INITIAL_TEB
NtCreateThread
NtTerminateThread