IDebugControl::GetInterrupt method (dbgeng.h)
The GetInterrupt method checks whether a user interrupt was issued.
Syntax
HRESULT GetInterrupt();
Return value
Return code | Description |
---|---|
|
The method was successful and an interrupt has been requested. |
|
The method was successful and an interrupt was not requested. |
This method may also return error values. See Return Values for more details.
Remarks
If a user interrupt was issued, it is cleared when this method is called.
Examples of user interrupts include pressing Ctrl+C or pressing the Stop button in a debugger. Calling SetInterrupt also causes a user interrupt.
Note It is recommended that debugger extensions call GetInterrupt while undertaking long tasks.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |