IDebugClient2::TerminateProcesses method

The TerminateProcesses method attempts to terminate all processes in all targets.

Syntax

HRESULT TerminateProcesses(

);

Parameters

This method has no parameters.

Return Value

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

Return code Description
S_OK
The method was successful.

Remarks

Only live user-mode processes are terminated by this method. For other targets, the target is detached from the debugger without terminating.

For more information about creating and attaching to live user-mode targets, see Live User-Mode Targets.

Requirements

   
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)

See Also

.kill (Kill Process)

AttachProcess

CreateProcessAndAttach2

DetachProcesses

IDebugClient

IDebugClient2

IDebugClient3

IDebugClient4

IDebugClient5

TerminateCurrentProcess