Debugging Tools for Windows

DetachProcesses

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

HRESULT
  IDebugClient::DetachProcesses(
    );

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

DetachProcesses is available in all versions of IDebugClient.

Comments

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

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

See Also

AttachProcess, CreateProcessAndAttach2, DetachCurrentProcess, TerminateProcesses, .detach (Detach from Process)

Build machine: CAPEBUILD