CWinThread::ResumeThread
This method resumes execution of a thread that was suspended by the SuspendThread method, or of a thread that was created with the CREATE_SUSPENDED flag. 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.
DWORD ResumeThread( );
Return Value
The previous suspend count of the thread 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.
Requirements
** Windows CE versions:** 1.0 and later
Header file: Declared in Afxwin.h
Platform: H/PC Pro, Palm-size PC, Pocket PC