DebugActiveProcessStop function (debugapi.h)

Stops the debugger from debugging the specified process.

Syntax

BOOL DebugActiveProcessStop(
  [in] DWORD dwProcessId
);

Parameters

[in] dwProcessId

The identifier of the process to stop debugging.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header debugapi.h (include Windows.h)
Library Kernel32.lib
DLL Kernel32.dll

See also

DebugActiveProcess

Debugging Functions

Debugging a Running Process

Process Functions for Debugging