cwinthread* afxapi
afxbeginthread(
afx_threadproc pfnthreadproc,建立的新執行緒名字 也就是乙個執行緒的標示
lpvoid pparam,傳遞進上面執行緒的內容 比如乙個結構體
以下常使用系統預設的引數
int npriority = thread_priority_normal, 優先順序
uint nstacksize = 0 棧大小
dword dwcreateflags = 0建立標識
lpsecurity_attributes lpsecurityattrs = null安全屬性
MFC全域性函式 AfxBeginThread
函式功能描述 建立新的執行緒 函式原型 cwinthread afxbeginthread afx threadproc pfnthreadproc,lpvoid pparam,int npriority thread priority normal,uint nstacksize 0,dword ...
MFC全域性函式 AfxBeginThread
cwinthread afxbeginthread cruntimeclass pthreadclass,int npriority thread priority normal,uint nstacksize 0,dword dwcreateflags 0,lpsecurity attribute...
MFC全域性函式 AfxBeginThread
函式原型 cwinthread afxbeginthread afx threadproc pfnthreadproc,lpvoid pparam,int npriority thread priority normal,uint nstacksize 0,dword dwcreateflags 0...