DebugActiveProcessStop

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function stops the debugger from debugging the specified process.

Syntax

BOOL DebugActiveProcessStop (
  DWORD dwProcessId
);

Parameters

Parameter Description

dwProcessId

A process identifier or a handle returned from the OpenProcess function.

Return Value

To get extended error information, call GetLastError.

Remarks

This function should reply to all the pending debug events in the queue, invalidate and close the queue, and return to the debugger. After this function executes, the target process continues execution as if there is no attached debugger and no further debug events are generated during the execution the target process.

Requirements

Header winbase.h
Library coredll.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

OpenProcess