DkmThread.Suspend(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Suspend this thread.
public:
System::UInt32 Suspend(bool InternalSuspension);
public:
unsigned int Suspend(bool InternalSuspension);
unsigned int Suspend(bool InternalSuspension);
public uint Suspend (bool InternalSuspension);
member this.Suspend : bool -> uint32
Public Function Suspend (InternalSuspension As Boolean) As UInteger
Parameters
- InternalSuspension
- Boolean
[In] Pass true if this suspension should be hidden in calls to GetSuspensionCount. This is useful for internal suspensions that should not be reported to the user such as thread slippage suspensions.
Returns
[Out,Optional] The previous number of suspensions for this thread minus the ones internal to the debugger.