参数:
 start_address
 
Start address of a routine that begins execution of a new thread. For _beginthread, the calling convention is either __cdecl or __clrcall; for _beginthreadex, it is either__stdcall or __clrcall.对于_beginthread,调用约定 是__cdecl或__clrcall; 对于_beginthreadex,则是either__stdcall或__clrcall。
 stack_size
 
Stack size for a new thread or 0.
 arglist
 
Argument list to be passed to a new thread or NULL.
 security
 
Pointer to a SECURITY_ATTRIBUTES structure that determines whether the returned handle can be inherited by child processes. If NULL, the handle cannot be inherited. Must be NULL for Windows 95 applications.
 initflag
 
Initial state of a new thread (0 for running or CREATE_SUSPENDED for suspended); use ResumeThread to execute the thread.
 thrdaddr
 
Points to a 32-bit variable that receives the thread identifier. Might be NULL, in which case it is not used.
2._endthread, _endthreadex
例子:
 
 输出:
一些比较具体的例子:
 http://hi.baidu.com/qinpc/blog/item/5aaa8b54918e541b3a2935ee.html
 
http://www.cppblog.com/mzty/archive/2007/07/25/28756.html