Freigeben über


CWinThread::SuspendThread

Increments the current thread's suspend count.

DWORD SuspendThread( );

Return Value

The thread's previous suspend count if successful; 0xFFFFFFFF otherwise.

Remarks

If any thread has a suspend count above zero, that thread does not execute. The thread can be resumed by calling the ResumeThread member function.

Requirements

Header: afxwin.h

See Also

Concepts

CWinThread Class

CWinThread Members

Hierarchy Chart

CWinThread::ResumeThread

SuspendThread