IDebugControl3::GetBreakpointById method (dbgeng.h)

The GetBreakpointById method returns the breakpoint with the specified breakpoint ID.

Syntax

HRESULT GetBreakpointById(
  [in]  ULONG             Id,
  [out] PDEBUG_BREAKPOINT *Bp
);

Parameters

[in] Id

Specifies the breakpoint ID of the breakpoint to return.

[out] Bp

Receives the breakpoint.

Return value

This method can also return other error values. See Return Values for more details.

Return code Description
S_OK
The method was successful.
E_NOINTERFACE
No breakpoint was found with the given ID, or the breakpoint with the specified ID does not belong to the current process, or the breakpoint with the given ID is private (see GetFlags).

Remarks

If the specified breakpoint does not belong to the current process, the method will fail.

Requirements

Requirement Value
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)

See also

IDebugBreakpoint

IDebugControl

IDebugControl2

IDebugControl3