Debugging Tools for Windows

TerminateProcesses

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

HRESULT
  IDebugClient::TerminateProcesses(
    );

Parameters

None

Return Value

S_OK
The method was successful.

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

Interface Version

TerminateProcesses is available in all versions of IDebugClient.

Comments

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

Headers: Defined in dbgeng.h. Include dbgeng.h.

See Also

AttachProcess, CreateProcessAndAttach2, TerminateCurrentProcess, DetachProcesses, .kill (Kill Process)

Build machine: CAPEBUILD