Debug Command 11 - Freeze Thread Command
Parameters
Pid
If Tid is zero, all debuggee threads will be frozen.
Returns
The desired threads are prevented from executing user code on a DBG_C_Go or DBG_C_SStep command.
By using the DBG_C_Freeze and DBG_C_Resume commands, a given set of threads can be executed at once, while keeping the other threads suspended.
No error is returned if the thread was previously frozen; it just remains frozen. DBG_C_Freeze and DBG_C_Resume commands cannot be nested.
If the Tid is specified as zero, it will be set to the thread ID of the debuggee thread most recently scheduled to execute.