Share via


DebugActiveProcessStop (Compact 2013)

3/28/2014

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

See Also

Reference

Debugging Functions
OpenProcess