INtime SDK Help
ResumeThread, RtResumeThread (iwin32)
INtime SDK v6 > About INtime > Alternate APIs > iwin32 API > iwin32 API > ResumeThread, RtResumeThread (iwin32)

Decrements a thread's suspend count.

DWORD ResumeThread(
    HANDLE hThread
);

DWORD RtResumeThread(
    HANDLE hThread
);

Parameters

hThread
Specifies a handle for the thread to resume.

Remarks

This function checks the subject thread's suspend count.

If the suspend count is zero, the thread does not suspend. Otherwise, the subject thread's suspend count decrements. If the resulting value is zero, the subject thread's execution resumes.

Return Values

Thread's previous suspend count
Success.
0xFFFFFFFF
Failure. For extended error information, see GetLastError.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/iwin32.h
intime/rt/include/winbase.h
iwin32.h
windows.h
iwin32.lib

Notes

See Also

SuspendThread, iwin32 API, iwin32 Overview