SuspendThread
The SuspendThread function suspends the specified thread.
DWORD SuspendThread(
HANDLE hThread // handle to thread
);
ResumeThread
The ResumeThread function decrements a thread's suspend count. When the suspend count is decremented to zero, the execution of the thread is resumed.
DWORD ResumeThread(
HANDLE hThread // handle to thread
);