The AbandonCurrentProcess method removes the current process from the debugger engine's process list without detaching or terminating the process.
HRESULT AbandonCurrentProcess( );
This method has no parameters.
This method may also return error values. See Return Values for more details.
||The method was successful.|
This method is only available for live user-mode debugging. The target must be running on Windows XP or a later version of Windows.
Windows will continue to consider this process as being debugged, and so the process will remain suspended. This method allows the debugger to be shut down and a new debugger to attach to the process. See Live User-Mode Targets and Re-attaching to the Target Application for more information.
|Header||dbgeng.h (include Dbgeng.h)|