|
// *********************************************************
// スレッドの作成
// 戻り値 : true 成功, false 失敗
// *********************************************************
BOOL LboxThread::Create( HWND hWnd, LPTHREAD_START_ROUTINE lpAddress )
{
if ( this->hThread != NULL ) {
return false;
}
this->hThread = CreateThread(
NULL,
0,
lpAddress,
(LPVOID)hWnd,
0,
&(this->ThreadID)
);
if ( this->hThread == NULL ) {
return false;
}
return true;
}
| |