CWinThread::ResumeThread

Called to resume execution of a thread that was suspended by the SuspendThread member function, or a thread created with the CREATE_SUSPENDED flag.

DWORD ResumeThread( );

Возвращаемое значение

The thread's previous suspend count if successful; 0xFFFFFFFF otherwise. If the return value is zero, the current thread was not suspended. If the return value is one, the thread was suspended, but is now restarted. Any return value greater than one means the thread remains suspended.

Заметки

The suspend count of the current thread is reduced by one. If the suspend count is reduced to zero, the thread resumes execution; otherwise the thread remains suspended.

Требования

Header: afxwin.h

См. также

Основные понятия

CWinThread Class

CWinThread Members

Hierarchy Chart

ResumeThread

CWinThread::m_bAutoDelete

AfxBeginThread