All threads created with CreateThread are 32-bit threads.

This commit is contained in:
Ulrich Weigand 1999-03-27 16:19:00 +00:00 committed by Alexandre Julliard
parent 293dbdb324
commit 4cf15118eb
1 changed files with 1 additions and 0 deletions

View File

@ -297,6 +297,7 @@ HANDLE WINAPI CreateThread( SECURITY_ATTRIBUTES *sa, DWORD stack,
int handle = -1;
THDB *thread = THREAD_Create( PROCESS_Current(), flags, stack, TRUE, sa, &handle );
if (!thread) return INVALID_HANDLE_VALUE;
thread->teb.flags |= TEBF_WIN32;
thread->entry_point = start;
thread->entry_arg = param;
thread->startup = THREAD_Start;