2OOO, 2 December
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 );
How many older bits must be clear while allocating thread stack. See INITIAL_TEB.
Thread start routine address.