Jump to navigation Jump to search
Resumes a previously suspended thread. ResumeThread is used as part of several injection techniques.
DWORD WINAPI ResumeThread( _In_ HANDLE hThread );
- hThread [in]
- A handle to the thread to be restarted.
- This handle must have the THREAD_SUSPEND_RESUME access right.
If the function succeeds, the return value is the thread's previous suspend count.
If the function fails, the return value is (DWORD) -1. To get extended error information, call GetLastError.