DebugActiveProcessStop function

Stops the debugger from debugging the specified process.

Syntax

BOOL DebugActiveProcessStop(
  DWORD dwProcessId
);

Parameters

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

   
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