Share via


DkmThread.RaiseExecutionControlException(UInt32) Method

Definition

API which may be called from a IDkmSingleStepCompleteReceived or IDkmRuntimeBreakpointReceived implementation to force the base DM to fire the EXCEPTION_BREAKPOINT or EXCEPTION_SINGLE_STEP exception in the target process when execution is resumed. Normally, the breakpoint or single step exception is implicitly suppressed. This allows the EXCEPTION_BREAKPOINT/EXCEPTION_SINGLE_STEP to be handled by exception handlers within the target process. This API will fail if the thread is not currently sitting at a step complete or breakpoint event.

Location constraint: API must be called from a Monitor component (component level < 100,000).

public:
 void RaiseExecutionControlException(System::UInt32 ExceptionCode);
public:
 void RaiseExecutionControlException(unsigned int ExceptionCode);
void RaiseExecutionControlException(unsigned int ExceptionCode);
public void RaiseExecutionControlException (uint ExceptionCode);
member this.RaiseExecutionControlException : uint32 -> unit
Public Sub RaiseExecutionControlException (ExceptionCode As UInteger)

Parameters

ExceptionCode
UInt32

[In] Win32 exception code to raise. Currently, this must be EXCEPTION_BREAKPOINT or EXCEPTION_SINGLE_STEP.

Applies to