6 uintptr_t CDECL
_beginthreadex(
9 unsigned (__stdcall
*start_address
)(void*),
17 * Just call the API function. Any CRT specific processing is done in
18 * DllMain DLL_THREAD_ATTACH
20 NewThread
= CreateThread ( security
, stack_size
,
21 (LPTHREAD_START_ROUTINE
)start_address
,
22 arglist
, initflag
, (PULONG
)thrdaddr
);
23 if (NULL
== NewThread
)
25 _dosmaperr( GetLastError() );
28 return (uintptr_t) NewThread
;
35 void CDECL
_endthreadex(unsigned retval
)
38 * Just call the API function. Any CRT specific processing is done in
39 * DllMain DLL_THREAD_DETACH