IDkmThreadSuspension Interface

Definition

Called to suspend or resume a thread and to obtain the current thread suspension count.

Implementations of this interface may restrict when they are called using a filter defined in their component configuration. The following properties may be used: BaseDebugMonitorId, EngineId, TransportKind.

C++/CX
public interface class IDkmThreadSuspension

Methods

GetDebuggerSuspensionCount(DkmThread)

Return the total number of suspensions caused by the debugger (i.e. calls to DkmThread::Suspend without a call to DkmThread::Resume). This excludes any suspensions external to the debugger.

GetSuspensionCount(DkmThread, Boolean)

Return the current suspension count of this thread.

Resume(DkmThread, Boolean)

Resume this thread.

Suspend(DkmThread, Boolean)

Suspend this thread.

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022