IDebugClient::DetachProcesses method (dbgeng.h)

The DetachProcesses method detaches the debugger engine from all processes in all targets, resuming all their threads.

Syntax

HRESULT DetachProcesses();

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

The targets must be running on Windows XP or a later version of Windows.

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

Requirements

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

See also

.detach (Detach from Process)

AttachProcess

CreateProcessAndAttach2

DetachCurrentProcess

IDebugClient

IDebugClient2

IDebugClient3

IDebugClient4

IDebugClient5

TerminateProcesses