IDebugControl::GetBreakpointById method

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

Syntax


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

Parameters

Id [in]

Specifies the breakpoint ID of the breakpoint to return.

Bp [out]

Receives the breakpoint.

Return value

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

Return codeDescription
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

Target platform

Desktop

Header

Dbgeng.h (include Dbgeng.h)

See also

IDebugControl
IDebugControl2
IDebugControl3
IDebugBreakpoint

 

 

Send comments about this topic to Microsoft

Show: