CWinThread* AfxBeginThread( AFX_THREADPROC pfnThreadProc, // ワーカースレッドの制御関数へのポインタ LPVOID pParam, // 制御関数に渡すパラメータ int nPriority = THREAD_PRIORITY_NORMAL, UINT nStackSize = 0, DWORD dwCreateFlags = 0, LPSECURITY_ATTRIBUTES lpSecurityAttrs = NULL );
CWinThread* AfxBeginThread(
CRuntimeClass* pThreadClass, // CWinThreadから派生したオブジェクトの、RUNTIME_CLASS
int nPriority = THREAD_PRIORITY_NORMAL,
UINT nStackSize = 0,
DWORD dwCreateFlags = 0,
LPSECURITY_ATTRIBUTES lpSecurityAttrs = NULL
);
AfxBeginThread | MSDN