Partager via


ICorDebugManagedCallback::ControlCTrap Method

Notifies the debugger that a CTRL+C is trapped in the process that is being debugged.

HRESULT ControlCTrap (
    [in] ICorDebugProcess *pProcess
);

Parameters

  • pProcess
    [in] A pointer to an ICorDebugProcess object that represents the process in which the CTRL+C is trapped.

Return Value

HRESULT

Description

S_OK

The debugger will handle the CTRL+C trap.

S_FALSE

The debugger will not handle the CTRL+C trap.

Remarks

All application domains within the process are stopped for this callback.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

ICorDebugManagedCallback Interface