PWINDBG_CHECK_CONTROL_C callback function (wdbgexts.h)

The PWINDBG_CHECK_CONTROL_C (CheckControlC) function checks to see if the user pressed CTRL+C. Use PWINDBG_CHECK_CONTROL_C in all loops to allow the user to press CTRL+C to end long processes.

Syntax

PWINDBG_CHECK_CONTROL_C PwindbgCheckControlC;

ULONG PwindbgCheckControlC()
{...}

Return value

If the user has pressed CTRL+C, the return value is TRUE; otherwise, it is FALSE.

Remarks

If you are writing a WdbgExts extension, include wdbgexts.h. If you are writing a DbgEng extension that calls this function, include wdbgexts.h before dbgeng.h (see Writing DbgEng Extension Code for details).

Requirements

Requirement Value
Target Platform Desktop
Header wdbgexts.h (include Wdbgexts.h, Dbgeng.h)