Partager via


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

Reference

CWinThread Class

Hierarchy Chart

CWinThread::ResumeThread

SuspendThread