Commit 4cf15118 authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard

All threads created with CreateThread are 32-bit threads.

parent 293dbdb3
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment