Debugging Tools for Windows

GetInterrupt

The GetInterrupt method checks whether a user interrupt was issued.

HRESULT
  IDebugControl::GetInterrupt(
    );

Parameters

None

Return Value

S_OK
The method was successful and an interrupt has been requested.
S_FALSE
The method was successful and an interrupt was not requested.

This method may also return error values. See Return Values for more details.

Interface Version

GetInterrupt is available in all versions of IDebugControl.

Comments

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.

This method can be called at any time and from any thread.

Requirements

Headers: Defined in Dbgeng.h. Include Dbgeng.h.

See Also

SetInterrupt

Build machine: CAPEBUILD